Browse Source

Update to Jaxp 1.1

Also - handle spaces in classpaths


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268755 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 24 years ago
parent
commit
239b313fa1
12 changed files with 16 additions and 12 deletions
  1. +5
    -1
      WHATSNEW
  2. +2
    -2
      bootstrap.bat
  3. +1
    -1
      bootstrap.sh
  4. +1
    -1
      build.bat
  5. +1
    -1
      build.sh
  6. +1
    -1
      docs/manual/Integration/VAJAntTool.html
  7. +1
    -1
      docs/manual/OptionalTasks/dotnet.html
  8. +3
    -3
      docs/manual/install.html
  9. BIN
      lib/crimson.jar
  10. BIN
      lib/jaxp.jar
  11. BIN
      lib/parser.jar
  12. +1
    -1
      src/script/ant.bat

+ 5
- 1
WHATSNEW View File

@@ -1,4 +1,8 @@
Changes from Ant 1.2 to Ant 1.3 Beta 3
Changes from Ant 1.3 to CVS Version
===========================================


Changes from Ant 1.2 to Ant 1.3
===========================================

Changes that could break older environments:


+ 2
- 2
bootstrap.bat View File

@@ -21,7 +21,7 @@ echo ... Bootstrapping Ant Distribution
if "%OS%" == "Windows_NT" if exist bootstrap rmdir/s/q bootstrap
if not "%OS%" == "Windows_NT" if exist bootstrap deltree/y bootstrap

SET LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar;lib\optional\junit.jar
SET LOCALCLASSPATH=lib\crimson.jar;lib\jaxp.jar;lib\optional\junit.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
@@ -29,7 +29,7 @@ if exist %JAVA_HOME%\lib\classes.zip call src\script\lcp.bat %JAVA_HOME%\lib\cla
set TOOLS=src\main\org\apache\tools
set CLASSDIR=classes

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

echo JAVA_HOME=%JAVA_HOME%
echo JAVA=%JAVA%


+ 1
- 1
bootstrap.sh View File

@@ -41,7 +41,7 @@ if [ -d "bootstrap" ] ; then
rm -r bootstrap
fi

CLASSPATH=lib/parser.jar:lib/jaxp.jar:lib/optional/junit.jar:${CLASSPATH}
CLASSPATH=lib/crimson.jar:lib/jaxp.jar:lib/optional/junit.jar:${CLASSPATH}

TOOLS=src/main/org/apache/tools
CLASSDIR=classes


+ 1
- 1
build.bat View File

@@ -7,7 +7,7 @@ if exist bootstrap\lib\ant.jar if exist bootstrap\bin\ant.bat if exist bootstrap
call bootstrap.bat

:runAnt
set LOCALCLASSPATH=lib\parser.jar;lib\jaxp.jar;bootstrap\lib\ant.jar
set LOCALCLASSPATH=lib\crimson.jar;lib\jaxp.jar;bootstrap\lib\ant.jar
for %%i in (lib\optional\*.jar) do call bootstrap\bin\lcp.bat "%%i"
set CLASSPATH=%LOCALCLASSPATH%;%CLASSPATH%
set LOCALCLASSPATH=


+ 1
- 1
build.sh View File

@@ -8,7 +8,7 @@ if test ! -f bootstrap/lib/ant.jar -o ! -x bootstrap/bin/ant -o ! -x bootstrap/
/bin/sh ./bootstrap.sh
fi

LOCALCLASSPATH=lib/parser.jar:lib/jaxp.jar
LOCALCLASSPATH=lib/crimson.jar:lib/jaxp.jar
# add in the dependency .jar files
DIRLIBS=lib/optional/*.jar
for i in ${DIRLIBS}


+ 1
- 1
docs/manual/Integration/VAJAntTool.html View File

@@ -353,7 +353,7 @@ For more information see the <a href="#installation">installation</a> section.<b
&lt;!-- =================================================================== --&gt;
&lt;target name="expand"&gt;
&lt;mkdir dir="${build.classes}"/&gt;
&lt;unzip src="${antdistribution.dir}\lib\parser.jar"
&lt;unzip src="${antdistribution.dir}\lib\crimson.jar"
dest="${build.classes}"
/&gt;
&lt;unzip src="${antdistribution.dir}\lib\jaxp.jar"


+ 1
- 1
docs/manual/OptionalTasks/dotnet.html View File

@@ -105,7 +105,7 @@ To use the net tasks one needs
that typing 'ant' invokes ant via a batch file.</li>

<li> An XML parser for ant. The usual distributions include an appropriate
version parser.jar and jaxp.jar.</li>
version crimson.jar and jaxp.jar.</li>

<li> the .net tasks archive (dotnettasks.jar) included in the
ant\lib directory</li>


+ 3
- 3
docs/manual/install.html View File

@@ -39,12 +39,12 @@ Ant CVS repository</a> on-line. </p>
To build and use Ant, you must have a JAXP-compliant XML parser installed and
available on your classpath.</p>
<p>
Both the binary and source distributions of Ant include the reference
implementation of JAXP 1.0. Please see
The binary distribution of Ant includes the reference
implementation of JAXP 1.1. Please see
<a href="http://java.sun.com/xml/" target="_top">http://java.sun.com/xml/</a>
for more information.
If you wish to use a different JAXP-compliant parser, you should remove
<code>jaxp.jar</code> and <code>parser.jar</code>
<code>jaxp.jar</code> and <code>crimson.jar</code>
from Ant's <code>lib</code> directory.

You can then either put the jars from your preferred parser into Ant's


BIN
lib/crimson.jar View File


BIN
lib/jaxp.jar View File


BIN
lib/parser.jar View File


+ 1
- 1
src/script/ant.bat View File

@@ -55,7 +55,7 @@ goto end

:checkJava
set _JAVACMD=%JAVACMD%
set LOCALCLASSPATH=%CLASSPATH%
set LOCALCLASSPATH="%CLASSPATH%"
for %%i in ("%ANT_HOME%\lib\*.jar") do call "%ANT_HOME%\bin\lcp.bat" "%%i"

if "%JAVA_HOME%" == "" goto noJavaHome


Loading…
Cancel
Save