Revision: 17065
http://sourceforge.net/p/gate/code/17065
Author: markagreenwood
Date: 2013-11-08 08:57:52 +0000 (Fri, 08 Nov 2013)
Log Message:
-----------
eclipse and build changes so that everything compiles, although the tests don't
currently work because the look for resources in the wrong place
Modified Paths:
--------------
gate/branches/sawdust/.classpath
gate/branches/sawdust/.project
gate/branches/sawdust/build.xml
Modified: gate/branches/sawdust/.classpath
===================================================================
--- gate/branches/sawdust/.classpath 2013-11-08 07:18:06 UTC (rev 17064)
+++ gate/branches/sawdust/.classpath 2013-11-08 08:57:52 UTC (rev 17065)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="src/core"/>
<classpathentry kind="src" output="plugins/Tools/classes"
path="plugins/Tools/src"/>
<classpathentry kind="src" output="plugins/Coref_Tools/classes"
path="plugins/Coref_Tools/src"/>
<classpathentry kind="src" output="plugins/JAPE_Plus/classes"
path="plugins/JAPE_Plus/src"/>
@@ -38,6 +38,7 @@
<classpathentry kind="src" output="plugins/Lang_Russian/classes"
path="plugins/Lang_Russian/src"/>
<classpathentry kind="src" output="plugins/Tagger_Stanford/classes"
path="plugins/Tagger_Stanford/src"/>
<classpathentry kind="src" output="plugins/Twitter/classes"
path="plugins/Twitter/src"/>
+ <classpathentry kind="src" output="classes/test" path="src/test"/>
<classpathentry kind="lib"
path="plugins/Gazetteer_Ontology_Based/lib/oro-2.0.8.jar"/>
<classpathentry kind="lib" path="plugins/WordNet/lib/jwnl.jar"/>
<classpathentry kind="lib"
path="plugins/LingPipe/lib/lingpipe-4.0.1.jar"/>
@@ -81,10 +82,9 @@
<classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/>
<classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/>
<classpathentry kind="lib"
path="plugins/JAPE_Plus/lib/colt-1.2.0-free.jar"/>
- <classpathentry kind="lib" path="lib/woodstox-core-lgpl.jar"/>
<classpathentry kind="lib"
path="plugins/Ontology/lib/openrdf-sesame-2.6.10-onejar.jar"/>
<classpathentry kind="lib"
path="plugins/Ontology/lib/owlim-lite-5.3.jar"/>
<classpathentry kind="lib"
path="plugins/OpenNLP/lib/opennlp-maxent-3.0.2-incubating.jar"/>
- <classpathentry exported="true" kind="con"
path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=GATE&ivyXmlPath=ivy.xml&confs=*"/>
- <classpathentry kind="output" path="classes"/>
+ <classpathentry exported="true" kind="con"
path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=GATE+Sawdust&ivyXmlPath=ivy.xml&confs=*"/>
+ <classpathentry kind="output" path="classes/core"/>
</classpath>
Modified: gate/branches/sawdust/.project
===================================================================
--- gate/branches/sawdust/.project 2013-11-08 07:18:06 UTC (rev 17064)
+++ gate/branches/sawdust/.project 2013-11-08 08:57:52 UTC (rev 17065)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>GATE</name>
+ <name>GATE Sawdust</name>
<comment></comment>
<projects>
</projects>
Modified: gate/branches/sawdust/build.xml
===================================================================
--- gate/branches/sawdust/build.xml 2013-11-08 07:18:06 UTC (rev 17064)
+++ gate/branches/sawdust/build.xml 2013-11-08 08:57:52 UTC (rev 17065)
@@ -69,6 +69,7 @@
<!-- Sources -->
<property name="srcDir" location="src/core" />
+ <property name="tests.srcDir" location="src/test" />
<!-- Files required by the build process -->
<property name="buildDir" location="build" />
@@ -78,6 +79,7 @@
<!-- Output directory for the build process -->
<property name="outputDir" location="classes/core" />
+ <property name="tests.outputDir" location="classes/test" />
<!-- Libraries directory for the build process -->
<property name="libDir" location="lib" />
@@ -134,7 +136,8 @@
<!-- The test CLASSPATH -->
<path id="test.class.path">
<pathelement location="${binDir}" />
- <pathelement location="${outputDir}" />
+ <pathelement location="${binDir}/gate.jar" />
+ <pathelement location="${tests.outputDir}" />
<fileset refid="libs" />
</path>
@@ -579,6 +582,9 @@
<delete includeemptydirs="true">
<fileset dir="${outputDir}" excludes="**/CVS,**/CVS/**,**/.cvsignore" />
</delete>
+ <delete includeemptydirs="true">
+ <fileset dir="${tests.outputDir}"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
+ </delete>
</target>
<!-- Clean everything (including buildable plugins) -->
@@ -642,8 +648,18 @@
<move file="${srcDir}/gate/jape/parser/ParseCpsl.html"
toFile="${srcDir}/gate/jape/parser/ParseCpslPlain.html" />
</target>
-
- <target name="test.gate" depends="jar">
+ <target name="prepare.tests" depends="jar">
+ <mkdir dir="${tests.outputDir}"/>
+ <javac srcdir="${tests.srcDir}" destdir="${tests.outputDir}"
source="1.5" target="1.5" encoding="UTF-8" debug="true"
deprecation="${deprecation}" debuglevel="lines,source"
classpathref="run.class.path">
+ <compilerarg value="-Xmaxwarns" />
+ <compilerarg value="${gate.compile.maxwarnings}" />
+ </javac>
+ <copy todir="${tests.outputDir}/gate/resources" includeEmptyDirs="true">
+ <fileset dir="${tests.srcDir}/gate/resources"
excludes="**/CVS,**/CVS/**,**/.cvsignore" />
+ </copy>
+ </target>
+
+ <target name="test.gate" depends="prepare.tests">
<makeurl property="creole.plugins" separator=";">
<path>
<pathelement location="${basedir}/plugins/ANNIE/" />
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs