Revision: 16680
          http://sourceforge.net/p/gate/code/16680
Author:   johann_p
Date:     2013-05-11 08:50:59 +0000 (Sat, 11 May 2013)
Log Message:
-----------
Make the build use gate.home from any build.properties
file or set it from environment variable GATE_HOME
unless already set. This makes sure that the plugin
will easily compile if moved out of the GATE plugins
directory.

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

Modified: gate/trunk/plugins/Groovy/build.xml
===================================================================
--- gate/trunk/plugins/Groovy/build.xml 2013-05-10 15:15:49 UTC (rev 16679)
+++ gate/trunk/plugins/Groovy/build.xml 2013-05-11 08:50:59 UTC (rev 16680)
@@ -14,6 +14,13 @@
   <property name="doc.dir" location="doc" />
   <property name="javadoc.dir" location="${doc.dir}/javadoc" />
 
+  <!-- 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="gate.home" location="../.." />
   <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
   <property name="gate.lib" location="${gate.home}/lib" />

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to