conor 01/08/17 03:38:12
Modified: docs/manual Tag: ANT_14_BRANCH install.html
src/main/org/apache/tools/ant Tag: ANT_14_BRANCH Main.java
Log:
We are no longer using the reference implementation of JAXP but the
latest version of Crimson (a subtle distinction)
Revision Changes Path
No revision
No revision
1.10.2.2 +4 -3 jakarta-ant/docs/manual/install.html
Index: install.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/install.html,v
retrieving revision 1.10.2.1
retrieving revision 1.10.2.2
diff -u -r1.10.2.1 -r1.10.2.2
--- install.html 2001/08/09 11:54:06 1.10.2.1
+++ install.html 2001/08/17 10:38:11 1.10.2.2
@@ -38,10 +38,11 @@
To build and use Ant, you must have a JAXP-compliant XML parser installed
and
available on your classpath.</p>
<p>
-The binary distribution of Ant includes the reference
-implementation of JAXP 1.1. Please see
+The binary distribution of Ant includes the latest version of the
+<a href="http://xml.apache.org/crimson/index.html">Apache Crimson</a> XML
parser.
+Please see
<a href="http://java.sun.com/xml/"
target="_top">http://java.sun.com/xml/</a>
-for more information.
+for more information about JAXP.
If you wish to use a different JAXP-compliant parser, you should remove
<code>jaxp.jar</code> and <code>crimson.jar</code>
from Ant's <code>lib</code> directory.
No revision
No revision
1.44.2.2 +5 -4 jakarta-ant/src/main/org/apache/tools/ant/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.44.2.1
retrieving revision 1.44.2.2
diff -u -r1.44.2.1 -r1.44.2.2
--- Main.java 2001/08/14 13:16:52 1.44.2.1
+++ Main.java 2001/08/17 10:38:12 1.44.2.2
@@ -69,7 +69,6 @@
*
* @author [EMAIL PROTECTED]
*/
-
public class Main {
/** The default build file name */
@@ -433,15 +432,17 @@
// first use the ProjectHelper to create the project object
// from the given build file.
+ String noParserMessage =
+ "No JAXP compliant XML parser found. Please visit
http://xml.apache.org for a suitable parser";
try {
Class.forName("javax.xml.parsers.SAXParserFactory");
ProjectHelper.configureProject(project, buildFile);
} catch (NoClassDefFoundError ncdfe) {
- throw new BuildException("No JAXP compliant XML parser
found. See http://java.sun.com/xml for the\nreference implementation.", ncdfe);
+ throw new BuildException(noParserMessage, ncdfe);
} catch (ClassNotFoundException cnfe) {
- throw new BuildException("No JAXP compliant XML parser
found. See http://java.sun.com/xml for the\nreference implementation.", cnfe);
+ throw new BuildException(noParserMessage, cnfe);
} catch (NullPointerException npe) {
- throw new BuildException("No JAXP compliant XML parser
found. See http://java.sun.com/xml for the\nreference implementation.", npe);
+ throw new BuildException(noParserMessage, npe);
}
// make sure that we have a target to execute