You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.modeldriven.fuml/README.md
+42-46Lines changed: 42 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,29 @@ Corporation funded project with Model Driven Solutions (a division of Data
13
13
Access Technologies) in 2008. The objectives for making this reference
14
14
implementation open source are to:
15
15
16
-
a) encourage tool vendors to implement this standard in their tools
16
+
1. encourage tool vendors to implement this standard in their tools
17
17
18
-
b) provide a reference that can assist in evaluating vendor implementations
18
+
2. provide a reference that can assist in evaluating vendor implementations
19
19
conformance with the specification
20
20
21
-
c) encourage evolution of the reference implementation to support further
21
+
3. encourage evolution of the reference implementation to support further
22
22
enhancements to its functionality such as a model debugger, or animation of the
23
23
execution trace
24
24
25
-
d) support evaluation and evolution of the the specification to support UML
25
+
4. support evaluation and evolution of the the specification to support UML
26
26
execution semantics and the execution semantics of its profiles suchas SysML.
27
27
28
-
Licensing
29
-
---------
28
+
###Licensing
30
29
31
-
For licensing information, please see the file Licensing-Information.txt and the
32
-
associated files Common-Public-License-1.0.txt and Apache-License-2.0.txt.
30
+
For licensing information, please see the file [Licensing-Information.txt](https://github.com/ModelDriven/fUML-Reference-Implementation/blob/master/org.modeldriven.fuml/Licensing-Information.txt) and the
31
+
associated files [Common-Public-License-1.0.txt](https://github.com/ModelDriven/fUML-Reference-Implementation/blob/master/org.modeldriven.fuml/Common-Public-License-1.0.txt) and [Apache-License-2.0.txt](https://github.com/ModelDriven/fUML-Reference-Implementation/blob/master/org.modeldriven.fuml/Apache-License-2.0.txt).
33
32
34
-
Building
35
-
--------
33
+
###Building
36
34
37
35
The implementation build requires the following to be installed:
38
36
39
-
Oracle Java Version 6 or above - see http://java.oracle.com/
40
-
Apache Maven Version 2.2 or above - see http://maven.apache.org/
37
+
* Oracle Java Version 6 or above - see http://java.oracle.com/
38
+
* Apache Maven Version 2.2 or above - see http://maven.apache.org/
41
39
42
40
To build from the command line:
43
41
@@ -46,8 +44,8 @@ implementation directory.
46
44
This directory is where the Apache Maven 'pom.xml' file can be found.
47
45
48
46
2. Use the following command:
49
-
50
-
mvn -DskipTests install
47
+
48
+
mvn -DskipTests install
51
49
52
50
Several targets will be executed, and the message 'BUILD SUCCESSFUL' should
53
51
be displayed. Generated and compiled code can be found under the 'target'
@@ -56,31 +54,30 @@ directory.
56
54
To build using Eclipse:
57
55
The implementation build requires Eclipse Kepler or above with the M2E plugin and dependencies:
58
56
59
-
1.) Start Eclipse
57
+
1. Start Eclipse
60
58
61
-
2.) Import the Maven project into Eclipse
62
-
File->Import->Existing Maven Projects
63
-
Select <Next> and for the "root directory" select the parent directory for the pom.xml file.
64
-
The project should be imported successfully
59
+
2. Import the Maven project into Eclipse
60
+
* File->Import->Existing Maven Projects
61
+
*Select Next and for the "root directory" select the parent directory for the pom.xml file.
62
+
*The project should be imported successfully.
65
63
66
-
3.) Run the tests
67
-
Right click the project root (fuml)
68
-
->Run As->Maven test
64
+
3. Run the tests
65
+
* Right click the project root (fuml)
66
+
*Run As->Maven test
69
67
70
-
4.) Install
71
-
Right click the project root (fuml)
72
-
->Run As->Maven install
68
+
4. Install
69
+
* Right click the project root (fuml)
70
+
*Run As->Maven install
73
71
74
-
Testing
75
-
-------
72
+
###Testing
76
73
77
74
1. In a Windows/DOS command window, navigate to the 'root' reference
78
-
implementation directory. This directory is where the Apache Ant 'build.xml'
75
+
implementation directory. This directory is where the Apache Maven 'pom.xml'
79
76
file can be found.
80
77
81
78
2. Use the following command:
82
79
83
-
mvn test
80
+
mvn test
84
81
85
82
The test output can be found in the 'target/surefire-reports'
86
83
directory.
@@ -89,45 +86,44 @@ directory.
89
86
Testing individual JUnit tests in Eclipse:
90
87
91
88
1. Right-click on any file under the 'src/test/java' folder with a filename ending in
92
-
'TestCase' or 'Test' and select Run As->JUnit Test. The test should execute and
93
-
display output.
94
-
89
+
'TestCase' or 'Test'
90
+
2. Run As->JUnit Test.
91
+
3. The test should execute and display output.
95
92
96
-
Deploying
97
-
---------
93
+
###Deploying
98
94
99
95
1. In a Windows/DOS command window, navigate to the 'root' reference
100
-
implementation directory. This directory is where the Apache Ant 'build.xml'
96
+
implementation directory. This directory is where the Apache Maven 'pom.xml'
101
97
file can be found.
102
98
103
99
2. Use the following command:
104
100
105
-
mvn install
101
+
mvn install
106
102
107
103
A binary deployment 'zip' file will be created and expanded onto the current
108
104
drive's root directory. The deployment directory will be called:
109
105
'fuml-[version string]-distribution'
110
106
111
-
112
-
113
-
Running
114
-
-------
107
+
###Running
115
108
116
109
1. In a Windows/DOS command window, navigate to the 'bin' directory for the
117
110
DEPLOYED implementation. The implementation can only be run from a DEPLOYED
118
111
binary or source distribution (see above).
119
112
120
-
2. To load a UML model file (XMI 2.1 format) and execute one or more behaviors
113
+
2. To load a UML model file (XMI 2.1 or 2.4.1/2.5 format) and execute one or more behaviors
0 commit comments