ontomde-demo-java5
by stephane (pierre) Carrie
http://ontomde.rubyforge.org/
== DESCRIPTION:
This is a demonstration project for our full-featured java5 code generator.
== FEATURES:
Open model.pdf to have an idea of supported UML constructs.
== SYNOPSIS:
=== INSTALLATION:
1) download and install a ruby distribution (>=1.8.6)
( http://rubyforge.org/frs/?group_id=167&release_id=17128 )
2) update ruby plateform
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem update --system
3) install ontomde
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem install ontomde
=== RUN DEMONSTRATION:
** ant generate
Generate javacode in src/main/java from model in src/main/model.
** ant compile
Compile code in src/main/java
** ant javadoc
Generate a javadoc in ./docs from code in src/main/java
Javadoc are linked to generated javadoc on rubyforge website.
** ant all
ant all is equivalent to ant generate compile
=== Create your own uml model
This is modeler dependent. Please refer to the section that applies:
====CREATE YOUR OWN UML MODEL (Objecteering users)
1) download and install export plugin for objecteering on ontomde.rubyforge.org
2) create a ontomde workproduct at the root of your project
3) select src/main/model/java5_demo.emx.nt as target for your workproduct.
4) run generate on your workproduct.
(this will update java5_demo.emx.nt file)
5) generate & compile project using initial method.
====CREATE YOUR OWN UML MODEL (Sparx system, XMI)
--> This featured is planned for Q2-2008
1) export your project as self-conainted XMI export file
== LICENSE:
Copyright (C) 2008 Orange-labs
38 rue General Leclerc
92130 ISSY LES MOULINEAUX, France
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
by stephane (pierre) Carrie
http://ontomde.rubyforge.org/
== DESCRIPTION:
This is a demonstration project for our full-featured java5 code generator.
== FEATURES:
Open model.pdf to have an idea of supported UML constructs.
== SYNOPSIS:
=== INSTALLATION:
1) download and install a ruby distribution (>=1.8.6)
( http://rubyforge.org/frs/?group_id=167&release_id=17128 )
2) update ruby plateform
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem update --system
3) install ontomde
$ set HTTP_PROXY=http://yourproxy:yourport (in case you need one)
$ gem install ontomde
=== RUN DEMONSTRATION:
** ant generate
Generate javacode in src/main/java from model in src/main/model.
** ant compile
Compile code in src/main/java
** ant javadoc
Generate a javadoc in ./docs from code in src/main/java
Javadoc are linked to generated javadoc on rubyforge website.
** ant all
ant all is equivalent to ant generate compile
=== Create your own uml model
This is modeler dependent. Please refer to the section that applies:
====CREATE YOUR OWN UML MODEL (Objecteering users)
1) download and install export plugin for objecteering on ontomde.rubyforge.org
2) create a ontomde workproduct at the root of your project
3) select src/main/model/java5_demo.emx.nt as target for your workproduct.
4) run generate on your workproduct.
(this will update java5_demo.emx.nt file)
5) generate & compile project using initial method.
====CREATE YOUR OWN UML MODEL (Sparx system, XMI)
--> This featured is planned for Q2-2008
1) export your project as self-conainted XMI export file
== LICENSE:
Copyright (C) 2008 Orange-labs
38 rue General Leclerc
92130 ISSY LES MOULINEAUX, France
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/.