projekti pod git sistemom za održavanje verzija -- projects under
the git version control system
1 <project name=
"mjc2wsl" default=
"all">
3 Builder script for mjc2wsl and related tools, runs tests
7 <!-- use this file for any custom local needs -->
8 <property file=
"custom.properties"/>
9 <property environment=
"env"/>
11 <!-- try and detect the fermat.dir based on the operating system
12 should be set as a custom value in "custom.properties"
13 if it's in a non default location.
15 <condition property=
"fermat.dir" value=
"C:\fermat3">
16 <os family=
"windows" />
19 <condition property=
"fermat.dir" value=
"${user.home}/fermat3">
20 <not><os family=
"windows" /></not>
23 <property name=
"java.encoding" value=
"utf-8" />
24 <taskdef resource=
"net/sf/antcontrib/antlib.xml"/>
26 <!-- **************************************** -->
27 <!-- main variables that can be altered in the
28 properties file or through command line switches.
30 <!-- **************************************** -->
32 <!-- when using multiple threads there is a problem with logging!-->
33 <property name=
"global.max.threads" value=
"1" />
35 <property name=
"mjc2wsl.class.dir" value=
"bin" />
36 <property name=
"mjc2wsl.src.dir" value=
"src" />
37 <property name=
"mjc2wsl.options" value=
"" />
39 <property name=
"res.dir" value=
"res" />
40 <property name=
"dist.dir" value=
"dist" />
42 <property name=
"compiler.class.jar" value=
"lib/mj.jar" />
43 <property name=
"compiler.class.dir" value=
"lib/compiler-bin" />
44 <property name=
"compiler.src.dir" value=
"lib/compiler-src" />
45 <property name=
"compiler.classname.compiler" value=
"MJ.Compiler" />
46 <property name=
"compiler.classname.interpreter" value=
"MJ.Run" />
47 <property name=
"compiler.classname.decoder" value=
"MJ.Decode" />
49 <property name=
"samples.main.dir" value=
"samples" />
50 <property name=
"samples.temp.dir" value=
"temp" />
52 <property name=
"transf.wsl.file" value=
"src-wsl/transf-min.wsl" />
53 <property name=
"transf.wsl.ini" value=
"transf.ini" />
54 <property name=
"transf.wsl.ext" value=
"_t.wsl" />
56 <property name=
"metrics.wsl.file" value=
"src-wsl/metrics.wsl" />
57 <property name=
"metrics.extension" value=
".met" />
59 <property name=
"tests.dir" value=
"tests" />
61 <property name=
"log.dir" value=
"logs" />
62 <property name=
"log.file.transformations" value=
"${log.dir}/transformations" />
63 <property name=
"log.file.mjc2wsl" value=
"${log.dir}/mjc2wsl" />
64 <property name=
"log.file.tests.m" value=
"${log.dir}/tests-mj" />
65 <property name=
"log.file.tests.t" value=
"${log.dir}/tests-wsl" />
67 <property name=
"version.file" value=
"${res.dir}/com/quemaster/transformations/mjc2wsl/version.properties" />
69 <!-- **************************************** -->
71 <!-- **************************************** -->
73 <patternset id=
"non.transformed.sources">
74 <include name=
"**/*.wsl"/>
75 <exclude name=
"**/*${transf.wsl.ext}"/>
78 <patternset id=
"transformed.sources">
79 <include name=
"**/*${transf.wsl.ext}"/>
82 <!-- **************************************** -->
83 <!-- general tasks -->
84 <!-- **************************************** -->
86 <target name=
"init" depends=
"init-time">
87 <mkdir dir=
"${mjc2wsl.class.dir}"/>
88 <mkdir dir=
"${compiler.class.dir}"/>
89 <mkdir dir=
"${samples.temp.dir}"/>
90 <mkdir dir=
"${log.dir}"/>
91 <mkdir dir=
"${dist.dir}"/>
92 <copy todir=
"${samples.temp.dir}">
93 <fileset dir=
"${samples.main.dir}">
94 <include name=
"*.mj"/>
99 <target name=
"init-time">
101 <format property=
"time" pattern=
"yy-MM-dd--HH-mm-ss"/>
105 <target name=
"all" depends='mj-samples,mjc2wsl-samples,wsl-transf-samples'
106 description=
"build the tools, run them on the samples to check">
110 <target name=
"clean" description=
"clean up all the generated content">
111 <delete includeemptydirs=
"true">
112 <fileset dir=
"${mjc2wsl.class.dir}"/>
113 <fileset dir=
"${compiler.class.dir}"/>
114 <fileset dir=
"${samples.temp.dir}"/>
115 <fileset dir=
"${log.dir}"/>
119 <target name=
"pack.jar" depends=
"build,update-version-string"
120 description=
"Packs the binaries in a jar and place it in ${dist.dir}">
122 <mkdir dir=
"${dist.dir}"/>
123 <jar destfile=
"${dist.dir}/mjc2wsl.jar"
126 <attribute name=
"Built-By" value=
"${user.name}"/>
127 <attribute name=
"Implementation-Vendor"
128 value=
"Doni Pracner"/>
129 <attribute name=
"Implementation-Title"
130 value=
"MicroJava bytecode to WSL"/>
131 <attribute name=
"Implementation-Version" value=
"${version}"/>
132 <attribute name=
"Main-Class" value=
"com.quemaster.transformations.mjc2wsl.mjc2wsl"/>
134 <fileset dir=
"${mjc2wsl.class.dir}"/>
135 <fileset dir=
"${res.dir}"/>
140 <!-- **************************************** -->
142 based on ideas by Jesper Öqvist http://llbit.se/?p=1876 -->
143 <!-- **************************************** -->
145 <!-- this target is only run if the 'version' property is undefined -->
147 <target name=
"update-version-string" unless=
"version">
148 <!-- get a new version string using git describe if possible -->
149 <echo message=
"Updating version string..."/>
150 <exec executable=
"git" outputproperty=
"version"
151 failifexecutionfails=
"false">
152 <arg value=
"describe"/>
154 <antcall target=
"-store-version-string"/>
155 <!-- ensure version is defined even if git was not available -->
156 <property file=
"${version.file}"/>
159 <target name=
"-store-version-string" if=
"version">
160 <!-- store the new version string in the correct property file -->
161 <echo message=
"version=${version}"/>
162 <dirname file=
"${version.file}" property=
"version.file.dir"/>
163 <mkdir dir=
"${version.file.dir}" />
164 <propertyfile file=
"${version.file}">
165 <entry key=
"version" value=
"${version}"/>
167 <exec executable=
"git" failifexecutionfails=
"false">
168 <arg value=
"update-index"/>
169 <arg value=
"--assume-unchanged"/>
170 <arg value=
"${version.file}"/>
174 <!-- **************************************** -->
175 <!-- mjc2wsl related tasks -->
176 <!-- **************************************** -->
178 <target name=
"build" depends=
"init,update-version-string" description=
"build the mjc2wsl tool">
179 <javac srcdir=
"${mjc2wsl.src.dir}" destdir=
"${mjc2wsl.class.dir}" includeAntRuntime='no'
/>
182 <target name=
"mjc2wsl">
183 <echo message=
"${filename}" />
184 <java classpath=
"${mjc2wsl.class.dir}:${res.dir}" classname=
"com.quemaster.transformations.mjc2wsl.mjc2wsl">
185 <arg line=
"${mjc2wsl.options}" />
186 <arg value=
"${filename}" />
190 <target name=
"mjc2wsl-samples" depends=
"build,init-time" description=
"run the mjc2wsl tool on the samples">
191 <record name=
"${log.file.mjc2wsl}${time}.txt" emacsmode=
"true" />
192 <echo>Used options:${mjc2wsl.options}
</echo>
193 <foreach param=
"filename" target=
"mjc2wsl" parallel=
"true" maxthreads=
"${global.max.threads}">
195 <fileset dir='${samples.temp.dir}'
>
196 <include name=
"*.obj"/>
200 <record name=
"${log.file.mjc2wsl}${time}.txt" action=
"stop" />
201 <copy file=
"${log.file.mjc2wsl}${time}.txt" tofile=
"${log.file.mjc2wsl}.txt"/>
204 <target name=
"mjc2wsl-samples1" depends=
"build">
205 <!-- simplistic version when antlib (foreach) is not available -->
206 <antcall target=
"mjc2wsl">
207 <param name=
"filename" value=
"samples-temp/sample0.obj" />
212 <!-- **************************************** -->
213 <!-- MicroJava related tasks -->
214 <!-- **************************************** -->
217 <target name=
"mj-build" depends=
"init" description=
"build the mj compiler">
218 <javac srcdir=
"${compiler.src.dir}" destdir=
"${compiler.class.dir}" includeAntRuntime='no'
/>
221 <target name=
"mj-compile" description=
"compile a MJ into obj file; given ${filename}">
222 <echo message=
"${filename}" />
223 <java classpath=
"${compiler.class.dir}:${compiler.class.jar}" classname=
"${compiler.classname.compiler}">
224 <arg value=
"${filename}" />
228 <target name=
"mj-samples" description=
"run the mj compiler on the samples" depends=
"init">
229 <foreach param=
"filename" target=
"mj-compile" parallel=
"true" maxthreads=
"${global.max.threads}">
231 <fileset dir='${samples.temp.dir}'
>
232 <include name=
"*.mj"/>
238 <target name=
"mj-decode" description=
"decode a MJ obj file given in ${filename}">
239 <echo message=
"${filename}" />
240 <java classpath=
"${compiler.class.dir}:${compiler.class.jar}"
241 classname=
"${compiler.classname.decoder}"
242 output=
"${filename}.decoded" >
243 <arg value=
"${filename}" />
247 <target name=
"mj-decode-samples" description=
"decode all of the obj files in ${samples.temp.dir}">
248 <foreach param=
"filename" target=
"mj-decode">
250 <fileset dir='${samples.temp.dir}'
>
251 <include name=
"*.obj"/>
257 <target name=
"mj-run" description=
"run a MJ obj file given in ${filename} with ${inputstring}">
258 <echo message=
"${filename}" />
259 <java classpath=
"${compiler.class.dir}:${compiler.class.jar}" classname=
"${compiler.classname.interpreter}" inputstring=
"${inputstring}">
260 <arg value=
"${filename}" />
264 <target name=
"mj-samples1" depends=
"mj-build">
265 <!-- simplistic version when antlib (foreach) is not available -->
266 <antcall target=
"mj-compile">
267 <param name=
"filename" value=
"samples-temp/sample.mj" />
269 <antcall target=
"mj-compile">
270 <param name=
"filename" value=
"samples-temp/sample1.mj" />
272 <antcall target=
"mj-compile">
273 <param name=
"filename" value=
"samples-temp/sample0.mj" />
278 <!-- **************************************** -->
279 <!-- wsl related tasks -->
280 <!-- **************************************** -->
282 <target name=
"wsl-run" >
283 <property name=
"args" value=
""/>
284 <property name=
"wslrun.workdir" value=
""/>
285 <exec executable=
"${fermat.dir}/bin/wsl" inputstring=
"${inputstring}"
286 dir=
"${wslrun.workdir}" >
287 <env key=
"PATH" path=
"${fermat.dir}/bin:${env.PATH}"/>
288 <env key=
"FermaT" path=
"${fermat.dir}" />
289 <env key=
"SCHEME_LIBRARY_PATH" path=
"${fermat.dir}/slib/" />
290 <env key=
"SCM_INIT_PATH" path=
"${fermat.dir}/scm/Init5e7.scm" />
291 <arg line=
"${filename} ${args}"/>
295 <target name=
"wsl-transf"
296 description=
"transform (simplify) a single wsl file generated by mjc2wsl">
298 <antcall target=
"wsl-run">
299 <param name=
"filename" value=
"${transf.wsl.file}" />
300 <param name=
"args" value=
"${transf.filename}" />
304 <target name=
"wsl-transf-samples" depends=
"init"
305 description=
"transform (simplify) the wsl files generated by mjc2wsl" >
306 <record name=
"${log.file.transformations}${time}.txt" emacsmode=
"true" />
307 <foreach param=
"transf.filename" target=
"wsl-transf" parallel=
"true" maxthreads=
"${global.max.threads}">
309 <fileset dir='${samples.temp.dir}'
>
310 <patternset refid=
"non.transformed.sources"/>
314 <record name=
"${log.file.transformations}${time}.txt" action=
"stop" />
315 <copy file=
"${log.file.transformations}${time}.txt" tofile=
"${log.file.transformations}.txt"/>
318 <target name=
"wsl-transf-samples-ini" depends=
"init-time,make-transf-ini-samples"
319 description=
"transform (simplify) the wsl files generated by mjc2wsl - uses ini file">
320 <record name=
"${log.file.transformations}${time}i.txt" emacsmode=
"true" />
321 <antcall target=
"wsl-run">
322 <param name=
"filename" value=
"${transf.wsl.file}" />
324 <record name=
"${log.file.transformations}${time}i.txt" action=
"stop" />
325 <copy file=
"${log.file.transformations}${time}i.txt" tofile=
"${log.file.transformations}.txt"/>
328 <target name=
"make-transf-ini-samples">
329 <fileset dir=
"${samples.temp.dir}" casesensitive=
"no" id=
"generated-wsl-fileset">
330 <patternset refid=
"non.transformed.sources"/>
332 <pathconvert pathsep=
"${line.separator}"
333 property=
"generated-wsl-files" refid=
"generated-wsl-fileset" />
335 <echo file=
"${transf.wsl.ini}">${generated-wsl-files}
</echo>
339 <!-- **************************************** -->
340 <!-- Testing tasks -->
341 <!-- **************************************** -->
343 <target name=
"manual-test-run"
344 description=
"run .obj .wsl ${transf.wsl.ext}, given are ${file.dir}, ${file.name} (no extension) and an ${inputstring}">
345 <record name=
"${file.dir}/${file.name}.out1" emacsmode=
"true" />
346 <antcall target=
"mj-run">
347 <param name=
"filename" value=
"${file.dir}/${file.name}.obj" />
348 <param name=
"inputstring" value=
"${inputstring}" />
350 <record name=
"${file.dir}/${file.name}.out1" action=
"stop" />
351 <record name=
"${file.dir}/${file.name}.out2" emacsmode=
"true" />
352 <antcall target=
"wsl-run">
353 <param name=
"filename" value=
"${file.dir}/${file.name}.wsl" />
354 <param name=
"inputstring" value=
"${inputstring}" />
356 <record name=
"${file.dir}/${file.name}.out2" action=
"stop" />
357 <record name=
"${file.dir}/${file.name}.out3" emacsmode=
"true" />
358 <antcall target=
"wsl-run">
359 <param name=
"filename" value=
"${file.dir}/${file.name}${transf.wsl.ext}" />
360 <param name=
"inputstring" value=
"${inputstring}" />
362 <record name=
"${file.dir}/${file.name}.out3" action=
"stop" />
365 <target name=
"manual-test-run-samples-dir"
366 description=
"run .obj .wsl ${transf.wsl.ext}, in the samples-temp directory; given ${file.name} (no extension) and an ${inputstring}">
367 <antcall target=
"manual-test-run">
368 <param name=
"file.dir" value=
"${samples.temp.dir}"/>
372 <target name=
"init-compare">
373 <mkdir dir=
"${samples.temp.dir}/outputs"/>
376 <target name=
"test-m-w">
378 <basename property=
"file.out" file=
"${inputfile}" suffix=
".txt"/>
380 <java classpath=
"${compiler.class.dir}:${compiler.class.jar}"
381 classname=
"${compiler.classname.interpreter}"
383 error=
"${samples.temp.dir}/outputs/${file.out}.errmj"
384 output=
"${samples.temp.dir}/outputs/${file.out}.outmj">
385 <arg value=
"${file.dir}/${file.name}.obj" />
388 <exec executable=
"${fermat.dir}/bin/wsl"
390 error=
"${samples.temp.dir}/outputs/${file.out}.errwsl"
391 output=
"${samples.temp.dir}/outputs/${file.out}.outwsl" >
392 <env key=
"PATH" path=
"${fermat.dir}/bin:${env.PATH}"/>
393 <env key=
"FermaT" path=
"${fermat.dir}" />
394 <env key=
"SCHEME_LIBRARY_PATH" path=
"${fermat.dir}/slib/" />
395 <env key=
"SCM_INIT_PATH" path=
"${fermat.dir}/scm/Init5e7.scm" />
396 <arg value=
"${file.dir}/${file.name}.wsl"/>
399 <exec executable=
"perl" resultproperty=
"ook">
400 <arg value=
"lib/compare-m-w.pl"/>
401 <arg value=
"${file.dir}/outputs"/>
402 <arg value=
"${file.out}"/>
407 <target name=
"test-w-wt">
409 <basename property=
"file.out" file=
"${inputfile}" suffix=
".txt"/>
411 <exec executable=
"${fermat.dir}/bin/wsl"
413 error=
"${samples.temp.dir}/outputs/${file.out}.errwsl"
414 output=
"${samples.temp.dir}/outputs/${file.out}.outwsl" >
415 <env key=
"PATH" path=
"${fermat.dir}/bin:${env.PATH}"/>
416 <env key=
"FermaT" path=
"${fermat.dir}" />
417 <env key=
"SCHEME_LIBRARY_PATH" path=
"${fermat.dir}/slib/" />
418 <env key=
"SCM_INIT_PATH" path=
"${fermat.dir}/scm/Init5e7.scm" />
419 <arg value=
"${file.dir}/${file.name}.wsl"/>
422 <exec executable=
"${fermat.dir}/bin/wsl"
424 error=
"${samples.temp.dir}/outputs/${file.out}.errwslt"
425 output=
"${samples.temp.dir}/outputs/${file.out}.outwslt" >
426 <env key=
"PATH" path=
"${fermat.dir}/bin:${env.PATH}"/>
427 <env key=
"FermaT" path=
"${fermat.dir}" />
428 <env key=
"SCHEME_LIBRARY_PATH" path=
"${fermat.dir}/slib/" />
429 <env key=
"SCM_INIT_PATH" path=
"${fermat.dir}/scm/Init5e7.scm" />
430 <arg value=
"${file.dir}/${file.name}${transf.wsl.ext}"/>
433 <exec executable=
"perl">
434 <arg value=
"lib/compare-w-wt.pl"/>
435 <arg value=
"${file.dir}/outputs"/>
436 <arg value=
"${file.out}"/>
440 <target name=
"test-fn">
441 <basename property=
"file.name" file=
"${filename}" suffix=
".obj"/>
442 <dirname property=
"file.dir" file=
"${filename}"/>
443 <foreach param=
"inputfile" target=
"test-m-w" inheritall=
"true">
445 <fileset dir='${tests.dir}'
>
446 <include name=
"${file.name}*.txt"/>
452 <target name=
"test-fn-t">
453 <basename property=
"file.name" file=
"${filename}" suffix=
"${transf.wsl.ext}"/>
454 <dirname property=
"file.dir" file=
"${filename}"/>
455 <foreach param=
"inputfile" target=
"test-w-wt" inheritall=
"true">
457 <fileset dir='${tests.dir}'
>
458 <include name=
"${file.name}*.txt"/>
464 <target name=
"test-all-m" depends=
"init-compare,init-time"
465 description=
"Run all the tests from the test directory to compare MJ and WSL" >
466 <record name=
"${log.file.tests.m}${time}.txt" emacsmode=
"true" />
467 <foreach param=
"filename" target=
"test-fn" inheritall=
"true">
469 <fileset dir='${samples.temp.dir}'
>
470 <include name=
"*.obj"/>
474 <record name=
"${log.file.tests.m}${time}.txt" action=
"stop" />
475 <move file=
"${log.file.tests.m}.txt" tofile=
"${log.file.tests.m}-previous.txt" failonerror=
"false"/>
476 <copy file=
"${log.file.tests.m}${time}.txt" tofile=
"${log.file.tests.m}.txt"/>
479 <target name=
"test-all-t" depends=
"init-compare,init-time"
480 description=
"Run all the tests from the test directory to compare WSL and transformations" >
481 <record name=
"${log.file.tests.t}${time}.txt" emacsmode=
"true" />
482 <foreach param=
"filename" target=
"test-fn-t">
484 <fileset dir='${samples.temp.dir}'
>
485 <include name=
"*${transf.wsl.ext}"/>
489 <record name=
"${log.file.tests.t}${time}.txt" action=
"stop" />
490 <move file=
"${log.file.tests.t}.txt" tofile=
"${log.file.tests.t}-previous.txt" failonerror=
"false"/>
491 <copy file=
"${log.file.tests.t}${time}.txt" tofile=
"${log.file.tests.t}.txt"/>
494 <target name=
"q-test">
495 <!-- for quick tests -->
496 <antcall target=
"test-fn">
497 <param name=
"file.name" value=
"Rek1"/>
498 <param name=
"file.dir" value=
"${samples.temp.dir}"/>
503 <!-- **************************************** -->
505 <!-- **************************************** -->
507 <target name=
"metrics-compare-wsl">
508 <basename property=
"metrics.temp.name" file=
"${metrics.run.filename}" suffix=
"${transf.wsl.ext}"/>
509 <dirname property=
"metrics.temp.dir" file=
"${metrics.run.filename}"/>
510 <antcall target=
"wsl-run">
511 <param name=
"filename" value=
"${metrics.wsl.file}" />
512 <param name=
"args" value=
"-o ${metrics.temp.dir}/${metrics.temp.name}${metrics.extension} -c ${metrics.temp.dir}/${metrics.temp.name}.wsl ${metrics.temp.dir}/${metrics.temp.name}${transf.wsl.ext}" />
518 <target name=
"metrics-samples-compare-wsl" depends=
"init"
519 description=
"metrics on transformed wsl files (csv file)" >
521 <antcall target=
"wsl-run">
522 <param name=
"filename" value=
"${metrics.wsl.file}" />
523 <param name=
"args" value=
"-o ${samples.temp.dir}/0000-header${metrics.extension} -HC" />
527 <foreach param=
"metrics.run.filename" target=
"metrics-compare-wsl" parallel=
"true" maxthreads=
"${global.max.threads}">
529 <fileset dir='${samples.temp.dir}'
>
530 <patternset refid=
"transformed.sources"/>
535 <concat destfile=
"${samples.temp.dir}/metrics-wsl-compare.csv">
536 <fileset dir=
"${samples.temp.dir}" includes=
"*${metrics.extension}"/>
541 <!-- **************************************** -->
542 <!-- output serveral versions of files -->
543 <!-- **************************************** -->
545 <target name=
"output-all-versions"
546 description=
"generate variations on the translations in the 'local' folder and tar them">
548 <target name=
"mj-samples"/>
549 <target name=
"mjc2wsl-samples"/>
550 <param name=
"samples.temp.dir" value=
"local/out/headTail-proc"/>
551 <param name=
"mjc2wsl.options" value=
""/>
554 <target name=
"mj-samples"/>
555 <target name=
"mjc2wsl-samples"/>
556 <param name=
"samples.temp.dir" value=
"local/out/headTail-inline"/>
557 <param name=
"mjc2wsl.options" value=
"--genInlinePrint"/>
560 <target name=
"mj-samples"/>
561 <target name=
"mjc2wsl-samples"/>
562 <param name=
"samples.temp.dir" value=
"local/out/popPush-inline"/>
563 <param name=
"mjc2wsl.options" value=
"--genPopPush --genInlinePrint"/>
566 <target name=
"mj-samples"/>
567 <target name=
"mjc2wsl-samples"/>
568 <param name=
"samples.temp.dir" value=
"local/out/popPush-proc"/>
569 <param name=
"mjc2wsl.options" value=
"--genPopPush"/>
572 <target name=
"mj-samples"/>
573 <target name=
"mjc2wsl-samples"/>
574 <param name=
"samples.temp.dir" value=
"local/out/popPush-glob"/>
575 <param name=
"mjc2wsl.options" value=
"--genPopPush --genGlobalVars"/>
577 <tar basedir=
"local/out" compression=
"gzip"
578 destfile=
"local/mjc2wsl-samples.tgz"
583 <!-- **************************************** -->
584 <!-- output a comparison Latex file and compile it -->
585 <!-- **************************************** -->
587 <target name=
"output-comparison-pdf-single">
588 <basename property=
"file.name" file=
"${filename}" suffix=
".mj"/>
589 <echo append='true'
file=
"${samples.temp.dir}/tex/comparison.tex">
590 \section{${file.name}}
592 \lstinputlisting[style=mj]{../${file.name}.mj}
594 \lstinputlisting[style=decoded]{../${file.name}.obj.decoded}
596 \lstinputlisting[style=wsl,lastline=
200]{../${file.name}.wsl}
598 \lstinputlisting[style=wslt,lastline=
200]{../${file.name}${transf.wsl.ext}}
603 <target name=
"output-comparison-pdf"
604 description=
"Makes a parallel display in Latex and produces a pdf (tex dir in temp dir)" >
606 <copy file=
"lib/tex/comparison-start.tex" overwrite=
"true"
607 tofile=
"${samples.temp.dir}/tex/comparison.tex"/>
608 <foreach param=
"filename" target=
"output-comparison-pdf-single" inheritall=
"true">
610 <fileset dir='${samples.temp.dir}'
>
611 <include name=
"*.mj"/>
615 <concat destfile=
"${samples.temp.dir}/tex/comparison.tex" append=
"true">
616 <filelist dir=
"lib/tex" files=
"comparison-end.tex"/>
618 <antcall target=
"output-comparison-compile"/>
621 <target name=
"output-comparison-compile">
622 <exec command=
"pdflatex comparison.tex"
623 dir=
"${samples.temp.dir}/tex"/>
626 <!-- jedit specific flags; needs to be the first or the last 10 lines