forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject minor issue with upgraded Ant jars
Date Thu, 20 Jun 2002 09:22:02 GMT
I was going to update Forrest's Ant jars to ant-1.5Beta2,
but there is a small hitch ... or is there?

This used to work ...
./build.sh clean docs

But now this needs to be separate commands ...
./build.sh clean; ./build.sh docs

Is that a problem?

Here is the log if it means anything to anyone.
When using the separate commands there are no
warnings from the "init" target and then build is OK.

========================
[localhost xml-forrest]$ ./build.sh clean docs
Buildfile: build.xml

init:
     [echo]
--------------------------------------------------------------
     [echo] Setting up customized ant tasks...
     [echo] ... done.
     [echo]
--------------------------------------------------------------
     [echo]                       Forrest [2002]                   
     [echo]
--------------------------------------------------------------
     [echo] Building with Apache Ant version 1.5Beta2 compiled on May 31
2002
     [echo] using build file /usr/local/cvs/xml-forrest/build.xml
     [echo]
--------------------------------------------------------------

clean:
   [delete] Deleting directory
/usr/local/cvs/xml-forrest/build/xml-forrest

init:
     [echo]
--------------------------------------------------------------
     [echo] Setting up customized ant tasks...
Trying to override old definition of task user-input
Trying to override old definition of task xml-property
Trying to override old definition of task jtidy
Trying to override old definition of task class-available
Trying to override old definition of task compress-html
     [echo] ... done.

BUILD FAILED
java.lang.NullPointerException
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:70)
	at XmlPropertyTask.execute(XmlPropertyTask.java:102)
	at org.apache.tools.ant.Task.perform(Task.java)
	at org.apache.tools.ant.Task.perform(Task.java)
	at org.apache.tools.ant.Target.execute(Target.java)
	at org.apache.tools.ant.Target.performTasks(Target.java)
	at org.apache.tools.ant.Project.executeTarget(Project.java)
	at org.apache.tools.ant.Project.executeTargets(Project.java)
	at org.apache.tools.ant.Main.runBuild(Main.java)
	at org.apache.tools.ant.Main.start(Main.java)
	at org.apache.tools.ant.Main.main(Main.java)

Total time: 3 seconds
java.lang.NullPointerException
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:70)
	at XmlPropertyTask.execute(XmlPropertyTask.java:102)
	at org.apache.tools.ant.Task.perform(Task.java)
	at org.apache.tools.ant.Task.perform(Task.java)
	at org.apache.tools.ant.Target.execute(Target.java)
	at org.apache.tools.ant.Target.performTasks(Target.java)
	at org.apache.tools.ant.Project.executeTarget(Project.java)
	at org.apache.tools.ant.Project.executeTargets(Project.java)
	at org.apache.tools.ant.Main.runBuild(Main.java)
	at org.apache.tools.ant.Main.start(Main.java)
	at org.apache.tools.ant.Main.main(Main.java)
[localhost xml-forrest]$
========================



Mime
View raw message