Update .bat files so they work on directories with spaces in the names. Update the contents.xml manifest
authorBob Rosenberg <bob.rosenberg@nokia.com>
Fri, 06 Aug 2010 10:52:54 +0100
changeset 635 945d232265c4
parent 634 f7179968fc36
child 636 29e6a24e9521
Update .bat files so they work on directories with spaces in the names. Update the contents.xml manifest
metatools/sysdeftools/checklinks.bat
metatools/sysdeftools/filtering.bat
metatools/sysdeftools/group/contents.xml
metatools/sysdeftools/group/perl.bat
metatools/sysdeftools/group/unixxslcmd.bat
metatools/sysdeftools/group/unixxsltccmd.bat
metatools/sysdeftools/joinandparesysdef.bat
metatools/sysdeftools/joinsysdef.bat
metatools/sysdeftools/mergesysdef.bat
metatools/sysdeftools/rootsysdef.bat
metatools/sysdeftools/sysdefdowngrade.bat
metatools/sysdeftools/validate-sysdef.bat
--- a/metatools/sysdeftools/checklinks.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/checklinks.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -13,5 +13,5 @@
 @rem Description: 
 @rem
 @setlocal
-@perl %~dpn0.pl %*
+@perl "%~dpn0.pl" %*
 
--- a/metatools/sysdeftools/filtering.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/filtering.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %* 
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %* 
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
\ No newline at end of file
--- a/metatools/sysdeftools/group/contents.xml	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/group/contents.xml	Fri Aug 06 10:52:54 2010 +0100
@@ -1,42 +1,42 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <ProductsDefinition schema="3.0.0">
 	<product name="BuildEnvironment" long-name="Build Environment">
-		<tool name="sysdeftools" long-name="System Definition Tools" default-src="sftools/build/metatools/sysdeftools" default-dst="/" version="1.0.0.0">
+		<tool name="sysdeftools" long-name="System Definition Tools" default-src="metatools/sysdeftools" default-dst="/" version="1.0.0.0">
 
 			<!-- core functionality -->
 			<file filename="*.pl"/> 
 			<file filename="*.xsl"/> 
 
 				<!-- reusable modules and internal utilities -->
-		  <file filename="*.xsl" src="sftools/build/metatools/sysdeftools/lib/" dst="lib/"/> 
+		  <file filename="*.xsl" src="metatools/sysdeftools/lib/" dst="lib/"/> 
 
 				<!-- Xalan jar files -->
-		  <file filename="*" src="sftools/build/metatools/sysdeftools/xalanj/" dst="xalanj/"/> 
+		  <file filename="*" src="metatools/sysdeftools/xalanj/" dst="xalanj/"/> 
 
 			<windows>
-			  <file filename="perl.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/checklinks.bat"/> 
-			  <file filename="perl.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/joinsysdef.bat"/> 
-			  <file filename="perl.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/rootsysdef.bat"/> 
+			  <file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/checklinks.bat"/> 
+			  <file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/joinsysdef.bat"/> 
+			  <file filename="perl.bat" src="metatools/sysdeftools/group/" dstFile="/rootsysdef.bat"/> 
 
 				<!-- Xalan-calling .bat files -->
-			  <file filename="unixxslcmd.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/joinandparesysdef.bat"/> 
-			  <file filename="unixxslcmd.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/filtering.bat"/> 
-			  <file filename="unixxslcmd.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/validate-sysdef.bat"/> 
+			  <file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/joinandparesysdef.bat"/> 
+			  <file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/filtering.bat"/> 
+			  <file filename="unixxslcmd.bat" src="metatools/sysdeftools/group/" dstFile="/validate-sysdef.bat"/> 
 
 				<!-- Xalan-calling .bat files that use XSLTC -->
-			  <file filename="unixxsltccmd.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/mergesysdef.bat"/> 
-			  <file filename="unixxsltccmd.bat" src="sftools/build/metatools/sysdeftools/group/" dstFile="/sysdefdowngrade.bat"/> 
+			  <file filename="unixxsltccmd.bat" src="metatools/sysdeftools/group/" dstFile="/mergesysdef.bat"/> 
+			  <file filename="unixxsltccmd.bat" src="metatools/sysdeftools/group/" dstFile="/sysdefdowngrade.bat"/> 
 			</windows>
 		
 			<linux>
 				<!-- Xalan-calling unix files -->
-			  <file filename="unixxslcmd" src="sftools/build/metatools/sysdeftools/group/" dstFile="/joinandparesysdef"/> 
-			  <file filename="unixxslcmd" src="sftools/build/metatools/sysdeftools/group/" dstFile="/filtering"/> 
-			  <file filename="unixxslcmd" src="sftools/build/metatools/sysdeftools/group/" dstFile="/validate-sysdef"/> 
+			  <file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/joinandparesysdef"/> 
+			  <file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/filtering"/> 
+			  <file filename="unixxslcmd" src="metatools/sysdeftools/group/" dstFile="/validate-sysdef"/> 
 
 				<!-- Xalan-calling unix files that use XSLTC -->
-			  <file filename="unixxsltccmd" src="sftools/build/metatools/sysdeftools/group/" dstFile="/mergesysdef"/> 
-			  <file filename="unixxsltccmd" src="sftools/build/metatools/sysdeftools/group/" dstFile="/sysdefdowngrade"/> 
+			  <file filename="unixxsltccmd" src="metatools/sysdeftools/group/" dstFile="/mergesysdef"/> 
+			  <file filename="unixxsltccmd" src="metatools/sysdeftools/group/" dstFile="/sysdefdowngrade"/> 
 			</linux>
 		</tool>
 	</product>
--- a/metatools/sysdeftools/group/perl.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/group/perl.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -13,5 +13,5 @@
 @rem Description: 
 @rem
 @setlocal
-@perl %~dpn0.pl %*
+@perl "%~dpn0.pl" %*
 
--- a/metatools/sysdeftools/group/unixxslcmd.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/group/unixxslcmd.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %* 
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %* 
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
--- a/metatools/sysdeftools/group/unixxsltccmd.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/group/unixxsltccmd.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %*  -XSLTC
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %*  -XSLTC
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
--- a/metatools/sysdeftools/joinandparesysdef.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/joinandparesysdef.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %* 
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %* 
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
--- a/metatools/sysdeftools/joinsysdef.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/joinsysdef.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -13,5 +13,5 @@
 @rem Description: 
 @rem
 @setlocal
-@perl %~dpn0.pl %*
+@perl "%~dpn0.pl" %*
 
--- a/metatools/sysdeftools/mergesysdef.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/mergesysdef.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %*  -XSLTC
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %*  -XSLTC
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
--- a/metatools/sysdeftools/rootsysdef.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/rootsysdef.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -13,5 +13,5 @@
 @rem Description: 
 @rem
 @setlocal
-@perl %~dpn0.pl %*
+@perl "%~dpn0.pl" %*
 
--- a/metatools/sysdeftools/sysdefdowngrade.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/sysdefdowngrade.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar -xsl %~dpn0.xsl %*  -XSLTC
+@ java -jar "%~dp0xalanj\xalan.jar" -xsl "%~dpn0.xsl" %*  -XSLTC
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end
--- a/metatools/sysdeftools/validate-sysdef.bat	Tue Aug 03 12:14:54 2010 +0100
+++ b/metatools/sysdeftools/validate-sysdef.bat	Fri Aug 06 10:52:54 2010 +0100
@@ -14,8 +14,8 @@
 @rem
 @setlocal
 @if .%1==. goto use
-@ java -jar %~dp0xalanj\xalan.jar   -xsl %~dpn0.xsl %*
+@ java -jar "%~dp0xalanj\xalan.jar"   -xsl "%~dpn0.xsl" %*
 @goto end
 :use
-@ java -jar %~dp0xalanj\xalan.jar -in %~dpn0.xsl -xsl %~dp0lib\usage.xsl -param usage "%~n0"
+@ java -jar "%~dp0xalanj\xalan.jar" -in "%~dpn0.xsl" -xsl "%~dp0lib\usage.xsl" -param usage "%~n0"
 :end