[Issue 6417] Build using wiki instructions fail - works from within Eclipse
| Newsgroups | gmane.comp.lang.uml.argouml.issues |
|---|---|
| Message-ID | <[email protected]> |
http://argouml.tigris.org/issues/show_bug.cgi?id=6417 ------- Additional comments from [email protected] Mon Mar 12 12:43:12 -0700 2012 ------- Looking back at the issue, I guess the problem is the class path. Because of how gef works (names/maps of classes instead of factories), it is not possible to load diagram objects that are not on the class path. If you build the core argouml ( svn co http://argouml.tigris.org/svn/argouml/trunk argouml ( cd argouml && ./build.sh install ) ) and all the modules you want ( for m in LIST_OF_MODULES do svn co http://$m.tigris.org/svn/$m/trunk $m ( cd $m && ant install ) done ) you end up with a file build/argouml.jar and the modules in build/ext/whatever.jar (not mentioning a lot of supporting jars). The file build/argouml.jar then has a class path that does not include the jars for the modules. The feature that we have implemented to solve this is a special build target that adds all modules' jars to the class path in argouml.jar. Run this feature with: ( cd argouml && ./build.sh update-argouml.jar-manifest ) After that you can start with java -jar argouml.jar to get an argouml that is started with all modules on the class path. The reason it works in Eclipse has everything on the class path when the project is started. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2934534 To unsubscribe from this list, e-mail: [[email protected]]. Please do not reply to this mail. Instead, add your comments in the issue.