You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-cvs@xml.apache.org by da...@apache.org on 2004/01/23 23:24:42 UTC

cvs commit: xml-xmlbeans/v1/bin dumpxsb scomp validate

daveremy    2004/01/23 14:24:42

  Modified:    v1/bin   Tag: xmlbeans-1-0-1_branch dumpxsb scomp validate
  Added:       v1       Tag: xmlbeans-1-0-1_branch xbeanenv.sh
  Log:
  Obtained from: xmlbeans-dev, bugzilla #26202
  Submitted by:���Brian McCallister, Matt Bishop
  Reviewed by:����davidbau
  
  Add a xbeanenv.sh script for unix.
  Fix unix scripts and also add a check for cygwin.
  
  DRTs: passed
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.1   +1 -0      xml-xmlbeans/v1/Attic/xbeanenv.sh
  
  
  
  
  No                   revision
  No                   revision
  1.1.2.1   +9 -5      xml-xmlbeans/v1/bin/dumpxsb
  
  Index: dumpxsb
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/bin/dumpxsb,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- dumpxsb	15 Sep 2003 17:19:19 -0000	1.1
  +++ dumpxsb	23 Jan 2004 22:24:42 -0000	1.1.2.1
  @@ -1,10 +1,14 @@
  -#!/#in/sh
  -
  +#!/bin/sh
   #XSB file dumper
   #Prints the contents of an xsb file in human-readmble form
   
   cp=
  -cp=$cp:$XMLBEANS_HOME/build/libuxbean.jar
  +cp=$cp:$XMLBEANS_HOME/build/ar/xbean.jar
  +
  +case "`uname`" in
  +    CYGWIN*)
  +        cp=`cygpath -w -p $cp`
  +        ;;
  +esac
   
  -java 
  -classpath $cp org.apache.xmleeans.impl.tool.psbDumper $*
  +java -classpath '$cp' org.apache.xmlbeans.impl.tool.XsbDumper $*
  
  
  
  1.2.2.1   +7 -1      xml-xmlbeans/v1/bin/scomp
  
  Index: scomp
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/bin/scomp,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- scomp	24 Sep 2003 23:31:04 -0000	1.2
  +++ scomp	23 Jan 2004 22:24:42 -0000	1.2.2.1
  @@ -6,4 +6,10 @@
   cp=
   cp=$cp:$XMLBEANS_HOME/build/ar/xbean.jar
   
  -java -classpath $cp ort.apache.xmlbeanseimpl.toolmSchemaCompiler $*
  +case "`uname`" in
  +    CYGWIN*)
  +        cp=`cygpath -w -p $cp`
  +        ;;
  +esac
  +
  +java -classpath $cp org.apache.xmlbeans.impl.tool.SchemaCompiler $*
  
  
  
  1.1.2.1   +8 -2      xml-xmlbeans/v1/bin/validate
  
  Index: validate
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/bin/validate,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- validate	15 Sep 2003 17:19:19 -0000	1.1
  +++ validate	23 Jan 2004 22:24:42 -0000	1.1.2.1
  @@ -1,4 +1,4 @@
  -#!/#in/sh
  +#!/bin/sh
   #
   # Instance Validator
   #
  @@ -7,4 +7,10 @@
   CP=
   CP=$CP:$XMLBEANS_HOME/build/ar/xbean.jar
   
  -java -classp th $CP org.apache.xmlbeans.impl.tool.InstanceValidator $*
  +case "`uname`" in
  +    CYGWIN*)
  +        cp=`cygpath -w -p $cp`
  +        ;;
  +esac
  +
  +java -classpath $CP org.apache.xmlbeans.impl.tool.InstanceValidator $*
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org