Browse Source

Removing stale references to xercesImpl.jar and xml-apis.jar.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911561 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 15 years ago
parent
commit
bce2b193ec
10 changed files with 5 additions and 103 deletions
  1. +1
    -3
      bootstrap.bat
  2. +1
    -3
      bootstrap.sh
  3. +1
    -1
      build.xml
  4. +0
    -19
      docs/manual/install.html
  5. +1
    -3
      docs/manual/platform.html
  6. +0
    -7
      fetch.xml
  7. +1
    -3
      src/etc/ant-bin.wxs
  8. +0
    -22
      src/etc/poms/ant-nodeps/pom.xml
  9. +0
    -21
      src/etc/poms/ant-trax/pom.xml
  10. +0
    -21
      src/etc/poms/ant/pom.xml

+ 1
- 3
bootstrap.bat View File

@@ -38,7 +38,6 @@ if not "%OS%" == "Windows_NT" if exist bootstrap\nul deltree/y bootstrap
if "%OS%" == "Windows_NT" if exist build\nul rmdir/s/q build if "%OS%" == "Windows_NT" if exist build\nul rmdir/s/q build
if not "%OS%" == "Windows_NT" if exist build\nul deltree/y build if not "%OS%" == "Windows_NT" if exist build\nul deltree/y build


SET LOCALCLASSPATH=lib\xercesImpl.jar;lib\xml-apis.jar
for %%i in (lib\optional\*.jar) do call src\script\lcp.bat %%i for %%i in (lib\optional\*.jar) do call src\script\lcp.bat %%i
if exist "%JAVA_HOME%\lib\tools.jar" call src\script\lcp.bat %JAVA_HOME%\lib\tools.jar if exist "%JAVA_HOME%\lib\tools.jar" call src\script\lcp.bat %JAVA_HOME%\lib\tools.jar
if exist "%JAVA_HOME%\lib\classes.zip" call src\script\lcp.bat %JAVA_HOME%\lib\classes.zip if exist "%JAVA_HOME%\lib\classes.zip" call src\script\lcp.bat %JAVA_HOME%\lib\classes.zip
@@ -46,7 +45,7 @@ if exist "%JAVA_HOME%\lib\classes.zip" call src\script\lcp.bat %JAVA_HOME%\lib\c
set TOOLS=src\main\org\apache\tools set TOOLS=src\main\org\apache\tools
set CLASSDIR=build\classes set CLASSDIR=build\classes


SET CLASSPATH=%LOCALCLASSPATH%;%CLASSDIR%;src\main;%CLASSPATH%
SET CLASSPATH=%CLASSDIR%;src\main;%CLASSPATH%


echo JAVA_HOME=%JAVA_HOME% echo JAVA_HOME=%JAVA_HOME%
echo JAVA=%JAVA% echo JAVA=%JAVA%
@@ -132,6 +131,5 @@ set ANT_HOME=%OLDANTHOME%
set OLDJAVA= set OLDJAVA=
set OLDJAVAC= set OLDJAVAC=
set BOOTOLDCLASSPATH= set BOOTOLDCLASSPATH=
set LOCALCLASSPATH=
set OLDANTHOME= set OLDANTHOME=
set TOOLS= set TOOLS=

+ 1
- 3
bootstrap.sh View File

@@ -97,8 +97,6 @@ if [ -d "build" ] ; then
rm -r build rm -r build
fi fi


CLASSPATH=lib/xercesImpl.jar:lib/xml-apis.jar:${CLASSPATH}

DIRLIBS=lib/optional/*.jar DIRLIBS=lib/optional/*.jar
for i in ${DIRLIBS} for i in ${DIRLIBS}
do do
@@ -166,4 +164,4 @@ echo ... Cleaning Up Build Directories
rm -rf ${CLASSDIR} rm -rf ${CLASSDIR}
rm -rf bin rm -rf bin


echo ... Done Bootstrapping Ant Distribution
echo ... Done Bootstrapping Ant Distribution

+ 1
- 1
build.xml View File

@@ -730,7 +730,7 @@
</metainf> </metainf>
<manifest> <manifest>
<attribute name="Class-Path" <attribute name="Class-Path"
value="ant.jar xml-apis.jar xercesImpl.jar xalan.jar"/>
value="ant.jar xalan.jar"/>
</manifest> </manifest>
</jar> </jar>




+ 0
- 19
docs/manual/install.html View File

@@ -183,25 +183,6 @@ Windows NT-platforms, OS/2 Warp, Novell Netware 6, OpenVMS and MacOS X.
The platforms used most for development are, in no particular order, The platforms used most for development are, in no particular order,
Linux, MacOS X, Windows XP and Unix; these are therefore that platforms Linux, MacOS X, Windows XP and Unix; these are therefore that platforms
that tend to work best. As of Ant1.7, Windows 9x is no longer supported. that tend to work best. As of Ant1.7, Windows 9x is no longer supported.
<p>
To build and use Ant, you must have a JAXP-compliant XML parser installed and
available on your classpath, such as Xerces.</p>
<p>
The binary distribution of Ant includes the latest version of the
<a href="http://xml.apache.org/xerces2-j/index.html" target="_top">Apache Xerces2</a> XML parser.
Please see
<a href="http://java.sun.com/xml/" target="_top">http://java.sun.com/xml/</a>
for more information about JAXP.
If you wish to use a different JAXP-compliant parser, you should remove
<code>xercesImpl.jar</code> and <code>xml-apis.jar</code>
from Ant's <code>lib</code> directory.
<p>
You can then either put the JARs of your preferred parser into Ant's
<code>lib</code> directory or put the jars on the system classpath.
Some parts of Ant will fail if you use an old parser, especially one
that is not namespace-aware. In particular, avoid the Crimson parser.</p>

<p>Tip: "ant -diagnostics" will list the XML parser used and its location.</p>


<p> <p>
For the current version of Ant, you will also need a JDK installed on For the current version of Ant, you will also need a JDK installed on


+ 1
- 3
docs/manual/platform.html View File

@@ -172,15 +172,13 @@ it is treated like any other Unix.
<p>To give the same level of sophisticated control as Ant's startup scripts on other platforms, it was decided to make the main ant startup on NetWare be via a Perl Script, "runant.pl". This is found in the bin directory (for instance - bootstrap\bin or dist\bin).</p> <p>To give the same level of sophisticated control as Ant's startup scripts on other platforms, it was decided to make the main ant startup on NetWare be via a Perl Script, "runant.pl". This is found in the bin directory (for instance - bootstrap\bin or dist\bin).</p>


<p>One important item of note is that you need to set up the following to run ant:</p> <p>One important item of note is that you need to set up the following to run ant:</p>
<ul><li><code>CLASSPATH</code> - put ant.jar, xercesImpl.jar, xml-apis.jar and any other needed jars on the system classpath.</li>
<ul><li><code>CLASSPATH</code> - put ant.jar and any other needed jars on the system classpath.</li>
<li><code>ANT_OPTS</code> - On NetWare, <code>ANT_OPTS</code> needs to include a parameter of the form, <nobr>"-envCWD=<code>ANT_HOME</code>"</nobr>, with <code>ANT_HOME</code> being the fully expanded location of Ant, <b>not</b> an environment variable. This is due to the fact that the NetWare System Console has no notion of a current working directory.</li> <li><code>ANT_OPTS</code> - On NetWare, <code>ANT_OPTS</code> needs to include a parameter of the form, <nobr>"-envCWD=<code>ANT_HOME</code>"</nobr>, with <code>ANT_HOME</code> being the fully expanded location of Ant, <b>not</b> an environment variable. This is due to the fact that the NetWare System Console has no notion of a current working directory.</li>
</ul> </ul>
<p>It is suggested that you create up an ant.ncf that sets up these parameters, and calls <code>perl ANT_HOME/dist/bin/runant.pl</code></p> <p>It is suggested that you create up an ant.ncf that sets up these parameters, and calls <code>perl ANT_HOME/dist/bin/runant.pl</code></p>
<p>The following is an example of such an NCF file(assuming ant is installed in <nobr>'sys:/apache-ant/'):</nobr></p> <p>The following is an example of such an NCF file(assuming ant is installed in <nobr>'sys:/apache-ant/'):</nobr></p>
<code> <code>
&nbsp;&nbsp;&nbsp;envset CLASSPATH=SYS:/apache-ant/bootstrap/lib/ant.jar<br> &nbsp;&nbsp;&nbsp;envset CLASSPATH=SYS:/apache-ant/bootstrap/lib/ant.jar<br>
&nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/xercesImpl.jar <br>
&nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/xml-apis.jar <br>
&nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/optional/junit.jar <br> &nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/optional/junit.jar <br>
&nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/bootstrap/lib/optional.jar <br> &nbsp;&nbsp;&nbsp;envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/bootstrap/lib/optional.jar <br>
<br> <br>


+ 0
- 7
fetch.xml View File

@@ -158,13 +158,6 @@ Set -Ddest=LOCATION on the command line
we like to get the more recent artifacts than are in the repo at the time of writing (2006-12-21) we like to get the more recent artifacts than are in the repo at the time of writing (2006-12-21)
--> -->


<target name="xerces"
description="load an updated version of Xerces"
depends="init">
<f2 project="xerces" archive="xercesImpl"/>
<f2 project="xerces" archive="xml-apis" />
</target>

<target name="networking" <target name="networking"
description="load networking libraries (commons-net; jsch)" description="load networking libraries (commons-net; jsch)"
depends="init"> depends="init">


+ 1
- 3
src/etc/ant-bin.wxs View File

@@ -59,8 +59,6 @@
<File DiskId="1" Id="file24" Name="ant.jar" Vital="yes" src="$(var.dist.dir)/lib\ant.jar" /> <File DiskId="1" Id="file24" Name="ant.jar" Vital="yes" src="$(var.dist.dir)/lib\ant.jar" />
<File DiskId="1" Id="file25" Name="LIBRAR_1.PRO" LongName="libraries.properties" Vital="yes" src="$(var.dist.dir)/lib\libraries.properties" /> <File DiskId="1" Id="file25" Name="LIBRAR_1.PRO" LongName="libraries.properties" Vital="yes" src="$(var.dist.dir)/lib\libraries.properties" />
<File DiskId="1" Id="file26" Name="README" Vital="yes" src="$(var.dist.dir)/lib\README" /> <File DiskId="1" Id="file26" Name="README" Vital="yes" src="$(var.dist.dir)/lib\README" />
<File DiskId="1" Id="file27" Name="XERCES_1.JAR" LongName="xercesImpl.jar" Vital="yes" src="$(var.dist.dir)/lib\xercesImpl.jar" />
<File DiskId="1" Id="file28" Name="xml-apis.jar" Vital="yes" src="$(var.dist.dir)/lib\xml-apis.jar" />
</Component> </Component>
</Directory> </Directory>
<Directory Id="directory1" Name="bin"> <Directory Id="directory1" Name="bin">
@@ -458,4 +456,4 @@
</Directory> </Directory>
</DirectoryRef> </DirectoryRef>
</Fragment> </Fragment>
</Wix>
</Wix>

+ 0
- 22
src/etc/poms/ant-nodeps/pom.xml View File

@@ -41,28 +41,6 @@
<version>1.8.0-SNAPSHOT</version> <version>1.8.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<!-- the implementation jar of the xerces jar will be used by ant to parse
XML files, particularly the build files, if the JDK does not provide a parser
xercesImpl.jar is provided with ant -->
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.0</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- xml-apis contains the org.w3c.dom package
since ant is using DOM APIS to parse the XML build file and do other XML related activities
xml-apis is a compile time dependency
a version of xml-apis.jar is delivered with ant -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>

</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>


+ 0
- 21
src/etc/poms/ant-trax/pom.xml View File

@@ -41,27 +41,6 @@
<version>1.8.0-SNAPSHOT</version> <version>1.8.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<!-- the implementation jar of the xerces jar will be used by ant to parse
XML files, particularly the build files, if the JDK does not provide a parser
xercesImpl.jar is provided with ant -->
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.0</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- xml-apis contains the org.w3c.dom package
since ant is using DOM APIS to parse the XML build file and do other XML related activities
xml-apis is a compile time dependency
a version of xml-apis.jar is delivered with ant -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<!-- xalan contains a TRAX compliant implementation --> <!-- xalan contains a TRAX compliant implementation -->
<groupId>xalan</groupId> <groupId>xalan</groupId>


+ 0
- 21
src/etc/poms/ant/pom.xml View File

@@ -42,27 +42,6 @@
<version>1.8.0-SNAPSHOT</version> <version>1.8.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<!-- the implementation jar of the xerces jar will be used by ant to parse
XML files, particularly the build files, if the JDK does not provide a parser
xercesImpl.jar is provided with ant -->
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.0</version>
<optional>true</optional>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- xml-apis contains the org.w3c.dom package
since ant is using DOM APIS to parse the XML build file and do other XML related activities
xml-apis is a compile time dependency
a version of xml-apis.jar is delivered with ant -->
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
<optional>true</optional>
<scope>compile</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
<filters> <filters>


Loading…
Cancel
Save