You are viewing a plain text version of this content. The canonical link for it is here.
Posted to crimson-cvs@xml.apache.org by ed...@apache.org on 2001/08/14 04:31:16 UTC
cvs commit: xml-crimson/lib jaxp.jar
edwingo 01/08/13 19:31:16
Modified: . ChangeLog build.xml
docs README.txt
Removed: lib jaxp.jar
Log:
Changes for new distribution of Crimson version 1.1.2beta2 which uses the
new xml-commons common XML API jar file. See README.txt for details
Revision Changes Path
1.2 +13 -0 xml-crimson/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/xml-crimson/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 2001/01/31 02:22:16 1.1
+++ ChangeLog 2001/08/14 02:31:15 1.2
@@ -1,3 +1,16 @@
+2001-08-10 Edwin Goei <ed...@apache.org>
+
+ * Created new version 1.1.2beta2 of Crimson. This version fixes
+ bugs in previous releases such as version 1.1.1 and 1.1. It was
+ named 1.1.2beta2 because it is the same code that went into J2SE
+ 1.4 beta2 (also called beta refresh). Despite the "beta2" name,
+ this version is just as stable as the previous version 1.1.1.
+
+ * This version also uses the new common XML API jar file to contain
+ the JAXP API and removes the DOM and SAX classes from crimson.jar.
+ To use this package, place both xml-apis.jar and crimson.jar in
+ your classpath.
+
2001-01-30 Edwin Goei <ed...@apache.org>
* Updated website, created zip file for download, misc clean up.
1.10 +42 -34 xml-crimson/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-crimson/build.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- build.xml 2001/06/29 00:30:21 1.9
+++ build.xml 2001/08/14 02:31:15 1.10
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
-This is an ant build file compatible with ant version 1.2.
+This is an ant build file compatible with ant version 1.3.
Useful targets:
+ jars jar the default target to make jar files
@@ -9,12 +9,15 @@
+ clean deletes all generated files
All generated files are created under ${build.dir}
+
+As of (2001-08-13), the build requires a sibling xml-commons module to be a
+peer of this module.
-->
<project name="crimson" default="jars" basedir=".">
<!-- Use this property to set version of crimson -->
- <property name="impl.version" value="1.1.1" />
+ <property name="impl.version" value="1.1.2beta2" />
<property name="name" value="crimson"/>
<!-- Build options -->
@@ -26,12 +29,22 @@
that can be zipped or tarred. Unzipping such a zip file will create
a directory neatly containing everything in the distribution. -->
- <property name="build.dir" value="../build/${name}" />
+ <property name="build.dir" value="build" />
<property name="build.classes" value="${build.dir}/classes"/>
<property name="dist.file" value="${name}-${impl.version}" />
<property name="dist.dir" value="${build.dir}/${dist.file}"/>
+ <!-- Points to tree containing common XML APIs shared between various
+ Apache XML projects. The base directory contains the build.xml file
+ used to build the common api jar file. -->
+ <property name="api.base.dir" value="../xml-commons/java/external"/>
+ <property name="api.build.dir" value="${api.base.dir}/build"/>
+ <property name="api.jar.name" value="xml-apis.jar"/>
+<!-- XXX This task does not work with Ant 1.3 for some unknown reason
+ <available file="${api.base.dir}/build.xml" property="api.base.dir.present"/>
+-->
+
<target name="prepare" >
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.classes}"/>
@@ -47,15 +60,12 @@
deprecation="off" >
<classpath>
<pathelement location="${build.classes}" />
- <pathelement location="lib/jaxp.jar" />
+ <pathelement location="${build.dir}/${api.jar.name}" />
<pathelement location="src" />
</classpath>
<exclude name="**/,**" />
<exclude name="**/SCCS/**" />
- <include name="javax/xml/**" />
<include name="org/apache/**" />
- <include name="org/xml/**" />
- <include name="org/w3c/**" />
</javac>
<copy
todir="${build.classes}/org/apache" >
@@ -66,13 +76,17 @@
</fileset>
</copy>
</target>
+
+ <target name="api.base.dir" unless="api.base.dir.present">
+ <echo message="The xml-commons module must be a sibling of this one."/>
+ </target>
- <target name="jaxp.jar">
- <!-- Copy the binary. XXX The source is available under xml-commons. -->
- <copy file="lib/jaxp.jar" todir="${build.dir}" />
+ <target name="api.jar" depends="api.base.dir">
+ <ant dir="${api.base.dir}" target="jar"/>
+ <copy file="${api.build.dir}/${api.jar.name}" todir="${build.dir}" />
</target>
- <target name="crimson.jar" depends="compile">
+ <target name="crimson.jar" depends="api.jar,compile">
<mkdir dir="${build.classes}/META-INF/services" />
<copy todir="${build.classes}/META-INF/services">
<fileset dir="src/META-INF/services">
@@ -85,43 +99,36 @@
manifest="src/META-INF/manifest.crimson" >
<include name="META-INF/services/**" />
<include name="org/apache/crimson/**" />
- <include name="org/xml/**" />
- <include name="org/w3c/**" />
</jar>
</target>
- <target name="javadoc">
- <mkdir dir="${build.dir}/docs/api"/>
- <!-- XXX Temporarily disable building of javadoc because the issue of
- what to do about the source for javax.xml.* classes still needs to
- be worked out. Otherwise there would be no javadoc for the javax
- classes. For now, use a statically generated version of the JAXP
- 1.1 javadoc.
-
- <javadoc packagenames="org.w3c.*,org.xml.*,javax.xml.*"
- sourcepath="src"
- destdir="${build.dir}/docs/api"
- author="true"
- version="true"
- use="true"
- windowtitle="JAXP 1.1"
- doctitle="Java API for XML Processing 1.1" />
- -->
- <unjar src="jaxp-javadoc.jar" dest="${build.dir}/docs"/>
+ <target name="javadoc" depends="api.base.dir">
+ <ant dir="${api.base.dir}" target="javadoc">
+ </ant>
+ <mkdir dir="${build.dir}/docs/javadoc"/>
+ <copy todir="${build.dir}/docs/javadoc">
+ <fileset dir="${api.build.dir}/docs/javadoc">
+ </fileset>
+ </copy>
</target>
<target name="other.doc">
<copy file="docs/README.txt" todir="${dist.dir}" />
+ <copy file="ChangeLog" todir="${dist.dir}" />
</target>
- <target name="dist" depends="jars,javadoc,other.doc" >
+ <target name="dist" depends="jars,javadoc,other.doc,api.base.dir" >
<!-- Copy the jar files -->
<copy file="${build.dir}/${name}.jar" todir="${dist.dir}" />
- <copy file="${build.dir}/jaxp.jar" todir="${dist.dir}" />
+ <copy file="${build.dir}/${api.jar.name}" todir="${dist.dir}" />
<!-- Copy sources -->
<copy todir="${dist.dir}/src">
+ <!-- Parser implementation src files -->
<fileset dir="src"/>
+
+ <!-- XML API src files -->
+ <fileset dir="${api.base.dir}/src"/>
</copy>
<!-- Copy built documentation and javadoc -->
@@ -139,7 +146,7 @@
includes="${dist.file}/**" />
</target>
- <target name="jars" depends="jaxp.jar,crimson.jar">
+ <target name="jars" depends="api.jar,crimson.jar">
</target>
<target name="jar" depends="jars">
@@ -153,6 +160,7 @@
<target name="clean">
<delete dir="${build.dir}"/>
+ <ant dir="${api.base.dir}" target="clean"/>
</target>
</project>
1.3 +22 -10 xml-crimson/docs/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/xml-crimson/docs/README.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- README.txt 2001/06/29 00:30:23 1.2
+++ README.txt 2001/08/14 02:31:15 1.3
@@ -1,23 +1,35 @@
-Crimson 1.1.1
+Crimson 1.1.2beta2
README.txt
-28 Jun 2001, 2001-6-28
+2001-8-10, (August 10, 2001)
This version of Crimson supports the Java API for XML Processing (JAXP)
version 1.1 specification by providing implementations for the following
package hierarchies: javax.xml.parsers, org.w3c.dom, org.xml.sax.*. Note
that the javax.xml.transform hierarchy is NOT supported. One known
-implementation of the javax.xml.transform hierarchy is Xalan 2.
+implementation of the javax.xml.transform hierarchy is Xalan 2. The
+implementation is split into two separate jar files.
-Crimson 1.1.1 is a bug-fix release of an earlier Crimson 1.1 release both
-of which implement the parsing portions of JAXP 1.1.
+From comments found in ChangeLog...
+This version fixes bugs in previous releases such as version 1.1.1 and 1.1.
+It was named 1.1.2beta2 because it is the same code that went into J2SE
+1.4 beta2 (also called beta refresh). Despite the "beta2" name,
+this version is just as stable as the previous version 1.1.1.
+
+This version also uses the new common XML API jarfile to contain
+the JAXP API and removes the DOM and SAX classes from crimson.jar.
+To use this package, place both xml-apis.jar and crimson.jar in
+your classpath.
+
+
To use the binaries, put the following two jar files in your classpath:
- + jaxp.jar = contains the javax.xml.* hierarchy
- + crimson.jar = contains org.w3c.dom and org.xml.sax.* and the
- implementation for the parsing parts of JAXP 1.1
+ + xml-apis.jar = contains the javax.xml.*, DOM, and SAX packages
+ + crimson.jar = contains the implementation for the parsing parts of
+ the JAXP 1.1 specification
Documentation is in:
- + example programs = see examples/index.html
- + JAXP 1.1 javadoc = see docs/api/index.html
+ + Example programs = see examples/index.html
+ + JAXP 1.1 javadoc = see docs/javadoc/index.html
+ + JAXP FAQ = http://xml.apache.org/~edwingo/jaxp-faq.html
Source files are under the "src" directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: crimson-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: crimson-cvs-help@xml.apache.org