Revision: 16718
http://sourceforge.net/p/gate/code/16718
Author: johann_p
Date: 2013-07-03 13:23:21 +0000 (Wed, 03 Jul 2013)
Log Message:
-----------
Use environment variable GATE_HOME or property
gate.home in the build if set.
Modified Paths:
--------------
gate/trunk/plugins/Stemmer_Snowball/build.xml
Modified: gate/trunk/plugins/Stemmer_Snowball/build.xml
===================================================================
--- gate/trunk/plugins/Stemmer_Snowball/build.xml 2013-07-02 11:22:03 UTC
(rev 16717)
+++ gate/trunk/plugins/Stemmer_Snowball/build.xml 2013-07-03 13:23:21 UTC
(rev 16718)
@@ -6,8 +6,12 @@
<!-- Prevent Ant from warning about includeantruntime not being set -->
<property name="build.sysclasspath" value="ignore" />
-
<!-- set global properties for this build -->
+ <property environment="env"/>
+ <property file="build.properties" />
+ <condition property="gate.home" value="${env.GATE_HOME}">
+ <isset property="env.GATE_HOME" />
+ </condition>
<property name="src" location="src"/>
<property name="build" location="classes"/>
<property name="jar.location" location="stemmer.jar" />
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs