mirror of https://github.com/apache/lucene.git
Fix exec targets to use <arg value=""/>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b02c7581fc
commit
5dc0969da1
|
@ -62,24 +62,26 @@
|
|||
<sequential>
|
||||
<exec dir="src/java/org/apache/lucene/util/automaton"
|
||||
executable="${python.exe}" failonerror="true">
|
||||
<arg line="createLevAutomata.py @{n} True"/>
|
||||
<arg value="createLevAutomata.py"/>
|
||||
<arg value="@{n}"/>
|
||||
<arg value="True"/>
|
||||
</exec>
|
||||
<exec dir="src/java/org/apache/lucene/util/automaton"
|
||||
executable="${python.exe}" failonerror="true">
|
||||
<arg line="createLevAutomata.py @{n} False"/>
|
||||
<arg value="createLevAutomata.py"/>
|
||||
<arg value="@{n}"/>
|
||||
<arg value="False"/>
|
||||
</exec>
|
||||
<fixcrlf srcdir="src/java/org/apache/lucene/util/automaton" includes="*ParametricDescription.java" encoding="UTF-8"/>
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<target name="createBulkPackedIntSources">
|
||||
<sequential>
|
||||
<exec dir="src/java/org/apache/lucene/util/packed"
|
||||
executable="${python.exe}" failonerror="true">
|
||||
<arg line="gen_BulkOperation.py"/>
|
||||
</exec>
|
||||
<fixcrlf srcdir="src/java/org/apache/lucene/util/packed" includes="BulkOperation*.java" encoding="UTF-8"/>
|
||||
</sequential>
|
||||
<exec dir="src/java/org/apache/lucene/util/packed"
|
||||
executable="${python.exe}" failonerror="true">
|
||||
<arg value="gen_BulkOperation.py"/>
|
||||
</exec>
|
||||
<fixcrlf srcdir="src/java/org/apache/lucene/util/packed" includes="BulkOperation*.java" encoding="UTF-8"/>
|
||||
</target>
|
||||
|
||||
<target name="createLevAutomata" depends="check-moman,clone-moman,pull-moman">
|
||||
|
@ -96,14 +98,21 @@
|
|||
<target name="clone-moman" unless="moman.cloned">
|
||||
<exec dir="src/java/org/apache/lucene/util/automaton"
|
||||
executable="${hg.exe}" failonerror="true">
|
||||
<arg line="clone -r ${moman.rev} ${moman.url} moman"/>
|
||||
<arg value="clone"/>
|
||||
<arg value="-r"/>
|
||||
<arg value="${moman.rev}"/>
|
||||
<arg value="${moman.url}"/>
|
||||
<arg value="moman"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="pull-moman" if="moman.cloned">
|
||||
<exec dir="src/java/org/apache/lucene/util/automaton/moman"
|
||||
executable="${hg.exe}" failonerror="true">
|
||||
<arg line="pull -f -r ${moman.rev}"/>
|
||||
<arg value="pull"/>
|
||||
<arg value="-f"/>
|
||||
<arg value="-r"/>
|
||||
<arg value="${moman.rev}"/>
|
||||
</exec>
|
||||
</target>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue