I've run some tests with the latest Ant on covalent, using the jakarta-poi project. These are to add to the NPE gotten with the Centipede smoketest Nick has reported and the "ant.file.projectname" missing.


Probably the smoketest problem and the junit compile one are related (inherits).


[build jakarta-poi] ------------------

Well, the compile target works:
http://gump.covalent.net/log/jakarta-poi.html


[build jakarta-poi interactive -debug] --------------------------------------

It fails, the last lines are (note that I have not entered anything to input, it did it all by itself):


+Task: input [input] Please select a target Setting project property: input.selection -> null

BUILD FAILED
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at org.apache.tools.ant.PropertyHelper.setNewProperty(PropertyHelper.java:372)
at org.apache.tools.ant.Project.setNewProperty(Project.java:408)
at org.apache.tools.ant.taskdefs.Input.execute(Input.java:156)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:184)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1244)
at org.apache.tools.ant.Project.executeTargets(Project.java:1188)
at org.apache.tools.ant.Main.runBuild(Main.java:614)
at org.apache.tools.ant.Main.start(Main.java:197)
at org.apache.tools.ant.Main.main(Main.java:235)


Total time: 18 seconds
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at org.apache.tools.ant.PropertyHelper.setNewProperty(PropertyHelper.java:372)
at org.apache.tools.ant.Project.setNewProperty(Project.java:408)
at org.apache.tools.ant.taskdefs.Input.execute(Input.java:156)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:184)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1244)
at org.apache.tools.ant.Project.executeTargets(Project.java:1188)
at org.apache.tools.ant.Main.runBuild(Main.java:614)
at org.apache.tools.ant.Main.start(Main.java:197)
at org.apache.tools.ant.Main.main(Main.java:235)



[build jakarta-poi test -debug] -------------------------------

It fails, the last lines are (maybe inheritrefs is not working properly?):

BUILD FAILED
file:///data/gump/krysalis-centipede/tools/cents/junit-0.1.0-beta3.cent/xbuild.xml:52: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.
at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:109)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:841)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:681)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:184)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1244)
at org.apache.tools.ant.Project.executeTargets(Project.java:1188)
at org.apache.tools.ant.Main.runBuild(Main.java:614)
at org.apache.tools.ant.Main.start(Main.java:197)
at org.apache.tools.ant.Main.main(Main.java:235)


--
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to