AntNode wizard can't load build file
Brought to you by:
schnelle
I just installed AntRunner. I tried to edit settings
in AntNode wizard, but I got the following error trying
to load the project build file:
build.xml is not an ANT buildfile or the buildfile has
no targets!
Class org.apache.tools.ant.UnknownElement doesn't
support the "name" attribute.
My specs are: Win2K, JBuilder8, Ant 1.5.4, jdk1.4.2_01.
Any suggestions?
Logged In: YES
user_id=1115765
From the error message you provided I suspect it might
be helpful to check out Request-ID 986925 (which
is on a problem with the "Use Ant Parser" feature -
a problem that perhaps just exposes the same small
AntRunner 2.2 flaw you experienced - but in a different
situation)
That thread describes two slight changes to the
AntRunner 2.2 source code that may remove your
parsing problems, too.
Though those changes refer to AntRunner 2.2 interacting
with the current Ant release 1.6.2 (rather than 1.5.4),
it might make sense to consider trying a patched AntRunner.
---
(The sources for Ant 1.5.4 seem to be no longer available
from apache.org - I didn't find them - so unfortunately
I can't really promise the patch will work in your
environment...)
Logged In: YES
user_id=192116
It worked for me and I added the lines to the CVS. Another
pre release, containing this fix will be out end of next week.
/dirk