Reputation: 3776
I have a bunch of java-projects, each project has a build.xml-file.
Now what I usually do is build project A and then deploy project A using a different build-xml file that's in another java-project.
Is there a nifty way of specifying what targets and what files I want to run, and in what particular order I want to run them?
Thanks!
Upvotes: 1
Views: 2195
Reputation: 2079
If you're using Eclipse, you can add Builders to your project A that will kick off the build and then the deployment. Go to the Properties -> Builders
for the project and you can create New...
ant builders that will invoke the targets using the ant build files that you specify. Then in the Builders
view you can specify the ordering to make sure the build is invoked before the deployment.
Upvotes: 1