You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ra...@apache.org on 2006/04/29 04:17:16 UTC
svn commit: r398067 - in /xmlbeans/trunk/bin: _setlib.cmd dumpxsb.cmd
inst2xsd.cmd scomp.cmd scopy.cmd sdownload.cmd sfactor.cmd svalidate.cmd
validate.cmd xpretty.cmd xsd2inst.cmd xsdtree.cmd xstc.cmd
Author: radup
Date: Fri Apr 28 19:17:14 2006
New Revision: 398067
URL: http://svn.apache.org/viewcvs?rev=398067&view=rev
Log:
Fix for XMLBEANS-230 (Spaces in the path to the JDK installation cause compile to fail)
Contributed by John Sisson and Radu Preotiuc.
Modified:
xmlbeans/trunk/bin/_setlib.cmd
xmlbeans/trunk/bin/dumpxsb.cmd
xmlbeans/trunk/bin/inst2xsd.cmd
xmlbeans/trunk/bin/scomp.cmd
xmlbeans/trunk/bin/scopy.cmd
xmlbeans/trunk/bin/sdownload.cmd
xmlbeans/trunk/bin/sfactor.cmd
xmlbeans/trunk/bin/svalidate.cmd
xmlbeans/trunk/bin/validate.cmd
xmlbeans/trunk/bin/xpretty.cmd
xmlbeans/trunk/bin/xsd2inst.cmd
xmlbeans/trunk/bin/xsdtree.cmd
xmlbeans/trunk/bin/xstc.cmd
Modified: xmlbeans/trunk/bin/_setlib.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/_setlib.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/_setlib.cmd (original)
+++ xmlbeans/trunk/bin/_setlib.cmd Fri Apr 28 19:17:14 2006
@@ -22,7 +22,7 @@
set XMLBEANS_LIB=
-if exist %XMLBEANS_HOME%\build\lib\xbean.jar set XMLBEANS_LIB=%XMLBEANS_HOME%\build\lib
-if exist %XMLBEANS_HOME%\lib\xbean.jar set XMLBEANS_LIB=%XMLBEANS_HOME%\lib
+if exist "%XMLBEANS_HOME%\build\lib\xbean.jar" set XMLBEANS_LIB=%XMLBEANS_HOME%\build\lib
+if exist "%XMLBEANS_HOME%\lib\xbean.jar" set XMLBEANS_LIB=%XMLBEANS_HOME%\lib
if "%XMLBEANS_LIB%" EQU "" echo "ERROR: Could not find xbean.jar, try setting XMLBEANS_LIB to the directory containing xbean.jar"
Modified: xmlbeans/trunk/bin/dumpxsb.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/dumpxsb.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/dumpxsb.cmd (original)
+++ xmlbeans/trunk/bin/dumpxsb.cmd Fri Apr 28 19:17:14 2006
@@ -20,11 +20,11 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_1.0_api.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.XsbDumper %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.XsbDumper %*
:done
Modified: xmlbeans/trunk/bin/inst2xsd.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/inst2xsd.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/inst2xsd.cmd (original)
+++ xmlbeans/trunk/bin/inst2xsd.cmd Fri Apr 28 19:17:14 2006
@@ -21,13 +21,13 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
set cp=%cp%;%XMLBEANS_LIB%\resolver.jar
-java -classpath %cp% org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.inst2xsd.Inst2Xsd %*
:done
Modified: xmlbeans/trunk/bin/scomp.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/scomp.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/scomp.cmd (original)
+++ xmlbeans/trunk/bin/scomp.cmd Fri Apr 28 19:17:14 2006
@@ -21,7 +21,7 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
@@ -29,6 +29,6 @@
set cp=%cp%;%JAVA_HOME%\lib\tools.jar
set cp=%cp%;%XMLBEANS_LIB%\resolver.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCompiler %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.SchemaCompiler %*
:done
Modified: xmlbeans/trunk/bin/scopy.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/scopy.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/scopy.cmd (original)
+++ xmlbeans/trunk/bin/scopy.cmd Fri Apr 28 19:17:14 2006
@@ -21,11 +21,11 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_1.0_api.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCopy %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.SchemaCopy %*
:done
Modified: xmlbeans/trunk/bin/sdownload.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/sdownload.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/sdownload.cmd (original)
+++ xmlbeans/trunk/bin/sdownload.cmd Fri Apr 28 19:17:14 2006
@@ -21,13 +21,13 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
set cp=%cp%;%XMLBEANS_LIB%\resolver.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.SchemaResourceManager %*
:done
Modified: xmlbeans/trunk/bin/sfactor.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/sfactor.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/sfactor.cmd (original)
+++ xmlbeans/trunk/bin/sfactor.cmd Fri Apr 28 19:17:14 2006
@@ -21,11 +21,11 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_1.0_api.jar;%XMLBEANS_LIB%\resolver.jar;
-java -classpath %cp% org.apache.xmlbeans.impl.tool.FactorImports %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.FactorImports %*
:done
Modified: xmlbeans/trunk/bin/svalidate.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/svalidate.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/svalidate.cmd (original)
+++ xmlbeans/trunk/bin/svalidate.cmd Fri Apr 28 19:17:14 2006
@@ -21,13 +21,13 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_ri.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.StreamInstanceValidator %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.StreamInstanceValidator %*
:done
Modified: xmlbeans/trunk/bin/validate.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/validate.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/validate.cmd (original)
+++ xmlbeans/trunk/bin/validate.cmd Fri Apr 28 19:17:14 2006
@@ -21,12 +21,12 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.InstanceValidator %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.InstanceValidator %*
:done
Modified: xmlbeans/trunk/bin/xpretty.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xpretty.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xpretty.cmd (original)
+++ xmlbeans/trunk/bin/xpretty.cmd Fri Apr 28 19:17:14 2006
@@ -19,9 +19,9 @@
@rem Invokes pretty printer
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_1.0_api.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.PrettyPrinter %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.PrettyPrinter %*
Modified: xmlbeans/trunk/bin/xsd2inst.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xsd2inst.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xsd2inst.cmd (original)
+++ xmlbeans/trunk/bin/xsd2inst.cmd Fri Apr 28 19:17:14 2006
@@ -20,12 +20,12 @@
@echo off
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
-java -classpath %cp% org.apache.xmlbeans.impl.xsd2inst.SchemaInstanceGenerator %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.xsd2inst.SchemaInstanceGenerator %*
:done
Modified: xmlbeans/trunk/bin/xsdtree.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xsdtree.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xsdtree.cmd (original)
+++ xmlbeans/trunk/bin/xsdtree.cmd Fri Apr 28 19:17:14 2006
@@ -19,9 +19,9 @@
@rem Invokes type hierarchy printer
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_1.0_api.jar;
-java -classpath %cp% org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter %*
Modified: xmlbeans/trunk/bin/xstc.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xstc.cmd?rev=398067&r1=398066&r2=398067&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xstc.cmd (original)
+++ xmlbeans/trunk/bin/xstc.cmd Fri Apr 28 19:17:14 2006
@@ -19,11 +19,11 @@
@rem Invokes XSTC
setlocal
-if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
+if "%XMLBEANS_LIB%" EQU "" call "%~dp0_setlib"
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
set cp=%cp%;%XMLBEANS_LIB%\jsr173_1.0_api.jar
set cp=%cp%;%XMLBEANS_LIB%\resolver.jar
-java -classpath %cp% org.apache.xmlbeans.impl.tool.XSTCTester %*
+java -classpath "%cp%" org.apache.xmlbeans.impl.tool.XSTCTester %*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org