Hi All,
In my topmost build.xml Iam doing below
<if>
<equals arg1="${product}" arg2="abcd"/>
<then>
<echo message="Build for the product abcd"/>
<ant antfile="build/esrst/build_abcd.xml" inheritAll="true" >
</ant>
</then>
<else>
<echo message="Build for the product xyz"/>
<echo message="Build for the product xyz" />
<ant antfile="build/ccp/build_xyz.xml" inheritAll="true" >
</ant>
</else>
</if>
Now I am invoking ant as below
ant -Dproduct=abcd javabuild deploy
It is executing build_abcd.xml but it only does 'deploy' its not calling
the first target that is 'javabuild'.
So my question is how can I pass javabuild and deploy to build_abcd.xml or
build_xyz.xml. can someone pleas help me out
thanks
Swayam