Running the latest version of Centipede, I get this when I do the smoketest.

test:
Processing C:\work\krysalis-template\smoke-test\properties.xml to C:\work\krysal
is-template\smoke-test\build\smoketest\work\junit\test.xml
Loading stylesheet C:\work\krysalis-centipede\tools\cents\junit-0.1.0-dev-200212
30.cent\resources\stylesheets\test.xsl


BUILD FAILED
java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.Ant.copyReference(Ant.java:470)
at org.apache.tools.ant.taskdefs.Ant.addReferences(Ant.java:455)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:370)
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)



This is caused by this build.xml block

<!-- Perform jUnit tests. Add the junit.cent.extra.sysproperty elements in
properties.xml to add sys properties. -->
<target name="test"
description="Perform jUnit tests. Add the junit.cent.extra.sysproperty
elements in properties.xml to add sys properties."
depends="compile, compile-junit, test-init">
<property name="testcase" value=""/>
<!-- create property file to be used by junit cent -->
<xslt in="properties.xml" out="${junit.cent.work.dir}/test.xml"
style="${junit.cent.dir}/resources/stylesheets/test.xsl"
force="true">
<param name="testcase" expression="${testcase}"/>
</xslt>
<ant antfile="${junit.cent.work.dir}/test.xml" inheritRefs="true"/>
</target>



NOTE the inheritRefs="true"


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



Reply via email to