I’m working on a blackberry project using eclipse and bb-ant tools. I’ve created a build.xml file to perform the build. Everytime I try to run an Ant build, eclipse pops up the progress dialog and it hangs stating “Waiting for virtual machine to exit.”
I downloaded an open source Blackberry project that has an ant build and it is showing the same behavior.
Does anyone have any suggestions?
Edit:
I used the command line to build my xml file and it built fine. However, when I tried from Eclipse it still hangs.
I’ve tried both the standard eclipse plugin directory and the path I downloaded ant to.
You could check if your
ANT_HOMEsettings are correct (see also this blog post)."Window > Preference > Ant > Runtime": “Ant Home Entries“.if the jars files are from a plugin directory (beside the default ‘
org.apache.ant_1.7.1.v20090120-1145‘ one) and not an independent ant installation, that might explain the problem.Try clicking the “
Ant Home” button on the right side and setting up ant home such as “C:\path\to\apache-ant-1.7.0“There are similar bugs to this kind of situation (bug 173419, ticket 91).
It is worth checking the JVM used for the project.
It can also occurs when a ant task is poorly implemented.