gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ab47e9)
raw | patch | inline | side by side (parent: 0ab47e9)
author | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 3 Nov 2014 22:19:24 +0000 (23:19 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 3 Nov 2014 22:19:24 +0000 (23:19 +0100) |
build.xml | patch | blob | history |
diff --git a/build.xml b/build.xml
index 421377f2271b7b6a10fb5db7e983904c4263381e..142a84b3e6ecdd1475035a8f3f93830d817a821b 100644 (file)
--- a/build.xml
+++ b/build.xml
<property name="java.encoding" value="utf-8" />
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
+ <!-- when using multiple threads there is a problem with logging!-->
+ <property name="global.max.threads" value="1" />
+
<property name="mjc2wsl.class.dir" value="bin" />
<property name="mjc2wsl.src.dir" value="src" />
<property name="mjc2wsl.options" value="" />
<target name="mjc2wsl-samples" depends="build,init-time" description="run the mjc2wsl tool on the samples">
<record name="${log.file.mjc2wsl}${time}.txt" emacsmode="true" />
<echo>Used options:${mjc2wsl.options}</echo>
- <foreach param="filename" target="mjc2wsl">
+ <foreach param="filename" target="mjc2wsl" parallel="true" maxthreads="${global.max.threads}">
<path>
<fileset dir='${samples.temp.dir}'>
<include name="*.obj"/>
</target>
<target name="mj-samples" description="run the mj compiler on the samples" depends="init">
- <foreach param="filename" target="mj-compile">
+ <foreach param="filename" target="mj-compile" parallel="true" maxthreads="${global.max.threads}">
<path>
<fileset dir='${samples.temp.dir}'>
<include name="*.mj"/>
<target name="wsl-transf-samples" depends="init"
description="transform (simplify) the wsl files generated by mjc2wsl" >
<record name="${log.file.transformations}${time}.txt" emacsmode="true" />
- <foreach param="transf.filename" target="wsl-transf">
+ <foreach param="transf.filename" target="wsl-transf" parallel="true" maxthreads="${global.max.threads}">
<path>
<fileset dir='${samples.temp.dir}'>
<patternset refid="non.transformed.sources"/>