gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
ant build - task to make transf-ini, and to run transf-min.wls on everything generate...
authorDoni Pracner <quinnuendo@gmail.com>
Mon, 11 Nov 2013 19:29:53 +0000 (20:29 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Mon, 11 Nov 2013 19:29:53 +0000 (20:29 +0100)
build.xml

index cfd9ea24aa4d57f8aa2c8bffb70b2fb707582af5..a8ae864a6cdd26109e24b7ed8023ac29e9d3ec7f 100644 (file)
--- a/build.xml
+++ b/build.xml
         </exec>
     </target>
     
+    <target name="wsl-transf" depends="make-transf-ini"
+        description="transform (simplify) the wsl files generated by mjc2wsl">
+        <antcall target="wsl-run">
+            <param name="filename" value="src-wsl/transf-min.wsl" />
+        </antcall>
+    </target>
+    
+    <target name="make-transf-ini">
+        <fileset dir="${samples.temp.dir}" casesensitive="no" id="generated-wsl-fileset">
+                <patternset id="non.test.sources">
+                    <include name="**/*.wsl"/>
+                    <exclude name="**/*_t.wsl"/>
+                </patternset>
+        </fileset>
+        <pathconvert pathsep="${line.separator}" property="generated-wsl-files" refid="generated-wsl-fileset">
+            
+        </pathconvert>
+
+        <echo file="transf.ini">${generated-wsl-files}</echo>
+    </target>
+    
     <target name="all" depends='mj-samples,mjc2wsl-samples' description="build the tools, run them on the samples to check">
     
     </target>
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner