You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2005/05/10 20:05:45 UTC
svn commit: r169504 - in /xmlbeans/trunk/bin: dumpxsb.cmd scopy.cmd xpretty
xpretty.cmd xsdtree.cmd
Author: cezar
Date: Tue May 10 11:05:45 2005
New Revision: 169504
URL: http://svn.apache.org/viewcvs?rev=169504&view=rev
Log:
Fix classpath for xpretty, scopy and dumpxsb scripts.
Added:
xmlbeans/trunk/bin/xpretty
Modified:
xmlbeans/trunk/bin/dumpxsb.cmd
xmlbeans/trunk/bin/scopy.cmd
xmlbeans/trunk/bin/xpretty.cmd
xmlbeans/trunk/bin/xsdtree.cmd
Modified: xmlbeans/trunk/bin/dumpxsb.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/dumpxsb.cmd?rev=169504&r1=169503&r2=169504&view=diff
==============================================================================
--- xmlbeans/trunk/bin/dumpxsb.cmd (original)
+++ xmlbeans/trunk/bin/dumpxsb.cmd Tue May 10 11:05:45 2005
@@ -23,7 +23,7 @@
if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
set cp=
-set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
+set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_api.jar
java -classpath %cp% org.apache.xmlbeans.impl.tool.XsbDumper %*
Modified: xmlbeans/trunk/bin/scopy.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/scopy.cmd?rev=169504&r1=169503&r2=169504&view=diff
==============================================================================
--- xmlbeans/trunk/bin/scopy.cmd (original)
+++ xmlbeans/trunk/bin/scopy.cmd Tue May 10 11:05:45 2005
@@ -24,7 +24,7 @@
if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
set cp=
-set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
+set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_api.jar
java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaCopy %*
Added: xmlbeans/trunk/bin/xpretty
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xpretty?rev=169504&view=auto
==============================================================================
--- xmlbeans/trunk/bin/xpretty (added)
+++ xmlbeans/trunk/bin/xpretty Tue May 10 11:05:45 2005
@@ -0,0 +1,30 @@
+#!/bin/sh
+##
+## Copyright 2004 The Apache Software Foundation
+##
+## Licensed under the Apache License, Version 2.0 (the "License");
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+
+#Invokes pretty printer
+
+if [ -z $XMLBEANS_LIB ]; then . `dirname $0`/_setlib; fi
+
+cp=$XMLBEANS_LIB/xbean.jar:$XMLBEANS_LIB/jsr173_api.jar
+
+case "`uname`" in
+ CYGWIN*)
+ cp=`cygpath -w -p $cp`
+ ;;
+esac
+
+java -classpath $cp org.apache.xmlbeans.impl.tool.PrettyPrinter $*
Modified: xmlbeans/trunk/bin/xpretty.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xpretty.cmd?rev=169504&r1=169503&r2=169504&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xpretty.cmd (original)
+++ xmlbeans/trunk/bin/xpretty.cmd Tue May 10 11:05:45 2005
@@ -22,6 +22,6 @@
if "%XMLBEANS_LIB%" EQU "" call %~dp0_setlib
set cp=
-set cp=%cp%;%XMLBEANS_LIB%\xbean.jar
+set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_api.jar
java -classpath %cp% org.apache.xmlbeans.impl.tool.PrettyPrinter %*
Modified: xmlbeans/trunk/bin/xsdtree.cmd
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/bin/xsdtree.cmd?rev=169504&r1=169503&r2=169504&view=diff
==============================================================================
--- xmlbeans/trunk/bin/xsdtree.cmd (original)
+++ xmlbeans/trunk/bin/xsdtree.cmd Tue May 10 11:05:45 2005
@@ -23,4 +23,5 @@
set cp=
set cp=%cp%;%XMLBEANS_LIB%\xbean.jar;%XMLBEANS_LIB%\jsr173_api.jar;
+
java -classpath %cp% org.apache.xmlbeans.impl.tool.TypeHierarchyPrinter %*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org