|
|
993fda |
diff -up jing-trang-20091111/build.xml~ jing-trang-20091111/build.xml
|
|
|
993fda |
--- jing-trang-20091111/build.xml~ 2009-02-01 06:49:17.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/build.xml 2010-11-30 22:04:06.391536980 +0200
|
|
|
993fda |
@@ -145,22 +145,19 @@
|
|
|
993fda |
|
|
|
993fda |
<target name="javadoc" depends="init">
|
|
|
993fda |
<mkdir dir="${build.dir}/api"/>
|
|
|
993fda |
- <mkdir dir="${build.dir}/api/datatype"/>
|
|
|
993fda |
<mkdir dir="${build.dir}/api/jing"/>
|
|
|
993fda |
<mkdir dir="${build.dir}/api/regex"/>
|
|
|
993fda |
-
|
|
|
993fda |
- doctitle="RELAX NG Datatype API" windowtitle="RELAX NG Datatype API"
|
|
|
993fda |
- packagenames="org.relaxng.datatype,org.relaxng.datatype.helpers"/>
|
|
|
993fda |
|
|
|
993fda |
packagenames="com.thaiopensource.datatype.xsd.regex,
|
|
|
993fda |
com.thaiopensource.datatype.xsd.regex.java,
|
|
|
993fda |
- com.thaiopensource.datatype.xsd.regex.xerces2"/>
|
|
|
993fda |
+ com.thaiopensource.datatype.xsd.regex.xerces2">
|
|
|
993fda |
+ <link href="/usr/share/javadoc/java"/>
|
|
|
993fda |
+ </javadoc>
|
|
|
993fda |
|
|
|
993fda |
doctitle="Jing API" windowtitle="Jing API"
|
|
|
993fda |
packagenames="${javadoc.packagenames}">
|
|
|
993fda |
- <link offline="true" href="../datatype" packagelistLoc="${build.dir}/api/datatype"/>
|
|
|
993fda |
-
|
|
|
993fda |
- packagelistLoc="extapidoc/jdk/1.5"/>
|
|
|
993fda |
+ <link href="/usr/share/javadoc/java"/>
|
|
|
993fda |
+ <link href="/usr/share/javadoc/relaxngDatatype"/>
|
|
|
993fda |
</javadoc>
|
|
|
993fda |
</target>
|
|
|
993fda |
|
|
|
993fda |
@@ -170,7 +167,7 @@
|
|
|
993fda |
destdir="${build.dir}/doccheck"
|
|
|
993fda |
packagenames="${javadoc.packagenames}"
|
|
|
993fda |
doclet="com.sun.tools.doclets.doccheck.DocCheck"
|
|
|
993fda |
- docletpath="lib/doccheck.jar"/>
|
|
|
993fda |
+ docletpath="${lib.dir}/doccheck.jar"/>
|
|
|
993fda |
</target>
|
|
|
993fda |
|
|
|
993fda |
<target name="datatype-sample" depends="jar">
|
|
|
993fda |
@@ -290,7 +287,7 @@
|
|
|
993fda |
|
|
|
993fda |
fork="true"
|
|
|
993fda |
failonerror="yes"
|
|
|
993fda |
- classpath="${build.dir}/trang.jar">
|
|
|
993fda |
+ classpath="${build.dir}/trang.jar:/usr/share/java/relaxngDatatype.jar">
|
|
|
993fda |
<arg value="dtdinst/dtdinst.rnc"/>
|
|
|
993fda |
<arg value="${build.dir}/dtdinst/dtdinst.rng"/>
|
|
|
993fda |
</java>
|
|
|
993fda |
@@ -360,7 +357,7 @@
|
|
|
993fda |
depends="version,googlecode.properties"
|
|
|
993fda |
description="Upload files to Google Code. Run dist before this.">
|
|
|
993fda |
|
|
|
993fda |
- classpath="lib/ant-googlecode.jar" name="gcupload"/>
|
|
|
993fda |
+ classpath="${lib.dir}/ant-googlecode.jar" name="gcupload"/>
|
|
|
993fda |
|
|
|
993fda |
password="${googlecode.password}"
|
|
|
993fda |
projectname="jing-trang"
|
|
|
993fda |
diff -up jing-trang-20091111/build.xsl~ jing-trang-20091111/build.xsl
|
|
|
993fda |
--- jing-trang-20091111/build.xsl~ 2009-02-01 06:49:17.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/build.xsl 2010-11-30 22:37:55.635536968 +0200
|
|
|
993fda |
@@ -10,12 +10,12 @@
|
|
|
993fda |
<project>
|
|
|
993fda |
<xmlproperty file="version.xml"/>
|
|
|
993fda |
<property name="build.dir" value="${{basedir}}/build"/>
|
|
|
993fda |
- <property name="javacc.dir" value="lib"/>
|
|
|
993fda |
+ <property name="javacc.dir" value="${{lib.dir}}"/>
|
|
|
993fda |
<property name="ant.build.javac.source" value="1.5"/>
|
|
|
993fda |
<property name="ant.build.javac.target" value="1.5"/>
|
|
|
993fda |
<taskdef name="testng" classname="org.testng.TestNGAntTask">
|
|
|
993fda |
<classpath>
|
|
|
993fda |
- <pathelement location="lib/testng.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/testng.jar"/>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</taskdef>
|
|
|
993fda |
<target name="dummy"/>
|
|
|
993fda |
@@ -111,7 +111,7 @@
|
|
|
993fda |
<pathelement location="{$build}/mod/{@module}/classes/main"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
<xsl:for-each select="depends[@lib]">
|
|
|
993fda |
- <pathelement location="lib/{@lib}.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/{@lib}.jar"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</javac>
|
|
|
993fda |
@@ -151,10 +151,10 @@
|
|
|
993fda |
<pathelement location="{$build}/mod/{@module}/classes/main"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
<xsl:for-each select="depends[@lib]">
|
|
|
993fda |
- <pathelement location="lib/{@lib}.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/{@lib}.jar"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
<xsl:if test="test[@type='testng']">
|
|
|
993fda |
- <pathelement location="lib/testng.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/testng.jar"/>
|
|
|
993fda |
</xsl:if>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</javac>
|
|
|
993fda |
@@ -298,13 +298,18 @@
|
|
|
993fda |
<classpath>
|
|
|
993fda |
<pathelement location="{$build}/{$app}.jar"/>
|
|
|
993fda |
<xsl:if test="@lib">
|
|
|
993fda |
- <pathelement location="lib/{@lib}.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/{@lib}.jar"/>
|
|
|
993fda |
<xsl:if test="@lib='xalan'">
|
|
|
993fda |
- <pathelement location="lib/serializer.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/xalan-j2-serializer.jar"/>
|
|
|
993fda |
</xsl:if>
|
|
|
993fda |
</xsl:if>
|
|
|
993fda |
+
|
|
|
993fda |
<xsl:if test="$app = 'jing'">
|
|
|
993fda |
- <pathelement location="lib/xercesImpl.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/xerces-j2.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/relaxngDatatype.jar"/>
|
|
|
993fda |
+ </xsl:if>
|
|
|
993fda |
+ <xsl:if test="$app = 'trang'">
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/relaxngDatatype.jar"/>
|
|
|
993fda |
</xsl:if>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</java>
|
|
|
993fda |
@@ -373,7 +378,7 @@
|
|
|
993fda |
<pathelement location="mod/{@module}/src/main"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
<xsl:for-each select="../depends[@lib]">
|
|
|
993fda |
- <pathelement location="lib/{@lib}.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/{@lib}.jar"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</java>
|
|
|
993fda |
@@ -402,8 +407,11 @@
|
|
|
993fda |
<pathelement location="mod/{@module}/src/main"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
<xsl:for-each select="../depends[@lib]">
|
|
|
993fda |
- <pathelement location="lib/{@lib}.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/{@lib}.jar"/>
|
|
|
993fda |
</xsl:for-each>
|
|
|
993fda |
+
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/bsh.jar"/>
|
|
|
993fda |
+ <pathelement location="${{lib.dir}}/qdox.jar"/>
|
|
|
993fda |
</classpath>
|
|
|
993fda |
</testng>
|
|
|
993fda |
</target>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/catalog/mod.xml~ jing-trang-20091111/mod/catalog/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/catalog/mod.xml~ 2008-12-16 05:34:48.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/catalog/mod.xml 2010-11-30 22:04:06.397536844 +0200
|
|
|
993fda |
@@ -3,5 +3,5 @@
|
|
|
993fda |
<test name="unit" type="testng"/>
|
|
|
993fda |
<depends module="util"/>
|
|
|
993fda |
<depends module="resolver"/>
|
|
|
993fda |
- <depends lib="resolver"/>
|
|
|
993fda |
+ <depends lib="xml-commons-resolver"/>
|
|
|
993fda |
</module>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/datatype/mod.xml~ jing-trang-20091111/mod/datatype/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/datatype/mod.xml~ 2008-10-31 11:51:32.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/datatype/mod.xml 2010-11-30 22:04:06.398536914 +0200
|
|
|
993fda |
@@ -1,4 +1,5 @@
|
|
|
993fda |
<module>
|
|
|
993fda |
<depends module="util"/>
|
|
|
993fda |
+ <depends lib="relaxngDatatype"/>
|
|
|
993fda |
<compile/>
|
|
|
993fda |
</module>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/jing/mod.xml~ jing-trang-20091111/mod/jing/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/jing/mod.xml~ 2009-11-11 14:24:06.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/jing/mod.xml 2010-11-30 22:04:06.398536914 +0200
|
|
|
993fda |
@@ -21,8 +21,6 @@
|
|
|
993fda |
<jar>
|
|
|
993fda |
<manifest>
|
|
|
993fda |
<attribute name="Main-Class" value="com/thaiopensource/relaxng/util/Driver"/>
|
|
|
993fda |
-
|
|
|
993fda |
- value="xercesImpl.jar xml-apis.jar saxon.jar saxon9.jar xalan.jar isorelax.jar resolver.jar"/>
|
|
|
993fda |
</manifest>
|
|
|
993fda |
<service type="com.thaiopensource.datatype.xsd.regex.RegexEngine"/>
|
|
|
993fda |
<service type="org.relaxng.datatype.DatatypeLibraryFactory"/>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/pattern/mod.xml~ jing-trang-20091111/mod/pattern/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/pattern/mod.xml~ 2008-12-07 05:37:23.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/pattern/mod.xml 2010-11-30 22:04:06.399536705 +0200
|
|
|
993fda |
@@ -3,6 +3,7 @@
|
|
|
993fda |
<depends module="resolver"/>
|
|
|
993fda |
<depends module="datatype"/>
|
|
|
993fda |
<depends module="rng-parse"/>
|
|
|
993fda |
+ <depends lib="relaxngDatatype"/>
|
|
|
993fda |
<compile test="yes"/>
|
|
|
993fda |
<test name="unit" type="testng"/>
|
|
|
993fda |
</module>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/regex/mod.xml~ jing-trang-20091111/mod/regex/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/regex/mod.xml~ 2008-11-16 08:53:45.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/regex/mod.xml 2010-11-30 22:04:06.399536705 +0200
|
|
|
993fda |
@@ -1,6 +1,6 @@
|
|
|
993fda |
<module>
|
|
|
993fda |
<depends module="util"/>
|
|
|
993fda |
- <depends lib="xercesImpl"/>
|
|
|
993fda |
+ <depends lib="xerces-j2"/>
|
|
|
993fda |
<compile test="yes"/>
|
|
|
993fda |
|
|
|
993fda |
class="com.thaiopensource.datatype.xsd.regex.test.TestDriver">
|
|
|
993fda |
diff -up jing-trang-20091111/mod/rng-jaxp/mod.xml~ jing-trang-20091111/mod/rng-jaxp/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/rng-jaxp/mod.xml~ 2008-12-07 05:37:23.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/rng-jaxp/mod.xml 2010-11-30 22:04:06.400536775 +0200
|
|
|
993fda |
@@ -7,6 +7,7 @@
|
|
|
993fda |
<depends module="rng-parse"/>
|
|
|
993fda |
<depends module="pattern"/>
|
|
|
993fda |
<depends module="jaxp"/>
|
|
|
993fda |
+ <depends lib="relaxngDatatype"/>
|
|
|
993fda |
<compile test="yes"/>
|
|
|
993fda |
<test name="unit" type="testng"/>
|
|
|
993fda |
</module>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/rng-validate/mod.xml~ jing-trang-20091111/mod/rng-validate/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/rng-validate/mod.xml~ 2008-12-16 05:38:57.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/rng-validate/mod.xml 2010-11-30 22:04:06.401538521 +0200
|
|
|
993fda |
@@ -7,6 +7,7 @@
|
|
|
993fda |
<depends module="pattern"/>
|
|
|
993fda |
<depends module="validate"/>
|
|
|
993fda |
<depends lib="ant"/>
|
|
|
993fda |
+ <depends lib="xml-commons-resolver"/>
|
|
|
993fda |
<test name="spec" type="validate" schema="eg/testSuite.rng"/>
|
|
|
993fda |
<compile/>
|
|
|
993fda |
<version package="com/thaiopensource/relaxng/util"/>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/schematron/mod.xml~ jing-trang-20091111/mod/schematron/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/schematron/mod.xml~ 2009-02-01 06:49:17.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/schematron/mod.xml 2010-11-30 22:04:06.407540061 +0200
|
|
|
993fda |
@@ -3,15 +3,11 @@
|
|
|
993fda |
<depends module="resolver"/>
|
|
|
993fda |
<depends module="validate"/>
|
|
|
993fda |
<depends module="rng-validate"/>
|
|
|
993fda |
- <depends lib="xalan"/>
|
|
|
993fda |
+ <depends lib="xalan-j2"/>
|
|
|
993fda |
<depends lib="saxon"/>
|
|
|
993fda |
- <depends lib="saxon9"/>
|
|
|
993fda |
-
|
|
|
993fda |
- type="validate" schema="test/schematrontest.nrl"
|
|
|
993fda |
- lib="saxon"/>
|
|
|
993fda |
|
|
|
993fda |
type="validate" schema="test/schematrontest.nrl"
|
|
|
993fda |
- lib="saxon9"/>
|
|
|
993fda |
+ lib="saxon"/>
|
|
|
993fda |
|
|
|
993fda |
type="validate" schema="test/schematrontest.nrl"
|
|
|
993fda |
lib="xalan"/>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/trang/mod.xml~ jing-trang-20091111/mod/trang/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/trang/mod.xml~ 2008-12-16 11:48:23.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/trang/mod.xml 2010-11-30 22:04:06.408537058 +0200
|
|
|
993fda |
@@ -13,12 +13,12 @@
|
|
|
993fda |
<depends module="convert-to-xsd"/>
|
|
|
993fda |
<depends module="convert-from-dtd"/>
|
|
|
993fda |
<depends module="convert-to-dtd"/>
|
|
|
993fda |
+ <depends lib="xml-commons-resolver"/>
|
|
|
993fda |
<compile/>
|
|
|
993fda |
<version package="com/thaiopensource/relaxng/translate"/>
|
|
|
993fda |
<jar>
|
|
|
993fda |
<manifest>
|
|
|
993fda |
<attribute name="Main-Class" value="com/thaiopensource/relaxng/translate/Driver"/>
|
|
|
993fda |
- <attribute name="Class-Path" value="resolver.jar"/>
|
|
|
993fda |
</manifest>
|
|
|
993fda |
<service type="com.thaiopensource.datatype.xsd.regex.RegexEngine">
|
|
|
993fda |
<provider classname="com.thaiopensource.datatype.xsd.regex.xerces2.RegexEngineImpl"/>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/xerces/mod.xml~ jing-trang-20091111/mod/xerces/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/xerces/mod.xml~ 2008-11-16 08:53:45.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/xerces/mod.xml 2010-11-30 22:04:06.414536082 +0200
|
|
|
993fda |
@@ -1,7 +1,7 @@
|
|
|
993fda |
<module>
|
|
|
993fda |
<depends module="util"/>
|
|
|
993fda |
<depends module="validate"/>
|
|
|
993fda |
- <depends lib="xercesImpl"/>
|
|
|
993fda |
+ <depends lib="xerces-j2"/>
|
|
|
993fda |
<compile/>
|
|
|
993fda |
<service type="com.thaiopensource.validate.SchemaReaderFactory">
|
|
|
993fda |
<provider classname="com.thaiopensource.validate.xerces.XsdSchemaReaderFactory"/>
|
|
|
993fda |
diff -up jing-trang-20091111/mod/xsd-datatype/mod.xml~ jing-trang-20091111/mod/xsd-datatype/mod.xml
|
|
|
993fda |
--- jing-trang-20091111/mod/xsd-datatype/mod.xml~ 2008-12-11 03:34:05.000000000 +0200
|
|
|
993fda |
+++ jing-trang-20091111/mod/xsd-datatype/mod.xml 2010-11-30 22:04:06.415537270 +0200
|
|
|
993fda |
@@ -2,6 +2,7 @@
|
|
|
993fda |
<depends module="util"/>
|
|
|
993fda |
<depends module="datatype"/>
|
|
|
993fda |
<depends module="regex"/>
|
|
|
993fda |
+ <depends lib="relaxngDatatype"/>
|
|
|
993fda |
<test name="xsd" type="validate" transform="xsdtest.xsl" schema="test/xsdtest.rnc"/>
|
|
|
993fda |
<test name="unit" type="testng"/>
|
|
|
993fda |
<compile test="yes"/>
|