ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <>
Subject java.lang.NullPointerException
Date Thu, 18 Nov 2010 19:15:35 GMT

This is a part of my script.

<target name="p4changes">		
		<exec executable="${P4HOME}\p4.exe" spawn="false" failonerror="true"
outputproperty="Version" >
			<arg value="changes"/> 
			<arg value="-m1"/>
			<arg value="${}"/>
   <antcall target="setversion"/>
<target name="setversion" >
	<echo message= "${Version}"/>
	<taskdef name="verup" classname="openworks.ant.UpdateVersion"/>
  <verup file=
Version="${Version}" />

I am getting the error when the script tries to exceute the line <verup
file= .....

C:\apache-ant-1.7.0\bin\changes.xml:34: java.lang.NullPointerException

Can anyone suggest what could be wrong?
View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message