|
From: <va...@us...> - 2011-06-28 10:57:30
|
Revision: 14092
http://gate.svn.sourceforge.net/gate/?rev=14092&view=rev
Author: valyt
Date: 2011-06-28 10:57:23 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Generate the creole.xml content from ANT.
Modified Paths:
--------------
mimir/trunk/plugins/sparql/build.xml
Added Paths:
-----------
mimir/trunk/plugins/sparql/creole.xml.template
Removed Paths:
-------------
mimir/trunk/plugins/sparql/creole.xml
Modified: mimir/trunk/plugins/sparql/build.xml
===================================================================
--- mimir/trunk/plugins/sparql/build.xml 2011-06-28 10:55:49 UTC (rev 14091)
+++ mimir/trunk/plugins/sparql/build.xml 2011-06-28 10:57:23 UTC (rev 14092)
@@ -17,7 +17,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>
@@ -42,6 +43,14 @@
</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" />
<!-- Docs -->
Deleted: mimir/trunk/plugins/sparql/creole.xml
===================================================================
--- mimir/trunk/plugins/sparql/creole.xml 2011-06-28 10:55:49 UTC (rev 14091)
+++ mimir/trunk/plugins/sparql/creole.xml 2011-06-28 10:57:23 UTC (rev 14092)
@@ -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-sparql-3.2.1-snapshot.jar</JAR>
-</CREOLE-DIRECTORY>
Copied: mimir/trunk/plugins/sparql/creole.xml.template (from rev 14078, mimir/trunk/plugins/sparql/creole.xml)
===================================================================
--- mimir/trunk/plugins/sparql/creole.xml.template (rev 0)
+++ mimir/trunk/plugins/sparql/creole.xml.template 2011-06-28 10:57:23 UTC (rev 14092)
@@ -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.
|