@@ -18,7 +18,7 @@ You should have received a copy of the GNU Lesser General Public License
1818along with this software. If not, see <http://www.gnu.org/licenses/>.
1919-->
2020
21- <project name =" gateplugin-LearningFramework" basedir =" ." default =" build " xmlns : ivy = " antlib:org.apache.ivy.ant " >
21+ <project name =" gateplugin-LearningFramework" basedir =" ." default =" jar " >
2222 <!-- Prevent Ant from warning about includeantruntime not being set -->
2323 <property name =" build.sysclasspath" value =" ignore" />
2424
@@ -46,42 +46,9 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
4646 <property name =" src.dir" location =" src" />
4747 <property name =" classes.dir" location =" classes" />
4848 <property name =" doc.dir" location =" doc" />
49- <property name =" build.dir" location =" build" />
5049 <property name =" javadoc.dir" location =" ${ doc.dir } /javadoc" />
5150 <property name =" jar.location" location =" gateplugin-${ plugin.name } .jar" />
5251
53- <!-- Ivy setup -->
54- <property name =" ivy.dir" location =" build" />
55- <path id =" ivy.lib.path" >
56- <fileset file =" ${ gate.home } /build/lib/ivy.jar" />
57- </path >
58- <taskdef resource =" org/apache/ivy/ant/antlib.xml"
59- uri =" antlib:org.apache.ivy.ant"
60- classpathref =" ivy.lib.path" />
61-
62- <taskdef classname =" gate.util.ant.ExpandIvy" name =" expandivy" >
63- <classpath >
64- <pathelement location =" ${ gate.jar } " />
65- <fileset dir =" ${ gate.lib } " includes =" *.jar" />
66- </classpath >
67- </taskdef >
68- <target name =" expandivy" >
69- <expandivy dir =" ." />
70- </target >
71-
72-
73- <target name =" initivy" >
74- <ivy : configure file =" ${ build.dir } /ivysettings.xml" />
75- <!-- <ivy:retrieve sync="true" file="${build.dir}/ivy.xml" pattern="${libDir}/[artifact]-[revision].[ext]" /> -->
76- <!-- <ivy:retrieve file="${build.dir}/ivy.xml"/> -->
77- <ivy : resolve file =" ${ build.dir } /ivy.xml" />
78- <!-- <ivy:report todir="${ivy.dir}/ivy-report" /> -->
79- <ivy : cachepath pathid =" ivylibs" />
80- </target >
81-
82- <target name =" prepare" depends =" initivy" >
83- <mkdir dir =" ${ classes.dir } " />
84-
8552 <!-- Path to compile - includes gate.jar and GATE/lib/*.jar -->
8653 <path id =" gate.classpath" >
8754 <pathelement location =" ${ gate.jar } " />
@@ -94,21 +61,18 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
9461 <!-- GATE classes plus local lib jars -->
9562 <path id =" compile.classpath" >
9663 <path refid =" gate.classpath" />
97- <path refid =" ivylibs" />
98- <!--
9964 <fileset dir =" lib" >
10065 <include name =" *.jar" />
10166 </fileset >
102- -->
103- <fileset dir =" lib-static" >
104- <include name =" *.jar" />
105- </fileset >
10667 </path >
10768
10869 <path id =" run.classpath" >
10970 <path refid =" compile.classpath" />
11071 <pathelement location =" ${ jar.location } " />
11172 </path >
73+
74+ <target name =" prepare" >
75+ <mkdir dir =" classes" />
11276 </target >
11377
11478 <!-- compile the source -->
@@ -119,8 +83,8 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
11983 deprecation =" true"
12084 debug =" true"
12185 debuglevel =" lines,source"
122- source =" 1.7 "
123- target =" 1.7 " >
86+ source =" 1.8 "
87+ target =" 1.8 " >
12488 <compilerarg value =" -Xlint:unchecked" />
12589 </javac >
12690 </target >
@@ -174,10 +138,6 @@ along with this software. If not, see <http://www.gnu.org/licenses/>.
174138 <delete dir =" ${ classes.dir } " />
175139 </target >
176140
177- <target name =" clean.all" depends =" clean" >
178- <ivy : cleancache />
179- </target >
180-
181141 <!-- Clean up - remove .class and .jar files -->
182142 <target name =" clean" depends =" clean.classes" >
183143 <delete file =" ${ jar.location } " />
0 commit comments