<pathelement location="lib/spin-2.0.0.jar"/>
</path>
<target name ="jar" description="Create a jar for the smartapi project" depends='compile'>
- <jar jarfile="dist/smartapi.jar" includes="**/**" excludes="*.class" basedir="smartapi/"/>
+ <jar jarfile="dist/SmartAPI-1.0.2.jar" includes="**/**" excludes="*.class" basedir="smartapi/"/>
</target>
<target name ="compile" description="Compile smartapi code">
<javac srcdir="src/" destdir="smartapi/"
</target>
<target name ="deploy" description="Deploy the Smart API to Tomcat" depends='jar'>
<property name="tomcat.local" value="/usr/share/tomcat" />
- <delete verbose='true' dir='${tomcat.local}/lib/smartapi.jar'/>
- <copy todir='${tomcat.local}/lib/' file='dist/smartapi.jar'/>
+ <delete verbose='true' dir='${tomcat.local}/lib/SmartAPI-1.0.2.jar'/>
+ <copy todir='${tomcat.local}/lib/' file='dist/SmartAPI-1.0.2.jar'/>
</target>
</project>