- This topic has 4 replies, 2 voices, and was last updated 19 years, 2 months ago by jcorbin4607.
-
AuthorPosts
-
jcorbin4607MemberBecause our project has so many EJBs (don’t ask) we have to generate the ejb interfaces using xdoclet with an external JRE so we can increase the memory given to the JVM. To do this we had to modify the MyEclipse-Xdoclet settings under the EJB projects properties (to get MyEclipseIDE to generate an xdoclet_build.xml build file.
To run the ejbdoclet build using the external JRE I would (in MyEclipseIDE 3.8.4) right click on the generated build file, select run… from the right click menu, then configure the external jre settings and run. The right-click menu no longer has the run or run… menu so I cannot figure out how to generate the ejb interfaces using the MyEclipseIDE generated xdoclet_build.xml file.
I hope there is still a way to do this in 4.0. PLease advise.
J.D.
Scott AndersonParticipantJ.D.
You should be able to right-click on your project in the Package Explorer view and select MyEclipse > Run XDoclet.
jcorbin4607Member@support-scott wrote:
J.D.
You should be able to right-click on your project in the Package Explorer view and select MyEclipse > Run XDoclet.
Yeah, I can do that but that will use the internal JRE and I run out of memory. The whole point of generating the xdoclet-build.xml is so I could run in an external JRE to allocate more memory to the JVM and therefore the ANT process. This was a suggestion that came from the MyEclipse Support group when I had this problem in MyEclipse3.8.4.
J.D.
Scott AndersonParticipantThen you’ll need to navigate to the list of Ant content types at Window > Preferences > General > Content Types > Text > XML > Ant buildfile and add xdoclet-build.xml to the list with the Add button. Once you’ve done that you’ll be able to right-click on the file and select Run As… > Ant…
jcorbin4607Member@support-scott wrote:
Then you’ll need to navigate to the list of Ant content types at Window > Preferences > General > Content Types > Text > XML > Ant buildfile and add xdoclet-build.xml to the list with the Add button. Once you’ve done that you’ll be able to right-click on the file and select Run As… > Ant…
Scott,
That is what I needed. Thanks for your help.
j.D.
-
AuthorPosts