facebook

Prblem running XDoclet Build using External JRE [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #236416 Reply

    jcorbin4607
    Member

    Because 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.

    #236421 Reply

    Scott Anderson
    Participant

    J.D.

    You should be able to right-click on your project in the Package Explorer view and select MyEclipse > Run XDoclet.

    #236422 Reply

    jcorbin4607
    Member

    @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.

    #236426 Reply

    Scott Anderson
    Participant

    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…

    #236427 Reply

    jcorbin4607
    Member

    @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.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Prblem running XDoclet Build using External JRE [Closed]

You must be logged in to post in the forum log in