Java: version numbering of library bumped
authorJani <jani@asema.com>
Mon, 5 Aug 2019 05:57:23 +0000 (08:57 +0300)
committerJani <jani@asema.com>
Mon, 5 Aug 2019 05:57:23 +0000 (08:57 +0300)
Common/Java/SmartAPI/build.xml

index b3acaf56a98c553d1dd3ebd3b72fc13bc376912a..b5e35ecf635b17b543e6e68080f4c7f517b7c453 100644 (file)
@@ -46,7 +46,7 @@
     <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/"
@@ -62,7 +62,7 @@
   </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>