Hi,
I'm using a package based structure, where each package has a target, like so:


<target name="a.b.c" depends="a.b,d.e">
 <run-test package="a/b/c" />
</target>

where run-test is a macrodef task that builds the package, then builds the tests for the package, then runs the tests. I'd like to avoid the obvious duplication. One idea is rather than the current:

>ant a.b.c

I could use something along the lines of:

>ant -Dpackage=a.b.c run-test

However I can't see how to do this and retain the explicit package-level dependencies. Any ideas?

Thanks
Jon Jagger



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



Reply via email to