Nick Chalko wrote:
Looks like the standard cent properties are not set when the test.xml file is called.
Ok, I think i got it.
${junit.cent.build.dir} is set by a property interceptor. It seems that property interceptors are not passed down when a <ant> is called, even with inherit="all".
Since we pass down properties, IMHO we should pass down interceptors, no?
Nick, in the meantime let's just set another property ("normal property"), and see what our Ant friends have to say about it.
Oh, and also about <propertyset> to pass down sysproperties in junit, which is the first reason we resort to <ant> in this case.
test:
Created dir: C:\work\krysalis-template\smoke-test\build\smoketest\work\junit
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-200301
06.cent\resources\stylesheets\test.xsl
Duplicated project name in import. Project junit.cent defined first in c:\work\k
rysalis-centipede\tools\cents\junit-0.1.0-dev-20030106.cent\xbuild.xml and again
in C:\work\krysalis-template\smoke-test\build\smoketest\work\junit\test.xml
BUILD FAILED
file:///C:/work/krysalis-template/smoke-test/build/smoketest/work/junit/test.xml
:7: C:\work\krysalis-template\smoke-test\${junit.cent.build.dir}\classes not fou
nd.
Total time: 11 seconds
Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------
-- 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]>