gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
bump version string in the repo
[mjc2wsl.git] / build.xml
index fc76dd0..17ee30f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -64,7 +64,7 @@
     <property name="log.file.tests.m" value="${log.dir}/tests-mj" />
     <property name="log.file.tests.t" value="${log.dir}/tests-wsl" />
 
-    <property name="version.file" value="${res.dir}/version.properties" />
+    <property name="version.file" value="${res.dir}/com/quemaster/transformations/mjc2wsl/version.properties" />
 
     <!-- **************************************** -->
     <!-- patterns -->
               <attribute name="Main-Class" value="com.quemaster.transformations.mjc2wsl.mjc2wsl"/>
             </manifest>
             <fileset dir="${mjc2wsl.class.dir}"/>
-            <fileset dir="${res.dir}"/>
         </jar>
 
     </target>
     <target name="-store-version-string" if="version">
             <!-- store the new  version string in the correct property file -->
             <echo message="version=${version}"/>
+            <dirname file="${version.file}" property="version.file.dir"/>
+            <mkdir dir="${version.file.dir}" />
             <propertyfile file="${version.file}">
                     <entry key="version" value="${version}"/>
             </propertyfile>
 
     <target name="build" depends="init,update-version-string" description="build the mjc2wsl tool">
         <javac srcdir="${mjc2wsl.src.dir}" destdir="${mjc2wsl.class.dir}" includeAntRuntime='no' />
+        <copy todir="${mjc2wsl.class.dir}">
+            <fileset dir="${res.dir}"/>
+        </copy>
     </target>
 
     <target name="mjc2wsl">
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner