Ant related plugin issues

Hi,
our Codename One plugin depends on Ant to perform the actual build. Two users reported to me two separate issues that I can't seem to reproduce myself but seem to origniate from within the Ant plugin.

The first user is reporting that after project creation he is faced with a dialog box pops up and says "registering ant build file ..." and never dismisses. This seems to originate from the AddAntBuildFile action and I'm not really sure how to help that user. He sent us a log which shows some exceptions that seem unrelated on startup but nothing else. This is with IntelliJ 12.


The second user reported this exception when building:
java.lang.OutOfMemoryError: Java heap space

        D:\workspace_IntlliJIDEA\Rich\build.xml:313: java.lang.OutOfMemoryError: Java heap space
 at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
 at org.apache.tools.ant.Task.perform(Task.java:348)
 at org.apache.tools.ant.Target.execute(Target.java:390)
 at org.apache.tools.ant.Target.performTasks(Target.java:411)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)


And provided the attached image, I'm not exactly sure why 128mb won't be enough for something like that though.


Thanks.



Attachment(s):
unnamed.png
4 comments
Comment actions Permalink

Hi Shai,
You can alter the xmx value in ant build file properties. In Ant toolwindow select the build file and press alt-Enter or invoke "Properties" action from the context popup menu.

0
Comment actions Permalink

Thanks, that does help the other issue is the main issue I'm still stuck on.


0
Comment actions Permalink

By the "main" issue you mean
"The first user is reporting that after project creation he is faced with a dialog box pops up and says "registering ant build file ...""?

0
Comment actions Permalink

Yes. I don't know how to begin debugging something like that and I can't reproduce it myself.

0

Please sign in to leave a comment.