Hi,
Runtarget seems to sometimes fail when using parallel:
Other than using antcall is there a fix?
BUILD FAILED
Desktop\build.xml:11:
java.lang.NullPointerException
java.lang.NullPointerException
Could not create task of type: echo
java.lang.NullPointerException
<?xml version="1.0" encoding="UTF-8"?>
<project>
<path id="lib.path">
<fileset dir="xxx" includes="**/*.jar"/>
</path>
<!-- External tasks. -->
<taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="lib.path"/>
<target name="hi">
<echo message="Hello3!"/>
</target>
<target name="test">
<parallel threadCount="8">
<runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" />
<runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" /><runtarget
target="hi" /><runtarget target="hi" /><runtarget target="hi" />
</parallel>
</target>
</project>
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]