Revision: 16779
          http://sourceforge.net/p/gate/code/16779
Author:   johann_p
Date:     2013-08-09 14:44:32 +0000 (Fri, 09 Aug 2013)
Log Message:
-----------
Make it also use environment variable GATE_HOME if it is set.

Modified Paths:
--------------
    gate/trunk/plugins/Learning/build.xml

Modified: gate/trunk/plugins/Learning/build.xml
===================================================================
--- gate/trunk/plugins/Learning/build.xml       2013-08-09 14:19:23 UTC (rev 
16778)
+++ gate/trunk/plugins/Learning/build.xml       2013-08-09 14:44:32 UTC (rev 
16779)
@@ -15,8 +15,11 @@
        
        Make changes to this section of the build file to customise your 
        GATE start-up and build script -->
-       <!-- Allow overriding of properties via build.properties -->
-       <property file="build.properties" />
+       <property environment="env"/>
+       <property file="build.properties" />
+       <condition property="gate.home" value="${env.GATE_HOME}">
+         <isset property="env.GATE_HOME" />
+       </condition>
 
        <!-- Location of GATE - by default assume it's checked out at the same
        level as sins -->

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to