Ant build scripts, antcall, dependencies, etc?

I've got something similar set up: I have a main Ant build. Xml which calls a separate build. Xml that takes care of building my tests.

This is how I do it: target name="build-tests".

I've got something similar set up: I have a main Ant build. Xml which calls a separate build. Xml that takes care of building my tests.

This is how I do it: The trick is to use subant instead of antcall. You don't have to import the other build file.

Try using the "ant" task instead of the "antcall" task, which runs the imported build directly instead of importing it into the current build file. It has a "dir" parameter: the directory to use as a basedir for the new Ant project. Defaults to the current project's basedir, unless inheritall has been set to false, in which case it doesn't have a default value.

This will override the basedir setting of the called project. So you could do: or something like that.

You can pass params down to antcall using nested in the antcall block. So, you can pass the properties down that way (probably even basedir since properties are immutable).

I've got something similar set up: I have a main Ant build. Xml which calls a separate build. Xml that takes care of building my tests.

The trick is to use subant instead of antcall. You don't have to import the other build file.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions