gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemdiff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
<target name="mjc2wsl">
<echo message="${filename}" />
- <java classpath="${mjc2wsl.class.dir}:${res.dir}" classname="mjc2wsl">
+ <java classpath="${mjc2wsl.class.dir}:${res.dir}" classname="com.quemaster.transformations.mjc2wsl.mjc2wsl">
<arg line="${mjc2wsl.options}" />
<arg value="${filename}" />
</java>
<!-- Testing tasks -->
- <target name="test-run"
+ <target name="manual-test-run"
description="run .obj .wsl _t.wsl, given are ${file.dir}, ${file.name} (no extension) and an ${inputstring}">
- <antcall target="mj-run">
+ <record name="${file.dir}/${file.name}.out1" emacsmode="true" />
+ <antcall target="mj-run">
<param name="filename" value="${file.dir}/${file.name}.obj" />
<param name="inputstring" value="${inputstring}" />
</antcall>
+ <record name="${file.dir}/${file.name}.out1" action="stop" />
+ <record name="${file.dir}/${file.name}.out2" emacsmode="true" />
<antcall target="wsl-run">
<param name="filename" value="${file.dir}/${file.name}.wsl" />
<param name="inputstring" value="${inputstring}" />
</antcall>
+ <record name="${file.dir}/${file.name}.out2" action="stop" />
+ <record name="${file.dir}/${file.name}.out3" emacsmode="true" />
<antcall target="wsl-run">
<param name="filename" value="${file.dir}/${file.name}_t.wsl" />
<param name="inputstring" value="${inputstring}" />
</antcall>
+ <record name="${file.dir}/${file.name}.out3" action="stop" />
</target>
- <target name="test-run-samples-dir"
+ <target name="manual-test-run-samples-dir"
description="run .obj .wsl _t.wsl, in the samples-temp directory; given ${file.name} (no extension) and an ${inputstring}">
- <antcall target="test-run">
+ <antcall target="manual-test-run">
<param name="file.dir" value="${samples.temp.dir}"/>
</antcall>
</target>
-
+
+ <!-- output serveral versions of files -->
+
+ <target name="output-all-versions"
+ description="generate variations on the translations in the 'local' folder and tar them">
+ <antcall>
+ <target name="mj-samples"/>
+ <target name="mjc2wsl-samples"/>
+ <param name="samples.temp.dir" value="local/out/headTail-proc"/>
+ <param name="mjc2wsl.options" value=""/>
+ </antcall>
+ <antcall>
+ <target name="mj-samples"/>
+ <target name="mjc2wsl-samples"/>
+ <param name="samples.temp.dir" value="local/out/headTail-inline"/>
+ <param name="mjc2wsl.options" value="--genInlinePrint"/>
+ </antcall>
+ <antcall>
+ <target name="mj-samples"/>
+ <target name="mjc2wsl-samples"/>
+ <param name="samples.temp.dir" value="local/out/popPush-inline"/>
+ <param name="mjc2wsl.options" value="--genPopPush --genInlinePrint"/>
+ </antcall>
+ <antcall>
+ <target name="mj-samples"/>
+ <target name="mjc2wsl-samples"/>
+ <param name="samples.temp.dir" value="local/out/popPush-proc"/>
+ <param name="mjc2wsl.options" value="--genPopPush"/>
+ </antcall>
+ <antcall>
+ <target name="mj-samples"/>
+ <target name="mjc2wsl-samples"/>
+ <param name="samples.temp.dir" value="local/out/popPush-glob"/>
+ <param name="mjc2wsl.options" value="--genPopPush --genGlobalVars"/>
+ </antcall>
+ <tar basedir="local/out" compression="gzip"
+ destfile="local/mjc2wsl-samples.tgz"
+ includes="*/*.wsl"/>
+ </target>
+
<!-- jedit specific flags; needs to be the first or the last 10 lines
:noTabs=true:
-->