facebook

XDOCLET java.lang.OutOfMemoryError

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

    aminlalji
    Member

    Hi,

    I read a previous thread on this issue, and the fix specified does not seem to be an option for my environment.

    I am using:
    Eclipse SDK
    Version: 3.1.1
    Build id: M20050929-0840
    2 GB RAM
    j2sdk1.4.2_01

    When I right click the EJB project and select MyEclipse -> run xdoclet, the process launches and I get a java.lang.OutOfMemoryError.

    Per the previous posting fix, I can not find an option to Run an Ant Build (or External Tools) for that matter.

    Your help is appreciated.

    Thanks,
    Amin

    #240984 Reply

    Riyad Kalla
    Member

    Amin,
    If you edit your Xdoclet settings and set the generation to generate a file, you can then run that XDoclet file using the Run > External Tools menu, from there you can specify a new Ant build file and adjust the heap size for the script to run in.

    #241036 Reply

    aminlalji
    Member

    Thanks for the reply,

    I remember that fix in previous versions of ME… in the current version (on my system at least), right clicking the xdoclet-build.xml file only gives me the option to “Run As” ->”Run…”.

    The options I have are:

    Eclipse Application
    Java Applet
    Java Application
    Junit
    Junit Test Plugin
    SWT Application

    There are no “ANT” build options 🙁

    #241037 Reply

    Riyad Kalla
    Member

    Along your tool bar, directly to the right of your Run button, you should have your Run external tools button, from there you can add a new Ant build run target.

    #241039 Reply

    aminlalji
    Member

    GENIUS!!!!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: XDOCLET java.lang.OutOfMemoryError

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