aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT REQUIREMENT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT REQUIREMENT" Watch "ANT REQUIREMENT" New topic
Author

ANT REQUIREMENT

Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
Hello Ranchers,

I am having a requirement. I have some x number of ANT Scripts that i execute from my java program. My requirement is that, i have some common tags in ant script, which if I am able to change, it should change all the ant script auto. For eg. some external refrence of the tag.. is that possible? Or else, if there is a change in ant script, i have to go & change all the scripts manually...

please help


SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Sounds like you have some duplication in the scripts that is causing you problems when you need to change them?

Take a look at the import task to put those things into one single place.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ANT REQUIREMENT