ANT returning properties from an externally called build -


I am currently trying to refactor some of our ANT scripts and what I have to do is they Kind of use in the shared area.

The goal on which I want to work now is the configuration. Both our scripts currently have the same code that loads into external properties and sets our classrooms.

What I have tried to do, is to move this target into another build script, which is the configuration. XML is called it and it's and antifile = "configuration.xml" & gt; Every script from is happening

What's going on though its goal is running but I can not tell how I can return values ​​to the original parent build script. Can I do this anyway?

I thought that another way was to create some kind of "base" script, which could have been obtained from the other two. I do not think this is ideal in the long run but this is an option which I thought I could try. Still, I can not get anything online to tell the ant to say this.

depending on which version of the ant you are using as available , But in & lt; Import file = "your-include.xml" option.

Here is an example of some imports, if it helps.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -