I'm a newbie with ANT. I have a ANT build.xml file in which I'm attempting to separate certain packages from different requirements of the built.
As an example, if I have a software which consists of packages A,B,C,D and E. I have customer whom are purchasing the software, but are not interested in the incorporating packages D and E. The customer is only interested in using packages A,B and C. At the same time, I have another customer who is interested in using the entire package of the software i.e. A ...E.
How do I implement flags in ANT to ensure that certain components are not accessible by the customers if they are not being purchased?
From the attached is my build.xml, I'm attempting to exclude the following targets(listed below) so that users could not access them if they have not purchased the software with these features:
<target name = “activeCollector>
<target name = “activeGUI>
<target name = “saagui>
From the build.xml, the final built would produce 2 *.jar files i.e.
Could anyone show me an example how I could implement flags in ANT prevent users from accessing certain packages within a software?