Revision: 14080 http://gate.svn.sourceforge.net/gate/?rev=14080&view=rev Author: valyt Date: 2011-06-28 10:25:47 +0000 (Tue, 28 Jun 2011)
Log Message: ----------- Generate creole.xml with the latest jar name. Modified Paths: -------------- mimir/trunk/plugins/db-h2/.classpath mimir/trunk/plugins/db-h2/build.xml Added Paths: ----------- mimir/trunk/plugins/db-h2/creole.xml.template Removed Paths: ------------- mimir/trunk/plugins/db-h2/creole.xml Modified: mimir/trunk/plugins/db-h2/.classpath =================================================================== --- mimir/trunk/plugins/db-h2/.classpath 2011-06-28 10:09:48 UTC (rev 14079) +++ mimir/trunk/plugins/db-h2/.classpath 2011-06-28 10:25:47 UTC (rev 14080) @@ -3,6 +3,6 @@ <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" kind="src" path="/mimir-core"/> - <classpathentry kind="lib" path="lib/h2-1.3.150.jar"/> + <classpathentry kind="lib" path="lib/h2-1.3.157.jar"/> <classpathentry kind="output" path="classes"/> </classpath> Modified: mimir/trunk/plugins/db-h2/build.xml =================================================================== --- mimir/trunk/plugins/db-h2/build.xml 2011-06-28 10:09:48 UTC (rev 14079) +++ mimir/trunk/plugins/db-h2/build.xml 2011-06-28 10:25:47 UTC (rev 14080) @@ -1,82 +1,75 @@ <project name="mimir-plugin-db-h2" default="jar" basedir="."> <property name="app.name" value="mimir-plugin-db-h2" /> <property name="app.title" value="Mimir Plugin: DB (H2)" /> - - <!-- Common Properties --> - - <property environment="env"/> - <property name="core-home" value="../../mimir-core"/> + + <!-- Common Properties --> + + <property environment="env" /> + <property name="core-home" value="../../mimir-core" /> <property file="${core-home}/build.properties" /> - - <path id="core-libs"> - <fileset dir="${core-home}/lib" includes="**/*.jar" /> - <fileset dir="${core-home}" includes="mimir-core-*.jar" /> - </path> - - <path id="local-libs"> - <fileset dir="lib" includes="**/*.jar" /> - </path> - - <property name="classes.dir" location="classes" /> - <property name="src.dir" location="src" /> - <property name="doc.dir" location="doc" /> - - <property name="jar.file" location="${app.name}-${app.version}.jar" /> - <path id="compile.classpath"> - <path refid="core-libs" /> - <path refid="local-libs" /> - </path> + + <path id="core-libs"> + <fileset dir="${core-home}/lib" includes="**/*.jar" /> + <fileset dir="${core-home}" includes="mimir-core-*.jar" /> + </path> + + <path id="local-libs"> + <fileset dir="lib" includes="**/*.jar" /> + </path> + + <property name="classes.dir" location="classes" /> + <property name="src.dir" location="src" /> + <property name="doc.dir" location="doc" /> + + <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" /> + </path> <manifestclasspath property="manifest.runtime.classpath" jarfile="${jar.file}"> - <classpath refid="local-libs" /> + <classpath refid="local-libs" /> </manifestclasspath> - - <target name="clean"> - <delete dir="${classes.dir}"/> - <delete file="${jar.file}"/> - </target> - - <target name="compile"> - <mkdir dir="${classes.dir}"/> - <javac destdir="${classes.dir}" - srcdir="${src.dir}" - debug="true" - target="1.6" - source="1.6" - classpathref="compile.classpath" /> - </target> - - <target name="jar" depends="clean, compile"> - <jar file="${jar.file}" basedir="${classes.dir}" update="false"> - <manifest> - <attribute name="Class-Path" value="${manifest.runtime.classpath}" /> - </manifest> - </jar> - </target> - - <target name="distro" depends="jar, javadoc" /> - - <!-- Docs --> - <target name="javadoc"> - <javadoc access="protected" - destdir="${doc.dir}/javadoc" - classpathref="compile.classpath" - Encoding="UTF-8" - Use="yes" - Windowtitle="${app.title} (${app.version}) JavaDoc" - docencoding="UTF-8" - charset="UTF-8" - source="1.6" - useexternalfile="yes" - breakiterator="true"> - <fileset dir="${src.dir}" includes="**/*.java"/> - <link href="http://java.sun.com/javase/6/docs/api/"/> - <link href="http://hudson.gate.ac.uk/job/GATE-Nightly/javadoc/"/> - </javadoc> - <zip destfile="${app.name}-${app.version}-javadocs.zip"> - <zipfileset dir="${doc.dir}/javadoc" - prefix="${app.name}-${app.version}-javadocs" /> - </zip> - <delete dir="${doc.dir}/javadoc" /> - </target> + + <target name="clean"> + <delete dir="${classes.dir}" /> + <delete file="${jar.file}" /> + </target> + + <target name="compile"> + <mkdir dir="${classes.dir}" /> + <javac destdir="${classes.dir}" srcdir="${src.dir}" debug="true" target="1.6" source="1.6" classpathref="compile.classpath" /> + </target> + + <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="distro" depends="jar, javadoc" /> + + <!-- Docs --> + <target name="javadoc"> + <javadoc access="protected" destdir="${doc.dir}/javadoc" classpathref="compile.classpath" Encoding="UTF-8" Use="yes" Windowtitle="${app.title} (${app.version}) JavaDoc" docencoding="UTF-8" charset="UTF-8" source="1.6" useexternalfile="yes" breakiterator="true"> + <fileset dir="${src.dir}" includes="**/*.java" /> + <link href="http://java.sun.com/javase/6/docs/api/" /> + <link href="http://hudson.gate.ac.uk/job/GATE-Nightly/javadoc/" /> + </javadoc> + <zip destfile="${app.name}-${app.version}-javadocs.zip"> + <zipfileset dir="${doc.dir}/javadoc" prefix="${app.name}-${app.version}-javadocs" /> + </zip> + <delete dir="${doc.dir}/javadoc" /> + </target> + + <target name="creole.xml"> + <copy file="creole.xml.template" tofile="creole.xml"> + <filterset> + <filter token="jar" value="${jar.name}" /> + </filterset> + </copy> + </target> </project> Deleted: mimir/trunk/plugins/db-h2/creole.xml =================================================================== --- mimir/trunk/plugins/db-h2/creole.xml 2011-06-28 10:09:48 UTC (rev 14079) +++ mimir/trunk/plugins/db-h2/creole.xml 2011-06-28 10:25:47 UTC (rev 14080) @@ -1,6 +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>mimir-plugin-db-h2-3.2.1-snapshot.jar</JAR> -</CREOLE-DIRECTORY> Copied: mimir/trunk/plugins/db-h2/creole.xml.template (from rev 14078, mimir/trunk/plugins/db-h2/creole.xml) =================================================================== --- mimir/trunk/plugins/db-h2/creole.xml.template (rev 0) +++ mimir/trunk/plugins/db-h2/creole.xml.template 2011-06-28 10:25:47 UTC (rev 14080) @@ -0,0 +1,6 @@ +<?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>@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