Revision: 17088
          http://sourceforge.net/p/gate/code/17088
Author:   johann_p
Date:     2013-11-13 14:14:19 +0000 (Wed, 13 Nov 2013)
Log Message:
-----------
Bring the build.xml a bit more in sync with the 
more current build files

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

Modified: gate/trunk/plugins/Tools/build.xml
===================================================================
--- gate/trunk/plugins/Tools/build.xml  2013-11-13 14:08:47 UTC (rev 17087)
+++ gate/trunk/plugins/Tools/build.xml  2013-11-13 14:14:19 UTC (rev 17088)
@@ -1,22 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<project basedir="." default="build" name="tools">
+<project basedir="." default="all" name="tools">
   <!-- Prevent Ant from warning about includeantruntime not being set -->
   <property name="build.sysclasspath" value="ignore" />
 
-  <property name="jdk.home" value="${JAVA_HOME}"/>
+  <property file="build.properties" />
+  <property name="plugin.name" value="Tools"/>
+
+  <!-- Make environment variables available -->
+  <property environment="env" />
+
+  <!-- If environment variable GATE_HOME is set, use it for
+       gate.home (unless it was already set in build.properties -->
+  <condition property="gate.home" value="${env.GATE_HOME}">
+    <isset property="env.GATE_HOME"/>
+  </condition>
+
   <property name="dest" value="classes"/>
-  <property name="gatehome" value="../.."/>
+  <property name="gate.home" value="../.."/>
   <property name="src" value="src"/>
   <property name="doc.dir" location="doc" />
   <property name="javadoc.dir" location="${doc.dir}/javadoc" />
 
-  <fileset id="gatelib.classpath" dir="${gatehome}/lib">
+  <fileset id="gatelib.classpath" dir="${gate.home}/lib">
     <include name="*.jar"/>
     <include name="*.zip"/>
   </fileset>
 
-  <fileset id="gate.classpath" dir="${gatehome}/bin">
+  <fileset id="gate.classpath" dir="${gate.home}/bin">
     <include name="*.jar"/>
     <include name="*.zip"/>
   </fileset>
@@ -72,6 +83,9 @@
     <mkdir dir="${dest}"/>
   </target>
 
+  <!-- Build everything - the code and JavaDoc -->
+  <target name="all" depends="jar, javadoc" />
+
   <!-- targets required by the top-level build file -->
   <target name="build" depends="jar"/>
   <target name="distro.prepare" depends="clean.classes" />

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


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to