Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <property name="Version" value="" />
- <target name="checksoftwareversion1.1">
- <condition property="version1.1">
- <if>
- <endswith string="${Version}" with="1.1" />
- <then>
- <echo message="Version is ${Version}" />
- </then>
- </if>
- </condition>
- </target>
- <target name="checksoftwareversion1.2">
- <condition property="version1.2">
- <if>
- <endswith string="${Version}" with="1.2" />
- <then>
- <echo message="Version is ${Version}" />
- </then>
- </if>
- </condition>
- </target>
- <target name="runA" if="version1.1">
- </target>
- <target name="runB" if="version1.2">
- </target>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement