Handling hundreds of dependencies with ant
Posted
by Roberto
on Stack Overflow
See other posts from Stack Overflow
or by Roberto
Published on 2010-05-05T23:42:08Z
Indexed on
2010/05/05
23:48 UTC
Read the original article
Hit count: 206
Hi guys, I have to refactor an ant xml file. Basicly I have one big task that checkouts (using cvs) a lot of dependencies, build them, and then copy all the jar/wsdl generated by building them to a directory that I specify. If one dependency version changes, I have to change the name in at least 3 places on the xml file (cvs checkout, build, copy).
What I'd like to have is just a single place where I can specify my dependencies name, without having to search & replace the dependency name through the code.
One of the problems is that the cvs project could be /path1/path2/project with tag=v12 but then the jars generated by the single project build could be several with different names, so it seems to be a bit complicated.
Do you have any idea on how I can get this done?
© Stack Overflow or respective owner