awips2/javaUtilities/build.wes2bridge.utility/ant/setup.xml
Steve Harris 969e7e6dfd 12.10.1-3 baseline
Former-commit-id: 1a94c1ca3674c8e4dbb8847de5190efe33da371c
2012-09-11 16:00:38 -05:00

32 lines
No EOL
1.1 KiB
XML

<project basedir=".">
<taskdef resource="net/sf/antcontrib/antlib.xml"
classpath="${basedir}/../build.wes2bridge.utility/lib/ant/ant-contrib-1.0b3.jar" />
<!-- The directory that the jar file will be placed in when it is finished. -->
<property name="destination.directory"
value="" />
<!-- The location of uframe-eclipse. -->
<property name="eclipse.directory" value="/opt/uframe-eclipse" />
<!-- Used to indicate if this is part of an rpm build. -->
<property name="rpm.build" value="false" />
<!-- Verify the a destination directory has been provided. -->
<if>
<equals arg1="${destination.directory}" arg2="" />
<then>
<fail message="Error: a destination directory has not been specified." />
</then>
</if>
<if>
<equals arg1="${rpm.build}" arg2="true" />
<then>
<var name="baseline.directory" value="${basedir}/../build.wes2bridge.utility/wes2bridge/tmp/plugins" />
<var name="bin.dir" value="@dot" />
</then>
<else>
<var name="baseline.directory" value="${basedir}/../" />
<var name="bin.dir" value="bin" />
</else>
</if>
</project>