IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes Target depending on target in another build Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Target depending on target in another build" Watch "Target depending on target in another build" New topic
Author

Target depending on target in another build

Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
Can a target depend on a target from another build xml file? If so, what is the syntax?

Thanks,
Mark
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11945
You can probably do something like this:


Author of Test Driven (Manning Publications, 2007) [Blog] [HowToAskQuestionsOnJavaRanch]
Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
Thanks, that works fine.
 
 
subject: Target depending on target in another build
 
Threads others viewed
Consolidating two or three ant file
ejb link
Problem with ArrayList !!!!!
build not found
Multiple files deployment
Two Laptop Bag