Revision: 15262
http://gate.svn.sourceforge.net/gate/?rev=15262&view=rev
Author: ian_roberts
Date: 2012-01-30 13:14:08 +0000 (Mon, 30 Jan 2012)
Log Message:
-----------
Formatting.
If you want to auto-format this file using Eclipse then you *must* set your
preferences to make it use spaces rather than tabs. The formatting settings
for Ant build files in Eclipse are independent of those for Java code and for
other (non-Ant) XML files.
Modified Paths:
--------------
gate/trunk/build.xml
Modified: gate/trunk/build.xml
===================================================================
--- gate/trunk/build.xml 2012-01-30 11:02:12 UTC (rev 15261)
+++ gate/trunk/build.xml 2012-01-30 13:14:08 UTC (rev 15262)
@@ -1,22 +1,22 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<project name="GATE" default="all" basedir="."
xmlns:ivy="antlib:org.apache.ivy.ant">
- <description>
+ <description>
GATE
see http://gate.ac.uk
</description>
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
+ <!-- Prevent Ant from warning about includeantruntime not being set -->
+ <property name="build.sysclasspath" value="ignore" />
- <!-- *******************************************************************
+ <!-- *******************************************************************
**************** USER OPTIONS ************************************
*******************************************************************
Make changes to this section of the build file to customise your
GATE start-up and build script -->
- <!-- Load user properties from build.properties. If you need to
override
+ <!-- Load user properties from build.properties. If you need to override
any of the properties set in this build file, you should create
build.properties in the same directory. Property definitions in
the properties file will override those in the build file.
@@ -31,20 +31,20 @@
note that Ant properties are expanded in this file, this can be a
very powerful tool. -->
- <property file="build.properties" />
+ <property file="build.properties" />
- <!-- RUNTIME MEMORY -->
- <property name="runtime.max.memory" value="1200M" />
- <property name="runtime.start.memory" value="200M" />
+ <!-- RUNTIME MEMORY -->
+ <property name="runtime.max.memory" value="1200M" />
+ <property name="runtime.start.memory" value="200M" />
- <!-- Should Ant exit as soon as it has started the GUI? -->
- <property name="runtime.spawn" value="true" />
+ <!-- Should Ant exit as soon as it has started the GUI? -->
+ <property name="runtime.spawn" value="true" />
- <!-- if deprecation warnings should be shown -->
- <property name="deprecation" value="false" />
- <property name="gate.compile.maxwarnings" value="10000" />
+ <!-- if deprecation warnings should be shown -->
+ <property name="deprecation" value="false" />
+ <property name="gate.compile.maxwarnings" value="10000" />
- <!-- OS specific properties
+ <!-- OS specific properties
To set a system property for GATE running on a specific platform, define
it here:
@@ -53,97 +53,97 @@
will set the system property prop.name to the value "something" when
GATE is run on Windows XP.
-->
- <!-- If you use a 3D accelerated X server, such as Xgl or Aiglx and
+ <!-- If you use a 3D accelerated X server, such as Xgl or Aiglx and
your windows are not resizing properly, then you need to uncomment
the following line -->
- <!-- <property name="os.Linux.awt.toolkit"
value="sun.awt.motif.MToolkit"/> -->
+ <!-- <property name="os.Linux.awt.toolkit" value="sun.awt.motif.MToolkit"/>
-->
- <!-- *******************************************************************
+ <!-- *******************************************************************
**************** USER OPTIONS END HERE! **************************
******************************************************************* -->
- <!-- set global properties for this build -->
+ <!-- set global properties for this build -->
- <!-- Directories -->
- <property name="gate.home" location="${basedir}" />
+ <!-- Directories -->
+ <property name="gate.home" location="${basedir}" />
- <!-- Sources -->
- <property name="srcDir" location="src" />
+ <!-- Sources -->
+ <property name="srcDir" location="src" />
- <!-- Files required by the build process -->
- <property name="buildDir" location="build" />
+ <!-- Files required by the build process -->
+ <property name="buildDir" location="build" />
- <!-- Files required by the build process -->
- <property name="binDir" location="bin" />
+ <!-- Files required by the build process -->
+ <property name="binDir" location="bin" />
- <!-- Output directory for the build process -->
- <property name="outputDir" location="classes" />
+ <!-- Output directory for the build process -->
+ <property name="outputDir" location="classes" />
- <!-- Libraries directory for the build process -->
- <property name="libDir" location="lib" />
+ <!-- Libraries directory for the build process -->
+ <property name="libDir" location="lib" />
- <!-- Documentation directory -->
- <property name="docDir" location="doc" />
+ <!-- Documentation directory -->
+ <property name="docDir" location="doc" />
- <!-- load ant-contrib for the "if" task -->
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement location="${libDir}/ant-contrib.jar" />
- </classpath>
- </taskdef>
+ <!-- load ant-contrib for the "if" task -->
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="${libDir}/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
- <!-- Read version and build numbers -->
- <loadfile property="gate.version" srcFile="${buildDir}/version.txt" />
- <loadfile property="gate.build" srcFile="${buildDir}/build.txt" />
+ <!-- Read version and build numbers -->
+ <loadfile property="gate.version" srcFile="${buildDir}/version.txt" />
+ <loadfile property="gate.build" srcFile="${buildDir}/build.txt" />
- <!-- Use the new 1.3+ compiler -->
- <property name="build.compiler" value="modern" />
+ <!-- Use the new 1.3+ compiler -->
+ <property name="build.compiler" value="modern" />
- <!-- The libraries -->
- <fileset id="libs" dir="${libDir}">
- <include name="*.jar" />
- <include name="*.zip" />
- </fileset>
+ <!-- The libraries -->
+ <fileset id="libs" dir="${libDir}">
+ <include name="*.jar" />
+ <include name="*.zip" />
+ </fileset>
- <!-- Default to the server VM (slower startup but faster running) unless
+ <!-- Default to the server VM (slower startup but faster running) unless
overridden above -->
- <property name="server.or.client" value="-server" />
+ <property name="server.or.client" value="-server" />
- <!-- The build CLASSPATH -->
- <path id="build.class.path">
- <fileset refid="libs" />
- </path>
+ <!-- The build CLASSPATH -->
+ <path id="build.class.path">
+ <fileset refid="libs" />
+ </path>
- <!-- The run CLASSPATH -->
- <path id="run.class.path">
- <pathelement location="${binDir}" />
- <pathelement location="${binDir}/gate.jar" />
- <fileset refid="libs" />
- </path>
+ <!-- The run CLASSPATH -->
+ <path id="run.class.path">
+ <pathelement location="${binDir}" />
+ <pathelement location="${binDir}/gate.jar" />
+ <fileset refid="libs" />
+ </path>
- <!-- The test CLASSPATH -->
- <path id="test.class.path">
- <pathelement location="${binDir}" />
- <pathelement location="${outputDir}" />
- <fileset refid="libs" />
- </path>
+ <!-- The test CLASSPATH -->
+ <path id="test.class.path">
+ <pathelement location="${binDir}" />
+ <pathelement location="${outputDir}" />
+ <fileset refid="libs" />
+ </path>
- <tstamp>
- <format property="TODAY_UK" pattern="d-MMMM-yyyy" locale="en" />
- <format property="TSTAMP_UK" pattern="hh:mm" locale="en" />
- </tstamp>
+ <tstamp>
+ <format property="TODAY_UK" pattern="d-MMMM-yyyy" locale="en" />
+ <format property="TSTAMP_UK" pattern="hh:mm" locale="en" />
+ </tstamp>
- <!-- Prints out some information messages -->
- <echo level="info">
+ <!-- Prints out some information messages -->
+ <echo level="info">
This is the ANT build script for GATE (http://gate.ac.uk).
Type "ant help" for details about the targets available.
GATE ${gate.version}, build ${gate.build}
Java version ${java.version}</echo>
- <!-- Prints out details about the targets -->
- <target name="help">
- <echo level="info">
+ <!-- Prints out details about the targets -->
+ <target name="help">
+ <echo level="info">
This is the ANT build script for gate (http://gate.ac.uk).
The following targets are available
-all (default target): compiles the GATE classes and makes the
gate.jar archive.
@@ -161,180 +161,180 @@
-distro: make a GATE distribution (calls all build tasks in the
process)
</echo>
- </target>
+ </target>
- <target name="check.info.plist">
- <!-- we need to rebuild Info.plist if (a) this is a release
build or (b)
+ <target name="check.info.plist">
+ <!-- we need to rebuild Info.plist if (a) this is a release build or (b)
the current Info.plist is older than version.txt or build.txt. -->
- <condition property="info.plist.build.required">
- <or>
- <isset property="release.build" />
- <and>
- <!-- Check that GATE.app exists (it
won't if this is a copy of GATE
+ <condition property="info.plist.build.required">
+ <or>
+ <isset property="release.build" />
+ <and>
+ <!-- Check that GATE.app exists (it won't if this is a copy of GATE
installed from the installer on Windows) -->
- <available file="GATE.app/Contents" />
- <not>
- <uptodate
targetfile="GATE.app/Contents/Info.plist">
- <srcfiles
dir="${buildDir}" includes="version.txt, build.txt" />
- </uptodate>
- </not>
- </and>
- </or>
- </condition>
- </target>
+ <available file="GATE.app/Contents" />
+ <not>
+ <uptodate targetfile="GATE.app/Contents/Info.plist">
+ <srcfiles dir="${buildDir}" includes="version.txt, build.txt" />
+ </uptodate>
+ </not>
+ </and>
+ </or>
+ </condition>
+ </target>
- <!-- Generate the Mac launcher Info.plist file from the template,
filling in
+ <!-- Generate the Mac launcher Info.plist file from the template, filling in
the correct version string. -->
- <target name="build.info.plist" if="info.plist.build.required">
- <!-- include the build number in the Info.plist version string
unless
+ <target name="build.info.plist" if="info.plist.build.required">
+ <!-- include the build number in the Info.plist version string unless
it's a release build -->
- <condition property="info.plist.version"
value="${gate.version}" else="${gate.version} (build ${gate.build})">
- <isset property="release.build" />
- </condition>
- <copy file="${buildDir}/Info.plist.template"
tofile="GATE.app/Contents/Info.plist" overwrite="yes" encoding="UTF-8">
- <filterset>
- <filter token="version"
value="${info.plist.version}" />
- </filterset>
- </copy>
- <!-- Touch GATE.app so Finder notices the .plist change -->
- <touch>
- <dirset dir="${basedir}" includes="GATE.app" />
- </touch>
- </target>
+ <condition property="info.plist.version" value="${gate.version}"
else="${gate.version} (build ${gate.build})">
+ <isset property="release.build" />
+ </condition>
+ <copy file="${buildDir}/Info.plist.template"
tofile="GATE.app/Contents/Info.plist" overwrite="yes" encoding="UTF-8">
+ <filterset>
+ <filter token="version" value="${info.plist.version}" />
+ </filterset>
+ </copy>
+ <!-- Touch GATE.app so Finder notices the .plist change -->
+ <touch>
+ <dirset dir="${basedir}" includes="GATE.app" />
+ </touch>
+ </target>
- <target name="prepare" depends="check.info.plist, build.info.plist">
- <mkdir dir="${outputDir}" />
- </target>
+ <target name="prepare" depends="check.info.plist, build.info.plist">
+ <mkdir dir="${outputDir}" />
+ </target>
- <!-- Copies resources to the output directory -->
- <target name="resources">
- <copy todir="${outputDir}/gate/resources"
includeEmptyDirs="true">
- <fileset dir="${srcDir}/gate/resources"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
- </copy>
- <copy file="${buildDir}/build.txt"
todir="${outputDir}/gate/resources" />
- <copy file="${buildDir}/version.txt"
todir="${outputDir}/gate/resources" />
- <copy todir="${outputDir}/gate/util" includeEmptyDirs="true">
- <fileset dir="${srcDir}/gate/util" includes="*.tcl" />
- </copy>
- <!-- This is for the Spring support -->
- <copy todir="${outputDir}/META-INF" includeEmptyDirs="true">
- <fileset dir="${srcDir}/META-INF" />
- </copy>
- <copy todir="${outputDir}/gate/util/spring/xml"
includeEmptyDirs="true">
- <fileset dir="${srcDir}/gate/util/spring/xml"
includes="*.xsd" />
- </copy>
- <!-- This is for the Ant tasks -->
- <copy todir="${outputDir}/gate/util/ant"
includeEmptyDirs="true">
- <fileset dir="${srcDir}/gate/util/ant"
includes="antlib.xml" />
- </copy>
- </target>
+ <!-- Copies resources to the output directory -->
+ <target name="resources">
+ <copy todir="${outputDir}/gate/resources" includeEmptyDirs="true">
+ <fileset dir="${srcDir}/gate/resources"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
+ </copy>
+ <copy file="${buildDir}/build.txt" todir="${outputDir}/gate/resources" />
+ <copy file="${buildDir}/version.txt" todir="${outputDir}/gate/resources" />
+ <copy todir="${outputDir}/gate/util" includeEmptyDirs="true">
+ <fileset dir="${srcDir}/gate/util" includes="*.tcl" />
+ </copy>
+ <!-- This is for the Spring support -->
+ <copy todir="${outputDir}/META-INF" includeEmptyDirs="true">
+ <fileset dir="${srcDir}/META-INF" />
+ </copy>
+ <copy todir="${outputDir}/gate/util/spring/xml" includeEmptyDirs="true">
+ <fileset dir="${srcDir}/gate/util/spring/xml" includes="*.xsd" />
+ </copy>
+ <!-- This is for the Ant tasks -->
+ <copy todir="${outputDir}/gate/util/ant" includeEmptyDirs="true">
+ <fileset dir="${srcDir}/gate/util/ant" includes="antlib.xml" />
+ </copy>
+ </target>
- <target name="prepare.lib">
- <!-- build the full classpath using ivy to resolve dependencies
-->
- <taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="antlib:org.apache.ivy.ant">
- <classpath>
- <pathelement location="${libDir}/ivy.jar" />
- </classpath>
- </taskdef>
+ <target name="prepare.lib">
+ <!-- build the full classpath using ivy to resolve dependencies -->
+ <taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="antlib:org.apache.ivy.ant">
+ <classpath>
+ <pathelement location="${libDir}/ivy.jar" />
+ </classpath>
+ </taskdef>
- <!-- retrieve everything and put the jars in lib without version
+ <!-- retrieve everything and put the jars in lib without version
numbers to simplify build scripts, eclipse classpaths
etc. -->
- <ivy:retrieve sync="true" pattern="lib/[artifact].[ext]" />
+ <ivy:retrieve sync="true" pattern="lib/[artifact].[ext]" />
- <!-- generate the pretty HTML report for what we just retrieved
-->
- <ivy:report todir="lib" graph="false" />
+ <!-- generate the pretty HTML report for what we just retrieved -->
+ <ivy:report todir="lib" graph="false" />
- <echoxml file="lib/index.html" append="true">
- <html>
- <body>
- For details of the 3rd party libraries,
and their licences, see the <a href="uk.ac.gate-gate-core-all.html">Ivy
reports</a>
- </body>
- </html>
- </echoxml>
+ <echoxml file="lib/index.html" append="true">
+ <html>
+ <body>
+ For details of the 3rd party libraries, and their licences, see the
<a href="uk.ac.gate-gate-core-all.html">Ivy reports</a>
+ </body>
+ </html>
+ </echoxml>
- <!-- convert the Ivy file into a Maven POM. Note that this is
most definately
+ <!-- convert the Ivy file into a Maven POM. Note that this is most
definately
experimental and doesn't yet replace the one in
gate/build/deploy/maven -->
- <!-- <ivy:makepom ivyfile="gate-ivy.xml" pomfile="gate.pom.xml">
- <mapping conf="required,compile" scope="compile"/>
- <mapping conf="required,runtime" scope="runtime"/>
- </ivy:makepom> -->
- </target>
+ <!-- <ivy:makepom ivyfile="gate-ivy.xml" pomfile="gate.pom.xml">
+ <mapping conf="required,compile" scope="compile"/>
+ <mapping conf="required,runtime" scope="runtime"/>
+ </ivy:makepom> -->
+ </target>
- <!-- Calculates dependencies for the source code -->
- <target name="depend">
- <depend srcdir="${srcDir}" destdir="${outputDir}"
cache="${buildDir}/depcache" closure="yes" />
- </target>
+ <!-- Calculates dependencies for the source code -->
+ <target name="depend">
+ <depend srcdir="${srcDir}" destdir="${outputDir}"
cache="${buildDir}/depcache" closure="yes" />
+ </target>
- <!-- This target compiles all the classes -->
- <target name="compile" depends="prepare, depend" description="compile
the source ">
- <!-- Compile the java code from ${srcDir} into ${buildDir} -->
- <javac srcdir="${srcDir}" destdir="${outputDir}" source="1.5"
target="1.5" encoding="UTF-8" debug="true" deprecation="${deprecation}"
debuglevel="lines,source" includes="gate/**,com/**,hepple/**"
classpathref="build.class.path">
- <compilerarg value="-Xmaxwarns" />
- <compilerarg value="${gate.compile.maxwarnings}" />
- </javac>
- </target>
+ <!-- This target compiles all the classes -->
+ <target name="compile" depends="prepare, depend" description="compile the
source ">
+ <!-- Compile the java code from ${srcDir} into ${buildDir} -->
+ <javac srcdir="${srcDir}" destdir="${outputDir}" source="1.5" target="1.5"
encoding="UTF-8" debug="true" deprecation="${deprecation}"
debuglevel="lines,source" includes="gate/**,com/**,hepple/**"
classpathref="build.class.path">
+ <compilerarg value="-Xmaxwarns" />
+ <compilerarg value="${gate.compile.maxwarnings}" />
+ </javac>
+ </target>
- <!-- This target compiles all the classes including debug information
-->
- <target name="compile_debug" depends="prepare, depend"
description="compile the source ">
- <!-- Compile the java code from ${srcDir} into ${buildDir} -->
- <javac srcdir="${srcDir}" destdir="${outputDir}"
encoding="UTF-8" source="1.5" target="1.5" debug="true"
deprecation="${deprecation}" includes="gate/**,com/**,hepple/**"
classpathref="build.class.path" />
- </target>
+ <!-- This target compiles all the classes including debug information -->
+ <target name="compile_debug" depends="prepare, depend" description="compile
the source ">
+ <!-- Compile the java code from ${srcDir} into ${buildDir} -->
+ <javac srcdir="${srcDir}" destdir="${outputDir}" encoding="UTF-8"
source="1.5" target="1.5" debug="true" deprecation="${deprecation}"
includes="gate/**,com/**,hepple/**" classpathref="build.class.path" />
+ </target>
- <!-- Make gate.jar archive -->
- <target name="jar" depends="compile,resources">
- <jar destfile="${binDir}/gate.jar" update="false" index="true">
- <fileset dir="${outputDir}/"
includes="META-INF/**,gate/**,com/**,hepple/**" />
- <!-- <zipgroupfileset refid="libs"/> -->
- </jar>
- <!-- also build the launcher -->
- <ant dir="build/launcher" inheritAll="false" target="jar" />
- <antcall target="eclipse" />
- </target>
+ <!-- Make gate.jar archive -->
+ <target name="jar" depends="compile,resources">
+ <jar destfile="${binDir}/gate.jar" update="false" index="true">
+ <fileset dir="${outputDir}/"
includes="META-INF/**,gate/**,com/**,hepple/**" />
+ <!-- <zipgroupfileset refid="libs"/> -->
+ </jar>
+ <!-- also build the launcher -->
+ <ant dir="build/launcher" inheritAll="false" target="jar" />
+ <antcall target="eclipse" />
+ </target>
- <!-- Optional target useful for creating jars for embedded apps. It
splits
+ <!-- Optional target useful for creating jars for embedded apps. It splits
the contents that would go into gate.jar into subjars for easier updating,
omitting classes and test files not required for normal execution. -->
- <target name="split_jars" depends="compile,resources">
- <jar destfile="${binDir}/gate-core.jar" update="false"
index="true">
- <fileset dir="${outputDir}/">
- <include name="**/*.class" />
- <include
name="gate/resources/creole/creole.xml" />
- <include name="gate/resources/build.txt" />
- <include name="gate/resources/version.txt" />
- <include name="gate/util/ant/antlib.xml" />
- <exclude name="**/*Test*.class" />
- <exclude name="gate/creole/annic/**" />
- <exclude name="gate/**/gui/**" />
- <exclude name="gate/swing/**" />
- </fileset>
- </jar>
- <jar destfile="${binDir}/gate-gui.jar" update="false"
index="true">
- <fileset dir="${outputDir}/">
- <include name="gate/**/gui/**/*.class" />
- <include name="gate/swing/**/*.class" />
- <exclude name="**/*Test*.class" />
- </fileset>
- </jar>
- <jar destfile="${binDir}/gate-annic.jar" update="false"
index="true">
- <fileset dir="${outputDir}/">
- <include name="gate/creole/annic/**/*.class" />
- <exclude name="**/*Test*.class" />
- </fileset>
- </jar>
- <jar destfile="${binDir}/gate-resources.jar" update="false"
index="true">
- <fileset dir="${outputDir}/">
- <include name="**/img/**" />
- <include name="**/icons/**" />
- <include name="gate/resources/splash.html" />
- <include name="gate/resources/**/bootstrap/**"
/>
- <exclude name="**/img/splash_large.png" />
- </fileset>
- </jar>
- <!-- I don't think any of these files are needed for running
the UI.
+ <target name="split_jars" depends="compile,resources">
+ <jar destfile="${binDir}/gate-core.jar" update="false" index="true">
+ <fileset dir="${outputDir}/">
+ <include name="**/*.class" />
+ <include name="gate/resources/creole/creole.xml" />
+ <include name="gate/resources/build.txt" />
+ <include name="gate/resources/version.txt" />
+ <include name="gate/util/ant/antlib.xml" />
+ <exclude name="**/*Test*.class" />
+ <exclude name="gate/creole/annic/**" />
+ <exclude name="gate/**/gui/**" />
+ <exclude name="gate/swing/**" />
+ </fileset>
+ </jar>
+ <jar destfile="${binDir}/gate-gui.jar" update="false" index="true">
+ <fileset dir="${outputDir}/">
+ <include name="gate/**/gui/**/*.class" />
+ <include name="gate/swing/**/*.class" />
+ <exclude name="**/*Test*.class" />
+ </fileset>
+ </jar>
+ <jar destfile="${binDir}/gate-annic.jar" update="false" index="true">
+ <fileset dir="${outputDir}/">
+ <include name="gate/creole/annic/**/*.class" />
+ <exclude name="**/*Test*.class" />
+ </fileset>
+ </jar>
+ <jar destfile="${binDir}/gate-resources.jar" update="false" index="true">
+ <fileset dir="${outputDir}/">
+ <include name="**/img/**" />
+ <include name="**/icons/**" />
+ <include name="gate/resources/splash.html" />
+ <include name="gate/resources/**/bootstrap/**" />
+ <exclude name="**/img/splash_large.png" />
+ </fileset>
+ </jar>
+ <!-- I don't think any of these files are needed for running the UI.
Uncomment if this turns out to be incorrect-->
- <!--
+ <!--
<jar destfile="${binDir}/gate-resources-ext.jar"
update="false"
index="true">
@@ -346,21 +346,21 @@
</fileset>
</jar>
-->
- </target>
+ </target>
- <!-- Make gate.jar archive -->
- <target name="bigjar" depends="compile,resources">
- <jar destfile="${binDir}/gate.jar" update="false" index="true">
- <fileset dir="${outputDir}/"
includes="gate/**,com/**,hepple/**" />
- <zipgroupfileset refid="libs" />
- </jar>
- </target>
+ <!-- Make gate.jar archive -->
+ <target name="bigjar" depends="compile,resources">
+ <jar destfile="${binDir}/gate.jar" update="false" index="true">
+ <fileset dir="${outputDir}/" includes="gate/**,com/**,hepple/**" />
+ <zipgroupfileset refid="libs" />
+ </jar>
+ </target>
- <!-- Plugins -->
- <!-- Learning plugin needs to be before Lang_Chinese -->
- <filelist id="plugins.to.build" dir="plugins" files="
+ <!-- Plugins -->
+ <!-- Learning plugin needs to be before Lang_Chinese -->
+ <filelist id="plugins.to.build" dir="plugins" files="
Alignment Annotation_Merging Copy_Annots_Between_Docs Gazetteer_LKB
Gazetteer_Ontology_Based Groovy Inter_Annotator_Agreement
JAPE_Plus Keyphrase_Extraction_Algorithm Lang_Arabic Lang_Cebuano
Learning
@@ -374,335 +374,335 @@
Tagger_DateNormalizer Teamware_Tools Tagger_Measurements GENIA
Tagger_PennBio
Tagger_MutationFinder Tagger_NormaGene
" />
- <target name="plugins.build" depends="jar">
- <for param="plugin">
- <path>
- <filelist refid="plugins.to.build" />
- </path>
- <sequential>
- <echo>Building plugin @{plugin}</echo>
- <ant dir="@{plugin}" inheritAll="false"
target="build" />
- </sequential>
- </for>
- </target>
+ <target name="plugins.build" depends="jar">
+ <for param="plugin">
+ <path>
+ <filelist refid="plugins.to.build" />
+ </path>
+ <sequential>
+ <echo>Building plugin @{plugin}</echo>
+ <ant dir="@{plugin}" inheritAll="false" target="build" />
+ </sequential>
+ </for>
+ </target>
- <target name="plugins.javadoc" depends="jar">
- <for param="plugin">
- <path>
- <filelist refid="plugins.to.build" />
- </path>
- <sequential>
- <echo>Running javadoc for plugin
@{plugin}</echo>
- <ant dir="@{plugin}" inheritAll="false"
target="javadoc" />
- </sequential>
- </for>
- </target>
+ <target name="plugins.javadoc" depends="jar">
+ <for param="plugin">
+ <path>
+ <filelist refid="plugins.to.build" />
+ </path>
+ <sequential>
+ <echo>Running javadoc for plugin @{plugin}</echo>
+ <ant dir="@{plugin}" inheritAll="false" target="javadoc" />
+ </sequential>
+ </for>
+ </target>
- <target name="plugins.test" depends="jar">
- <for param="plugin">
- <path>
- <filelist refid="plugins.to.build" />
- </path>
- <sequential>
- <echo>Running tests for plugin @{plugin}</echo>
- <ant dir="@{plugin}" inheritAll="false"
target="test" />
- </sequential>
- </for>
- </target>
- <target name="plugins.distro.prepare">
- <for param="plugin">
- <path>
- <filelist refid="plugins.to.build" />
- </path>
- <sequential>
- <echo>Preparing plugin @{plugin} for
distribution</echo>
- <ant dir="@{plugin}" inheritAll="false"
target="distro.prepare" />
- </sequential>
- </for>
- </target>
+ <target name="plugins.test" depends="jar">
+ <for param="plugin">
+ <path>
+ <filelist refid="plugins.to.build" />
+ </path>
+ <sequential>
+ <echo>Running tests for plugin @{plugin}</echo>
+ <ant dir="@{plugin}" inheritAll="false" target="test" />
+ </sequential>
+ </for>
+ </target>
+ <target name="plugins.distro.prepare">
+ <for param="plugin">
+ <path>
+ <filelist refid="plugins.to.build" />
+ </path>
+ <sequential>
+ <echo>Preparing plugin @{plugin} for distribution</echo>
+ <ant dir="@{plugin}" inheritAll="false" target="distro.prepare" />
+ </sequential>
+ </for>
+ </target>
- <target name="plugins.clean">
- <for param="plugin">
- <path>
- <filelist refid="plugins.to.build" />
- </path>
- <sequential>
- <echo>Cleaning plugin @{plugin}</echo>
- <ant dir="@{plugin}" inheritAll="false"
target="clean" />
- </sequential>
- </for>
- </target>
+ <target name="plugins.clean">
+ <for param="plugin">
+ <path>
+ <filelist refid="plugins.to.build" />
+ </path>
+ <sequential>
+ <echo>Cleaning plugin @{plugin}</echo>
+ <ant dir="@{plugin}" inheritAll="false" target="clean" />
+ </sequential>
+ </for>
+ </target>
- <!-- Everything! -->
- <target name="all" depends="jar, plugins.build">
- </target>
+ <!-- Everything! -->
+ <target name="all" depends="jar, plugins.build">
+ </target>
- <!-- Run the beast using the default GATE launcher -->
- <target name="run" depends="run-pre, run-nonmac, run-mac">
- </target>
+ <!-- Run the beast using the default GATE launcher -->
+ <target name="run" depends="run-pre, run-nonmac, run-mac">
+ </target>
- <target name="run-pre">
- <!-- Find if the platform is MAC -->
- <condition property="running.on.mac">
- <os family="mac" />
- </condition>
- </target>
+ <target name="run-pre">
+ <!-- Find if the platform is MAC -->
+ <condition property="running.on.mac">
+ <os family="mac" />
+ </condition>
+ </target>
- <target name="run-nonmac" unless="running.on.mac">
- <!-- Call the GATE Launcher -->
- <java jar="bin/gateLauncher.jar" fork="true"
spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
- <jvmarg value="${server.or.client}" />
- <jvmarg value="-splash:bin/splash.png" />
- </java>
- </target>
+ <target name="run-nonmac" unless="running.on.mac">
+ <!-- Call the GATE Launcher -->
+ <java jar="bin/gateLauncher.jar" fork="true" spawn="${runtime.spawn}"
dir="." maxmemory="${runtime.max.memory}">
+ <jvmarg value="${server.or.client}" />
+ <jvmarg value="-splash:bin/splash.png" />
+ </java>
+ </target>
- <target name="run-mac" if="running.on.mac">
- <property name="gate.icon.location"
location="GATE.app/Contents/Resources/gate-icon.icns" />
- <!-- Don't pass a -d32 or -d64 on Tiger (10.4.x) -->
- <condition property="runtime.arch" value="">
- <matches pattern="10\.4(?:\..*)?"
string="${os.version}" />
- </condition>
- <condition property="runtime.arch" value="-d64" else="-d32">
- <os arch="x86_64" />
- </condition>
- <if>
- <length string="${runtime.arch}" when="greater"
length="0" />
- <then>
- <echo>Running GATE with ${runtime.arch}</echo>
- </then>
- </if>
+ <target name="run-mac" if="running.on.mac">
+ <property name="gate.icon.location"
location="GATE.app/Contents/Resources/gate-icon.icns" />
+ <!-- Don't pass a -d32 or -d64 on Tiger (10.4.x) -->
+ <condition property="runtime.arch" value="">
+ <matches pattern="10\.4(?:\..*)?" string="${os.version}" />
+ </condition>
+ <condition property="runtime.arch" value="-d64" else="-d32">
+ <os arch="x86_64" />
+ </condition>
+ <if>
+ <length string="${runtime.arch}" when="greater" length="0" />
+ <then>
+ <echo>Running GATE with ${runtime.arch}</echo>
+ </then>
+ </if>
- <!-- Call the GATE Launcher -->
- <java jar="bin/gateLauncher.jar" fork="true"
spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
- <jvmarg value="${server.or.client}" />
- <sysproperty key="sun.java2d.opengl" value="true" />
- <sysproperty key="apple.laf.useScreenMenuBar"
value="true" />
- <sysproperty key="apple.awt.antialiasing" value="true"
/>
- <sysproperty
key="com.apple.mrj.application.growbox.intrudes" value="false" />
- <sysproperty
key="com.apple.mrj.application.live-resize" value="true" />
- <!-- use "line" rather than "value" as runtime.arch may
be empty -->
- <jvmarg line="${runtime.arch}" />
- <jvmarg value="-Xdock:name=GATE ${gate.version}" />
- <jvmarg value="-Xdock:icon=${gate.icon.location}" />
- <jvmarg value="-splash:bin/splash.png" />
- </java>
- </target>
+ <!-- Call the GATE Launcher -->
+ <java jar="bin/gateLauncher.jar" fork="true" spawn="${runtime.spawn}"
dir="." maxmemory="${runtime.max.memory}">
+ <jvmarg value="${server.or.client}" />
+ <sysproperty key="sun.java2d.opengl" value="true" />
+ <sysproperty key="apple.laf.useScreenMenuBar" value="true" />
+ <sysproperty key="apple.awt.antialiasing" value="true" />
+ <sysproperty key="com.apple.mrj.application.growbox.intrudes"
value="false" />
+ <sysproperty key="com.apple.mrj.application.live-resize" value="true" />
+ <!-- use "line" rather than "value" as runtime.arch may be empty -->
+ <jvmarg line="${runtime.arch}" />
+ <jvmarg value="-Xdock:name=GATE ${gate.version}" />
+ <jvmarg value="-Xdock:icon=${gate.icon.location}" />
+ <jvmarg value="-splash:bin/splash.png" />
+ </java>
+ </target>
- <!-- Run the beast using ANT as a launcher -->
- <target name="runWithAnt"
depends="runWAnt-pre,runWAnt-nonmac,runWAnt-mac">
- <echo level="info">
+ <!-- Run the beast using ANT as a launcher -->
+ <target name="runWithAnt" depends="runWAnt-pre,runWAnt-nonmac,runWAnt-mac">
+ <echo level="info">
GATE doesn't start? Consult http://gate.ac.uk/wiki/gate-user-faq.html
</echo>
- </target>
+ </target>
- <!-- Prepares for running GATE -->
- <target name="runWAnt-pre">
- <property name="class.path.debug" refid="run.class.path" />
- <echo>
+ <!-- Prepares for running GATE -->
+ <target name="runWAnt-pre">
+ <property name="class.path.debug" refid="run.class.path" />
+ <echo>
Starting GATE ${gate.version}, build ${gate.build}
Using JVM at ${java.home}
Initial memory ${runtime.start.memory}
Maximum memory ${runtime.max.memory}
CLASSPATH=${class.path.debug}
</echo>
- <!-- Prepare any user-specified "run." properties -->
- <propertyset id="run.properties">
- <propertyref prefix="run." />
- <mapper type="glob" from="run.*" to="*" />
- </propertyset>
- <!-- gather os-specific properties together -->
- <propertyset id="os.properties">
- <propertyref prefix="os.${os.name}." />
- <mapper type="glob" from="os.${os.name}.*" to="*" />
- </propertyset>
- <!-- Find if the platform is MAC -->
- <condition property="running.on.mac">
- <os family="mac" />
- </condition>
- </target>
+ <!-- Prepare any user-specified "run." properties -->
+ <propertyset id="run.properties">
+ <propertyref prefix="run." />
+ <mapper type="glob" from="run.*" to="*" />
+ </propertyset>
+ <!-- gather os-specific properties together -->
+ <propertyset id="os.properties">
+ <propertyref prefix="os.${os.name}." />
+ <mapper type="glob" from="os.${os.name}.*" to="*" />
+ </propertyset>
+ <!-- Find if the platform is MAC -->
+ <condition property="running.on.mac">
+ <os family="mac" />
+ </condition>
+ </target>
- <!-- Starts GATE on non MAC platforms -->
- <target name="runWAnt-nonmac" unless="running.on.mac">
- <java classname="gate.Main" classpathref="run.class.path"
fork="true" spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
- <!-- <jvmarg
value="-Xms${runtime.start.memory}"/> -->
- <jvmarg value="${server.or.client}" />
- <sysproperty key="gate.home" value="${basedir}" />
- <!--<sysproperty key="awt.toolkit"
value="sun.awt.motif.MToolkit"/>-->
- <!-- <sysproperty key="sun.java2d.opengl"
value="true"/>-->
- <syspropertyset refid="run.properties" />
- <syspropertyset refid="os.properties" />
- </java>
- </target>
+ <!-- Starts GATE on non MAC platforms -->
+ <target name="runWAnt-nonmac" unless="running.on.mac">
+ <java classname="gate.Main" classpathref="run.class.path" fork="true"
spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
+ <!-- <jvmarg value="-Xms${runtime.start.memory}"/> -->
+ <jvmarg value="${server.or.client}" />
+ <sysproperty key="gate.home" value="${basedir}" />
+ <!--<sysproperty key="awt.toolkit" value="sun.awt.motif.MToolkit"/>-->
+ <!-- <sysproperty key="sun.java2d.opengl" value="true"/>-->
+ <syspropertyset refid="run.properties" />
+ <syspropertyset refid="os.properties" />
+ </java>
+ </target>
- <!-- Starts GATE on MAC platforms -->
- <target name="runWAnt-mac" if="running.on.mac">
- <property name="gate.icon.location"
location="GATE.app/Contents/Resources/gate-icon.icns" />
- <!-- Don't pass a -d32 or -d64 on Tiger (10.4.x) -->
- <condition property="runtime.arch" value="">
- <matches pattern="10\.4(?:\..*)?"
string="${os.version}" />
- </condition>
- <condition property="runtime.arch" value="-d64" else="-d32">
- <os arch="x86_64" />
- </condition>
- <if>
- <length string="${runtime.arch}" when="greater"
length="0" />
- <then>
- <echo>Running GATE with ${runtime.arch}</echo>
- </then>
- </if>
- <java classname="gate.Main" classpathref="run.class.path"
fork="true" spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
- <!-- <jvmarg
value="-Xms${runtime.start.memory}"/> -->
- <sysproperty key="gate.home" value="${basedir}" />
- <sysproperty key="sun.java2d.opengl" value="true" />
- <sysproperty key="apple.laf.useScreenMenuBar"
value="true" />
- <sysproperty key="apple.awt.antialiasing" value="true"
/>
- <sysproperty
key="com.apple.mrj.application.growbox.intrudes" value="false" />
- <sysproperty
key="com.apple.mrj.application.live-resize" value="true" />
- <!-- use "line" rather than "value" as runtime.arch may
be empty -->
- <jvmarg line="${runtime.arch}" />
- <jvmarg value="-Xdock:name=GATE ${gate.version}" />
- <jvmarg value="-Xdock:icon=${gate.icon.location}" />
- <syspropertyset refid="run.properties" />
- <syspropertyset refid="os.properties" />
- </java>
- </target>
+ <!-- Starts GATE on MAC platforms -->
+ <target name="runWAnt-mac" if="running.on.mac">
+ <property name="gate.icon.location"
location="GATE.app/Contents/Resources/gate-icon.icns" />
+ <!-- Don't pass a -d32 or -d64 on Tiger (10.4.x) -->
+ <condition property="runtime.arch" value="">
+ <matches pattern="10\.4(?:\..*)?" string="${os.version}" />
+ </condition>
+ <condition property="runtime.arch" value="-d64" else="-d32">
+ <os arch="x86_64" />
+ </condition>
+ <if>
+ <length string="${runtime.arch}" when="greater" length="0" />
+ <then>
+ <echo>Running GATE with ${runtime.arch}</echo>
+ </then>
+ </if>
+ <java classname="gate.Main" classpathref="run.class.path" fork="true"
spawn="${runtime.spawn}" dir="." maxmemory="${runtime.max.memory}">
+ <!-- <jvmarg value="-Xms${runtime.start.memory}"/> -->
+ <sysproperty key="gate.home" value="${basedir}" />
+ <sysproperty key="sun.java2d.opengl" value="true" />
+ <sysproperty key="apple.laf.useScreenMenuBar" value="true" />
+ <sysproperty key="apple.awt.antialiasing" value="true" />
+ <sysproperty key="com.apple.mrj.application.growbox.intrudes"
value="false" />
+ <sysproperty key="com.apple.mrj.application.live-resize" value="true" />
+ <!-- use "line" rather than "value" as runtime.arch may be empty -->
+ <jvmarg line="${runtime.arch}" />
+ <jvmarg value="-Xdock:name=GATE ${gate.version}" />
+ <jvmarg value="-Xdock:icon=${gate.icon.location}" />
+ <syspropertyset refid="run.properties" />
+ <syspropertyset refid="os.properties" />
+ </java>
+ </target>
- <!-- Clear all build output -->
- <target name="clean.gate">
- <delete includeemptydirs="true">
- <fileset dir="${outputDir}"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
- </delete>
- </target>
+ <!-- Clear all build output -->
+ <target name="clean.gate">
+ <delete includeemptydirs="true">
+ <fileset dir="${outputDir}" excludes="**/CVS,**/CVS/**,**/.cvsignore" />
+ </delete>
+ </target>
- <!-- Clean everything (including buildable plugins) -->
- <target name="clean" depends="clean.gate, plugins.clean" />
+ <!-- Clean everything (including buildable plugins) -->
+ <target name="clean" depends="clean.gate, plugins.clean" />
- <!-- Make documentation -->
- <target name="java2html.taskdef">
- <taskdef name="java2html"
classname="de.java2html.anttasks.Java2HtmlTask" classpath="lib/java2html.jar" />
- </target>
+ <!-- Make documentation -->
+ <target name="java2html.taskdef">
+ <taskdef name="java2html" classname="de.java2html.anttasks.Java2HtmlTask"
classpath="lib/java2html.jar" />
+ </target>
- <target name="javadoc.core" depends="java2html.taskdef">
- <javadoc access="protected" destdir="${docDir}/javadoc"
classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE
JavaDoc" docencoding="UTF-8" charset="UTF-8" source="1.5" useexternalfile="yes"
breakiterator="true" linksource="yes" maxmemory="${runtime.max.memory}">
- <fileset dir="${srcDir}" includes="**/*.java"
excludes="gate/resources/**" />
- <link href="http://java.sun.com/j2se/1.5.0/docs/api/" />
- </javadoc>
- <!-- Now replace the ugly Java-html files with a better version
-->
- <delete dir="${docDir}/javadoc/src-html" />
- <java2html srcdir="${srcDir}"
destdir="${docDir}/javadoc/src-html" includes="**/*.java" style="eclipse"
showLineNumbers="true" showFileName="true" showTableBorder="false"
includeDocumentHeader="true" outputFormat="html" lineAnchorPrefix="line."
tabs="2" addLineAnchors="true" showDefaultTitle="true" useShortFileName="true"
overwrite="true" />
- </target>
+ <target name="javadoc.core" depends="java2html.taskdef">
+ <javadoc access="protected" destdir="${docDir}/javadoc"
classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE
JavaDoc" docencoding="UTF-8" charset="UTF-8" source="1.5" useexternalfile="yes"
breakiterator="true" linksource="yes" maxmemory="${runtime.max.memory}">
+ <fileset dir="${srcDir}" includes="**/*.java"
excludes="gate/resources/**" />
+ <link href="http://java.sun.com/j2se/1.5.0/docs/api/" />
+ </javadoc>
+ <!-- Now replace the ugly Java-html files with a better version -->
+ <delete dir="${docDir}/javadoc/src-html" />
+ <java2html srcdir="${srcDir}" destdir="${docDir}/javadoc/src-html"
includes="**/*.java" style="eclipse" showLineNumbers="true" showFileName="true"
showTableBorder="false" includeDocumentHeader="true" outputFormat="html"
lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true"
useShortFileName="true" overwrite="true" />
+ </target>
- <!-- Make documentation - internal -->
- <target name="internaljavadoc" depends="java2html.taskdef">
- <javadoc access="private" destdir="${docDir}/javadoc/internal"
classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE
JavaDoc (including private members)"
link="http://java.sun.com/j2se/1.5.0/docs/api/" docencoding="UTF-8"
charset="UTF-8" source="1.5" useexternalfile="yes" breakiterator="true"
linksource="yes" maxmemory="${runtime.max.memory}">
- <fileset dir="${srcDir}" includes="**/*.java"
excludes="gate/resources/**" />
- </javadoc>
- <delete dir="${docDir}/javadoc/internal/src-html" />
- <java2html srcdir="${srcDir}"
destdir="${docDir}/javadoc/internal/src-html" includes="**/*.java"
style="eclipse" showLineNumbers="true" showFileName="true"
showTableBorder="false" includeDocumentHeader="true" outputFormat="html"
lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true"
useShortFileName="true" overwrite="true" />
- </target>
+ <!-- Make documentation - internal -->
+ <target name="internaljavadoc" depends="java2html.taskdef">
+ <javadoc access="private" destdir="${docDir}/javadoc/internal"
classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE
JavaDoc (including private members)"
link="http://java.sun.com/j2se/1.5.0/docs/api/" docencoding="UTF-8"
charset="UTF-8" source="1.5" useexternalfile="yes" breakiterator="true"
linksource="yes" maxmemory="${runtime.max.memory}">
+ <fileset dir="${srcDir}" includes="**/*.java"
excludes="gate/resources/**" />
+ </javadoc>
+ <delete dir="${docDir}/javadoc/internal/src-html" />
+ <java2html srcdir="${srcDir}"
destdir="${docDir}/javadoc/internal/src-html" includes="**/*.java"
style="eclipse" showLineNumbers="true" showFileName="true"
showTableBorder="false" includeDocumentHeader="true" outputFormat="html"
lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true"
useShortFileName="true" overwrite="true" />
+ </target>
- <target name="javadoc" depends="javadoc.core,plugins.javadoc" />
+ <target name="javadoc" depends="javadoc.core,plugins.javadoc" />
- <target name="doc" depends="javadoc, internaljavadoc" />
+ <target name="doc" depends="javadoc, internaljavadoc" />
- <!-- Clear all built documentation -->
- <target name="docclean">
- <delete includeemptydirs="true">
- <fileset dir="${docDir}/javadoc"
excludes="**/CVS,**/CVS/**,**/.cvsignore,internal,internal/**" />
- </delete>
- <delete includeemptydirs="true">
- <fileset dir="${docDir}/javadoc/internal"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
- </delete>
- </target>
+ <!-- Clear all built documentation -->
+ <target name="docclean">
+ <delete includeemptydirs="true">
+ <fileset dir="${docDir}/javadoc"
excludes="**/CVS,**/CVS/**,**/.cvsignore,internal,internal/**" />
+ </delete>
+ <delete includeemptydirs="true">
+ <fileset dir="${docDir}/javadoc/internal"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
+ </delete>
+ </target>
- <!-- Rebuild the JAPE file parser -->
- <target name="jape">
- <java classname="javacc" fork="true" spawn="false"
dir="${srcDir}/gate/jape/parser">
- <classpath>
- <pathelement location="${libDir}/javacc.jar" />
- </classpath>
- <arg value="ParseCpsl.jj" />
- </java>
+ <!-- Rebuild the JAPE file parser -->
+ <target name="jape">
+ <java classname="javacc" fork="true" spawn="false"
dir="${srcDir}/gate/jape/parser">
+ <classpath>
+ <pathelement location="${libDir}/javacc.jar" />
+ </classpath>
+ <arg value="ParseCpsl.jj" />
+ </java>
- <java classname="jjdoc" fork="true" spawn="false"
dir="${srcDir}/gate/jape/parser">
- <classpath>
- <pathelement location="${libDir}/javacc.jar" />
- </classpath>
- <arg value="ParseCpsl.jj" />
- </java>
+ <java classname="jjdoc" fork="true" spawn="false"
dir="${srcDir}/gate/jape/parser">
+ <classpath>
+ <pathelement location="${libDir}/javacc.jar" />
+ </classpath>
+ <arg value="ParseCpsl.jj" />
+ </java>
- <move file="${srcDir}/gate/jape/parser/ParseCpsl.html"
toFile="${srcDir}/gate/jape/parser/ParseCpslPlain.html" />
- </target>
+ <move file="${srcDir}/gate/jape/parser/ParseCpsl.html"
toFile="${srcDir}/gate/jape/parser/ParseCpslPlain.html" />
+ </target>
- <target name="test.gate" depends="jar">
- <makeurl property="creole.plugins" separator=";">
- <path>
- <pathelement
location="${basedir}/plugins/ANNIE/" />
- <pathelement
location="${basedir}/plugins/Information_Retrieval/" />
- <pathelement
location="${basedir}/plugins/Ontology_Tools" />
- <pathelement
location="${basedir}/plugins/Tools/" />
- <pathelement
location="${basedir}/plugins/WordNet" />
- </path>
- </makeurl>
- <junit fork="true" showoutput="true" printsummary="yes"
maxmemory="512m">
- <classpath refid="test.class.path" />
- <sysproperty key="gate.config"
value="${buildDir}/gate.xml" />
- <sysproperty key="gate.home" value="${basedir}" />
- <sysproperty key="load.plugin.path"
value="${creole.plugins}" />
- <sysproperty key="java.awt.headless" value="true" />
- <!-- set this property to run just a single test case
-->
- <syspropertyset>
- <propertyref name="gate.testcase" />
- </syspropertyset>
- <formatter type="plain" usefile="false" />
- <formatter type="xml" if="write.xml" />
- <formatter type="plain" if="write.plain" />
- <test name="gate.TestGate" outfile="testResult"
todir="${buildDir}" />
- </junit>
- </target>
+ <target name="test.gate" depends="jar">
+ <makeurl property="creole.plugins" separator=";">
+ <path>
+ <pathelement location="${basedir}/plugins/ANNIE/" />
+ <pathelement location="${basedir}/plugins/Information_Retrieval/" />
+ <pathelement location="${basedir}/plugins/Ontology_Tools" />
+ <pathelement location="${basedir}/plugins/Tools/" />
+ <pathelement location="${basedir}/plugins/WordNet" />
+ </path>
+ </makeurl>
+ <junit fork="true" showoutput="true" printsummary="yes" maxmemory="512m">
+ <classpath refid="test.class.path" />
+ <sysproperty key="gate.config" value="${buildDir}/gate.xml" />
+ <sysproperty key="gate.home" value="${basedir}" />
+ <sysproperty key="load.plugin.path" value="${creole.plugins}" />
+ <sysproperty key="java.awt.headless" value="true" />
+ <!-- set this property to run just a single test case -->
+ <syspropertyset>
+ <propertyref name="gate.testcase" />
+ </syspropertyset>
+ <formatter type="plain" usefile="false" />
+ <formatter type="xml" if="write.xml" />
+ <formatter type="plain" if="write.plain" />
+ <test name="gate.TestGate" outfile="testResult" todir="${buildDir}" />
+ </junit>
+ </target>
- <target name="test" depends="test.gate, plugins.build, plugins.test" />
+ <target name="test" depends="test.gate, plugins.build, plugins.test" />
- <target name="test.reports">
- <junitreport>
- <fileset dir="${basedir}">
- <include name="build/testResult.xml" />
- <include name="plugins/**/TEST-*.xml" />
- </fileset>
- <report todir="build" format="noframes" />
- </junitreport>
- </target>
+ <target name="test.reports">
+ <junitreport>
+ <fileset dir="${basedir}">
+ <include name="build/testResult.xml" />
+ <include name="plugins/**/TEST-*.xml" />
+ </fileset>
+ <report todir="build" format="noframes" />
+ </junitreport>
+ </target>
- <target name="cruise">
- <antcall target="test">
- <param name="write.xml" value="true" />
- </antcall>
- <antcall target="test.reports" />
- </target>
+ <target name="cruise">
+ <antcall target="test">
+ <param name="write.xml" value="true" />
+ </antcall>
+ <antcall target="test.reports" />
+ </target>
- <!-- ensures the .classpath file matches the lib folder -->
- <target name="eclipse">
- <typedef resource="gate/util/ant/antlib.xml"
classpathref="run.class.path" />
- <synceclipse dir="lib" />
- </target>
+ <!-- ensures the .classpath file matches the lib folder -->
+ <target name="eclipse">
+ <typedef resource="gate/util/ant/antlib.xml" classpathref="run.class.path"
/>
+ <synceclipse dir="lib" />
+ </target>
- <!-- Make the archives for the GATE Distribution -->
- <target name="distro-zips" depends="prepare, compile, jar, doc,
plugins.build, plugins.distro.prepare">
- <ant antfile="build/deploy/build.xml" target="make-zips" />
- </target>
+ <!-- Make the archives for the GATE Distribution -->
+ <target name="distro-zips" depends="prepare, compile, jar, doc,
plugins.build, plugins.distro.prepare">
+ <ant antfile="build/deploy/build.xml" target="make-zips" />
+ </target>
- <!-- build the installer .jar -->
- <target name="installer" depends="prepare, compile, jar, doc,
plugins.build, plugins.distro.prepare">
- <ant antfile="build/deploy/build.xml" target="build-installer"
/>
- </target>
+ <!-- build the installer .jar -->
+ <target name="installer" depends="prepare, compile, jar, doc, plugins.build,
plugins.distro.prepare">
+ <ant antfile="build/deploy/build.xml" target="build-installer" />
+ </target>
- <target name="distro" depends="distro-zips, installer" />
+ <target name="distro" depends="distro-zips, installer" />
- <!--
+ <!--
Regenerate plugins.html. If perl is not on your path or you need to use a
non-default perl interpreter, set -Dperl.bin=/path/to/perl on the ant command
line.
@@ -712,25 +712,25 @@
loaded into GATE from the plugin manager. Most plugins are handled by
running "bin/ant all" but you will need to build SUPPLE manually.
-->
- <property name="perl.bin" value="perl" />
+ <property name="perl.bin" value="perl" />
- <target name="plugins.html" depends="plugins.build">
- <typedef resource="gate/util/ant/antlib.xml"
classpathref="run.class.path" />
- <!-- clean out previous run -->
- <delete dir="build/plugins" />
- <mkdir dir="build/plugins" />
+ <target name="plugins.html" depends="plugins.build">
+ <typedef resource="gate/util/ant/antlib.xml" classpathref="run.class.path"
/>
+ <!-- clean out previous run -->
+ <delete dir="build/plugins" />
+ <mkdir dir="build/plugins" />
- <!-- expand the plugin creole.xml files with information from
any
+ <!-- expand the plugin creole.xml files with information from any
@CreoleResource annotations on their resources -->
- <expandcreoles todir="build/plugins" gatehome="${basedir}">
- <fileset dir="plugins" includes="*/creole.xml" />
- </expandcreoles>
+ <expandcreoles todir="build/plugins" gatehome="${basedir}">
+ <fileset dir="plugins" includes="*/creole.xml" />
+ </expandcreoles>
- <exec dir="bin" executable="${perl.bin}">
- <arg value="-CDS" />
- <arg file="bin/plugins-info-to-HTML.pl" />
- <arg value="runningFromAnt" />
- </exec>
- </target>
+ <exec dir="bin" executable="${perl.bin}">
+ <arg value="-CDS" />
+ <arg file="bin/plugins-info-to-HTML.pl" />
+ <arg value="runningFromAnt" />
+ </exec>
+ </target>
</project>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs