gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
ant task, use hill climbing by default
[mjc2wsl.git] / build.xml
index 6f2572b..a9dac9f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -50,9 +50,9 @@
     <property name="samples.main.dir" value="samples" />
     <property name="samples.temp.dir" value="temp" />
 
-    <property name="transf.wsl.file" value="src-wsl/transf-min.wsl" />
+    <property name="transf.wsl.file" value="src-wsl/hill_climbing.wsl" />
     <property name="transf.wsl.ini" value="transf.ini" />
-    <property name="transf.wsl.ext" value="_t.wsl" />
+    <property name="transf.wsl.ext" value="_tr.wsl" />
     <!-- args can be used to send additional arguments to a script -->
     <property name="transf.wsl.args" value="" />
 
         </tstamp>
     </target>
 
-    <target name="all" depends='mj-samples,mjc2wsl-samples,wsl-transf-samples'
+    <target name="all" depends='mj-samples,mjc2wsl-samples,wsl-transf-samples,metrics-samples-compare-wsl'
         description="build the tools, run them on the samples to check">
 
     </target>
 
     <target name="wsl-transf"
         description="transform (simplify) a single wsl file generated by mjc2wsl">
-
+        <stopwatch name="transf-${transf.filename}" action="start"/>
         <antcall target="wsl-run">
             <param name="filename" value="${transf.wsl.file}" />
             <param name="args" value="${transf.wsl.args} ${transf.filename}" />
         </antcall>
+        <record name="${transf.filename}-time.txt" action="start" emacsmode="true"/>
+        <stopwatch name="transf-${transf.filename}" action="total"/>
+        <record name="${transf.filename}-time.txt" action="stop"/>
     </target>
 
     <target name="wsl-transf-samples" depends="init"
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner