posted 10 years ago
Hi,
I am using Ant version 1.9.4.
I have a build-standard-targets.xml which gets imported into the build.xml for a number of projects - cars, bicycles and buses.
The build-standard-targets.xml has a target "generate-from-wsdl" which gets ran if the
condition of presence of a wsdl directory in "C:/resource" is met.
Below is a snippet of what I have.
This conditional behaviour needs to be changed such that the target "generate-from-wsdl"
is ran if the wsdl is present AND if build.xml is that of the Cars project ONLY.
So we don't need to ran this for the other projects ie bicycles and buses.
Any suggestion as to how I can modify the behaviour to met the new condition behaviour would be veyr much appreciated.
Thank you for your help.
Pete
build-standard-targets.xml
build.xml for Cars project
build.xml for Bicycles project
build.xml for Buses project