so I have project thats in the end has to be tested and deployed on server. I'm using Ant as runner.
I have few "build.xml"s, one with compilation targets, other with making JAR, another with deploying/redeploying application targets and so on.
For testing purposes, that is "for myself, to look how it's working" I merged all "build.xml"s altogether and made some changes inside for all process from compilation to deployment to be launched by 1 target.But now, in real task, I should have different build.xmls.
I was thinking about including all xml's in one by using <import> Ant task, but I need to be able to launch different targets from that file. For example, "compile" in one time and "deploy" other time, they shouldnt be connected (triggered).
Is it possible to select somehow target before running or I have to create different build configurations, or maybe there are some walkarounds?
Any help is greatly appreciated.
Thanks in advance.