[Anthill] dependency.artifact.dir deletion

Adam Duffy aduffy at cs.may.ie
Wed Sep 29 12:44:48 CDT 2004


Hi,

Was wondering if someone could tell me if the contents of the directory for
build artifacts - the directory with the property name
"dependency.artifact.dir" - should be deleted after a Dependency Group has
been run regardless of success or failure?

To explain (names have been changed to protect the guilty):
I have a dependency group named BigBadBuild which builds three projects
SmallProjectA, SmallProjectB and SmallProjectC. Suppose SmallProjectA is
dependent on SmallProjectB and SmallProjectC.

First build:
So I get Anthill to build SmallProjectC jar file named
SmallProjectC<some_version_number>.jar, i.e. SmallProjectC123.jar
And then to build SmallProjectB jar file named
SmallProjectB<some_version_number>.jar, i.e. SmallProjectB564.jar
And then SmallProjectA uses SmallProjectB564.jar and SmallProjectC123.jar
And then it bundles it all up in a zip or tar file with contents:
1. SmallProjectA853.jar
2. SmallProjectB564.jar
3. SmallProjectC123.jar

Second build:
Suppose <some_version_number> has been incremented...
Same steps as before ending up with bundle
1. SmallProjectA854.jar
2. SmallProjectB564.jar
3. SmallProjectB565.jar
4. SmallProjectC123.jar
5. SmallProjectC124.jar

Because I'm sucking the contents out of the dependency artifact directory.

Am I abusing some poor feature which was never intended do that in the first
place?

Thanks for your time (and patience in reading this),
Adam




More information about the Anthill mailing list