It is important to respect the following 3 rules in order to enjoy the full power of EclipseUML 2007 for JEE modelers.
I have not changed it the first time that I used this jee build, and my eclipse has been crashing every 5 minutes
1. Don't forget to change your eclipse.ini file.
My file is as below and it works well:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:PermSize=512m
-Djava.home=H:\pgm\jdk1.5\jre\
2. You should change your eclipse Java Compiler and select JDK 5 or JDK 6. Don't select JRE
To avoid such a painfull problem, we recommend to change it if it is possible. Go to the eclipse menu bar select Window > Preferences > Java > Compiler compliance 5.0 (see quick start documentation at: http://www.ejb3.org/forum_pictures/jee_ ... ration.png
3. You could also add your Jee server in order to have a good jee code generation and immediate deployment for testing. EclipseUML 2007 is so flexible that you can just play with your model and have a look at the results
To add a new server, go to go to the eclipse menu bar select Window > Preferences > Server > Installed Runtimes
I use JBoss 4.2 and I needed to downnload JBoss 4.2 from: http://downloads.sourceforge.net/jboss/ ... g_mirror=1
and to unzip this file. I have then selected the jboss-'.2.2.GA in the New server Runtime wizard and fill up the the Application Server directory field.
(see quick start documentation at: http://www.ejb3.org/forum_pictures/server_setup.png
This JEE build is just amazing, and the power of both the Model driven development and the Eclipse plugins approaches delivers incredible results
Vlad VARNICA
OMONDO
Milton Keynes - UK