You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/09/06 20:06:04 UTC
svn commit: r1381701 - in /lucene/dev/trunk/lucene/core: build.xml
src/java/org/apache/lucene/util/automaton/createLevAutomata.py
Author: mikemccand
Date: Thu Sep 6 18:06:04 2012
New Revision: 1381701
URL: http://svn.apache.org/viewvc?rev=1381701&view=rev
Log:
LUCENE-4335: checkout Moman under build dir
Modified:
lucene/dev/trunk/lucene/core/build.xml
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
Modified: lucene/dev/trunk/lucene/core/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/build.xml?rev=1381701&r1=1381700&r2=1381701&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/build.xml (original)
+++ lucene/dev/trunk/lucene/core/build.xml Thu Sep 6 18:06:04 2012
@@ -96,18 +96,19 @@
</target>
<target name="createLevAutomata" depends="check-moman,clone-moman,pull-moman">
- <createLevAutomaton n="1"/>
- <createLevAutomaton n="2"/>
+ <createLevAutomaton n="1"/>
+ <createLevAutomaton n="2"/>
</target>
<target name="check-moman">
<condition property="moman.cloned">
- <available file="src/java/org/apache/lucene/util/automaton/moman"/>
- </condition>
+ <available file="${build.dir}/moman"/>
+ </condition>
</target>
-
+
<target name="clone-moman" unless="moman.cloned">
- <exec dir="src/java/org/apache/lucene/util/automaton"
+ <mkdir dir="${build.dir}"/>
+ <exec dir="${build.dir}"
executable="${hg.exe}" failonerror="true">
<arg value="clone"/>
<arg value="-r"/>
@@ -118,7 +119,7 @@
</target>
<target name="pull-moman" if="moman.cloned">
- <exec dir="src/java/org/apache/lucene/util/automaton/moman"
+ <exec dir="${build.dir}/moman"
executable="${hg.exe}" failonerror="true">
<arg value="pull"/>
<arg value="-f"/>
Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py?rev=1381701&r1=1381700&r2=1381701&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/createLevAutomata.py Thu Sep 6 18:06:04 2012
@@ -21,7 +21,8 @@
import math
import os
import sys
-sys.path.insert(0, 'moman/finenight/python')
+#sys.path.insert(0, 'moman/finenight/python')
+sys.path.insert(0, '../../../../../../../../build/core/moman/finenight/python')
try:
from possibleStates import genTransitions
except ImportError: