Revision: 14083 http://gate.svn.sourceforge.net/gate/?rev=14083&view=rev Author: valyt Date: 2011-06-28 10:43:52 +0000 (Tue, 28 Jun 2011)
Log Message: ----------- Generate the creole.xml content from ANT. Modified Paths: -------------- mimir/trunk/plugins/measurements/build.xml Added Paths: ----------- mimir/trunk/plugins/measurements/creole.xml.template Removed Paths: ------------- mimir/trunk/plugins/measurements/creole.xml Modified: mimir/trunk/plugins/measurements/build.xml =================================================================== --- mimir/trunk/plugins/measurements/build.xml 2011-06-28 10:29:38 UTC (rev 14082) +++ mimir/trunk/plugins/measurements/build.xml 2011-06-28 10:43:52 UTC (rev 14083) @@ -21,7 +21,8 @@ <property name="src.dir" location="src" /> <property name="doc.dir" location="doc" /> - <property name="jar.file" location="${app.name}-${app.version}.jar" /> + <property name="jar.name" value="${app.name}-${app.version}.jar" /> + <property name="jar.file" location="${jar.name}" /> <path id="compile.classpath"> <path refid="core-libs" /> <path refid="local-libs" /> @@ -46,13 +47,21 @@ classpathref="compile.classpath" /> </target> - <target name="jar" depends="clean, compile"> + <target name="jar" depends="clean, compile, creole.xml"> <jar file="${jar.file}" basedir="${classes.dir}" update="false"> <manifest> <attribute name="Class-Path" value="${manifest.runtime.classpath}" /> </manifest> </jar> </target> + + <target name="creole.xml"> + <copy file="creole.xml.template" tofile="creole.xml"> + <filterset> + <filter token="jar" value="${jar.name}" /> + </filterset> + </copy> + </target> <target name="distro" depends="jar, javadoc" /> Deleted: mimir/trunk/plugins/measurements/creole.xml =================================================================== --- mimir/trunk/plugins/measurements/creole.xml 2011-06-28 10:29:38 UTC (rev 14082) +++ mimir/trunk/plugins/measurements/creole.xml 2011-06-28 10:43:52 UTC (rev 14083) @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<!-- This plugin does not provide any GATE resources, but uses the CREOLE -mechanism to supply a set of jar files to be added to the classpath of the caller.--> -<CREOLE-DIRECTORY> - <JAR SCAN="true">mimir-plugin-measurements-3.2.1-snapshot.jar</JAR> - <JAR>lib/MeasurementTagger.jar</JAR> -</CREOLE-DIRECTORY> Copied: mimir/trunk/plugins/measurements/creole.xml.template (from rev 14078, mimir/trunk/plugins/measurements/creole.xml) =================================================================== --- mimir/trunk/plugins/measurements/creole.xml.template (rev 0) +++ mimir/trunk/plugins/measurements/creole.xml.template 2011-06-28 10:43:52 UTC (rev 14083) @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!-- This plugin does not provide any GATE resources, but uses the CREOLE +mechanism to supply a set of jar files to be added to the classpath of the caller.--> +<CREOLE-DIRECTORY> + <JAR SCAN="true">mimir-plugin-measurements-3.2.1-snapshot.jar</JAR> + <JAR>lib/MeasurementTagger.jar</JAR> +</CREOLE-DIRECTORY> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs