You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by da...@apache.org on 2003/09/26 02:40:05 UTC

cvs commit: xml-xmlbeans/v1/xkit README.txt

daveremy    2003/09/25 17:40:05

  Modified:    v1       build.xml
               v1/xkit/bin dumpxsb.cmd scomp.cmd scopy.cmd sdownload.cmd
                        sfactor.cmd validate.cmd xpretty.cmd xsdtree.cmd
                        xstc.cmd
               v1/xkit/schemas/j2ee exported_build.xml
               v1/xkit  README.txt
  Added:       v1/xkit/bin dumpxsb scomp scopy sdownload sfactor validate
                        xpretty xsdtree xstc
  Removed:     v1/xkit/bin dumpxsb.sh scomp.sh scopy.sh sdownload.sh
                        sfactor.sh validate.sh xpretty.sh xsdtree.sh
                        xstc.sh
  Log:
  - Some relatively minor changes to update the xmlbeans disributable:
      -- renamed the build.xml xkit ant target to dist
      -- no longer include source in the distributable
      -- minor changes to the .zip structure
      -- minor changes to the readme.txt
  
  -  Renamed the unix utilities from .sh to having no suffix.
  
  CR: Eric Vasilik
  DRTs:  none
  
  Revision  Changes    Path
  1.5       +16 -28    xml-xmlbeans/v1/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	24 Sep 2003 23:31:04 -0000	1.4
  +++ build.xml	26 Sep 2003 00:40:04 -0000	1.5
  @@ -1,6 +1,7 @@
  -<project name="Xbean" default="default" basedir=".">  
  +<project name="Xbean" default="default" basedir=".">
   
     <property name="build.compiler" value="javac1.4"/>
  +  <property name="product.version" value="1.0.0"/>
   
     <target name="usage">
       <echo message="The following ant targets are defined:"/>
  @@ -405,45 +406,32 @@
     </target>
   
   
  -  <target name="xkit" depends="xbean, docs">
  -     <delete dir="build/private/xkit"/>
  -     <delete file="build/private/xkit.zip"/>
  +  <target name="dist" depends="xbean, docs">
  +     <delete dir="build/private/xmlbeans-${product.version}"/>
  +     <delete file="build/private/incubated-xmlbeans-${product.version}.zip"/>
   
  -     <mkdir dir="build/private/xkit"/>
  -     <copy todir="build/private/xkit">
  +     <mkdir dir="build/private/xmlbeans-${product.version}"/>
  +     <copy todir="build/private/xmlbeans-${product.version}">
           <fileset dir="xkit"/>
        </copy>
   
  -     <mkdir dir="build/private/xkit/lib"/>
  -     <copy todir="build/private/xkit/lib" file="build/ar/xbean.jar"/>
  +     <mkdir dir="build/private/xmlbeans-${product.version}/lib"/>
  +     <copy todir="build/private/xmlbeans-${product.version}/lib" file="build/ar/xbean.jar"/>
   
  -     <mkdir dir="build/private/xkit/src"/>
  -     <copy todir="build/private/xkit/src">
  -        <fileset dir="src/xmlpublic"/>
  -        <fileset dir="src/common"/>
  -        <fileset dir="src/configschema"/>
  -        <fileset dir="src/typeimpl"/>
  -        <fileset dir="src/typestore"/>
  -        <fileset dir="src/xmlcomp"/>
  -        <fileset dir="src/xmlconfig"/>
  -        <fileset dir="src/xmlstore"/>
  -        <fileset dir="src/xmlschema"/>
  -        <fileset dir="src/xsdschema"/>
  -     </copy>
  -
  -     <mkdir dir="build/private/xkit/src/schema"/>
  -     <copy todir="build/private/xkit/src/schema">
  +     <mkdir dir="build/private/xmlbeans-${product.version}/src/schema"/>
  +     <copy todir="build/private/xmlbeans-${product.version}/src/schema">
           <fileset dir="src/toolschema"/>
        </copy>
   
  -     <mkdir dir="build/private/xkit/javadoc"/>
  -     <copy todir="build/private/xkit/javadoc">
  +     <mkdir dir="build/private/xmlbeans-${product.version}/docs"/>
  +     <copy todir="build/private/xmlbeans-${product.version}/docs">
           <fileset dir="build/docs"/>
        </copy>
   
  -     <zip destfile="build/private/xkit.zip"
  +      <!-- todo for gump?: add yyyyMMdd into filename - rem -->
  +      <zip destfile="build/private/incubated-xmlbeans-${product.version}.zip"
             basedir="build/private"
  -          includes="xkit/**"/>
  +          includes="xmlbeans-${product.version}/**"/>
     </target>
   
     <!-- previously in xbean.xml -->
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/dumpxsb.cmd
  
  Index: dumpxsb.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/dumpxsb.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- dumpxsb.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ dumpxsb.cmd	26 Sep 2003 00:40:04 -0000	1.2
  @@ -7,6 +7,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.XsbDumper %*
  +java -classpath %cp% xmlbeans.apache.org.tool.XsbDumper %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/scomp.cmd
  
  Index: scomp.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/scomp.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- scomp.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ scomp.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -7,6 +7,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.SchemaCompiler %*
  +java -classpath %cp% xmlbeans.apache.org.tool.SchemaCompiler %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/scopy.cmd
  
  Index: scopy.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/scopy.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- scopy.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ scopy.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -7,6 +7,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.SchemaCopy %*
  +java -classpath %cp% xmlbeans.apache.org.tool.SchemaCopy %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/sdownload.cmd
  
  Index: sdownload.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/sdownload.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sdownload.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ sdownload.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -3,6 +3,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.SchemaResourceManager %*
  +java -classpath %cp% xml.apache.org.tool.SchemaResourceManager %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/sfactor.cmd
  
  Index: sfactor.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/sfactor.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sfactor.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ sfactor.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -5,6 +5,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.FactorImports %*
  +java -classpath %cp% xml.apache.org.tool.FactorImports %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/validate.cmd
  
  Index: validate.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/validate.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- validate.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ validate.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -7,6 +7,6 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.InstanceValidator %*
  +java -classpath %cp% xml.apache.org.tool.InstanceValidator %*
   
   :done
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/xpretty.cmd
  
  Index: xpretty.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/xpretty.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xpretty.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ xpretty.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -3,4 +3,4 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.PrettyPrinter %*
  +java -classpath %cp% xml.apache.org.tool.PrettyPrinter %*
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/xsdtree.cmd
  
  Index: xsdtree.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/xsdtree.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xsdtree.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ xsdtree.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -3,4 +3,4 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.TypeHierarchyPrinter %*
  +java -classpath %cp% xml.apache.org.tool.TypeHierarchyPrinter %*
  
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/bin/xstc.cmd
  
  Index: xstc.cmd
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/bin/xstc.cmd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xstc.cmd	15 Sep 2003 18:20:47 -0000	1.1
  +++ xstc.cmd	26 Sep 2003 00:40:05 -0000	1.2
  @@ -3,4 +3,4 @@
   set cp=
   set cp=%cp%;%XMLBEANDIR%\xbean.jar
   
  -java -classpath %cp% com.bea.xbean.tool.XSTCTester %*
  +java -classpath %cp% xml.apache.org.tool.XSTCTester %*
  
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/dumpxsb
  
  Index: dumpxsb
  ===================================================================
  #!/bin/sh
  
  #XSB file dumper
  #Prints the contents of an xsb file in human-readable form
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xmlbeans.apache.org.tool.XsbDumper $*
  
  
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/scomp
  
  Index: scomp
  ===================================================================
  #!/bin/sh
  
  #Schema compiler
  #Builds XBean types from xsd files.
  
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xmlbeans.apache.org.tool.SchemaCompiler $*
  
  
  
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/scopy
  
  Index: scopy
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.SchemaCompiler $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/sdownload
  
  Index: sdownload
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.SchemaResourceManager $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/sfactor
  
  Index: sfactor
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.FactorImports $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/validate
  
  Index: validate
  ===================================================================
  #!/bin/sh
  #
  # Instance Validator
  #
  # Validates an instance against a schema.
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.InstanceValidator $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/xpretty
  
  Index: xpretty
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.PrettyPrinter $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/xsdtree
  
  Index: xsdtree
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.TypeHierarchyPrinter $*
  
  
  1.1                  xml-xmlbeans/v1/xkit/bin/xstc
  
  Index: xstc
  ===================================================================
  #!/bin/sh
  
  cp=
  cp=$cp:$XMLBEANDIR/xbean.jar
  
  java -classpath $cp xml.apache.org.tool.XSTCTester $*
  
  
  1.2       +1 -1      xml-xmlbeans/v1/xkit/schemas/j2ee/exported_build.xml
  
  Index: exported_build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/schemas/j2ee/exported_build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- exported_build.xml	15 Sep 2003 18:20:48 -0000	1.1
  +++ exported_build.xml	26 Sep 2003 00:40:05 -0000	1.2
  @@ -17,7 +17,7 @@
       </fileset>
     </path>
     
  -  <taskdef name="xmlbean" classname="com.bea.xbean.tool.XMLBean" classpathref="task.classpath"/>
  +  <taskdef name="xmlbean" classname="xml.apache.org.tool.XMLBean" classpathref="task.classpath"/>
     
     <target name="build" description="Build the Schemas project and copy it to Libraries">
     	
  
  
  
  1.2       +9 -20     xml-xmlbeans/v1/xkit/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/xkit/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt	15 Sep 2003 18:20:47 -0000	1.1
  +++ README.txt	26 Sep 2003 00:40:05 -0000	1.2
  @@ -1,4 +1,4 @@
  -XMLBeans survival kit
  +XMLBeans Development Kit
   
   
   Welcome to XMLBeans!
  @@ -21,25 +21,14 @@
       ./anttask.html
   
   (5) A copy of the plain javadoc tree for com.bea.xml.*
  -    ./javadoc
  +    ./docs/reference
   
   (6) A preliminary collection of nicely formatted user-level
       documentation HTML (includes reformatted and nicely
       organized javadoc as well)
  -    ./doc
  +    ./docs/guide
   
  -(7) A copy of the XMLBean source code.  We've done nothing
  -    to make sure it's buildable here; the code is just there
  -    for your reference and debugging.
  -    ./src
  -
  -(8) A copy of the Piccolo source code.  XMLBeans uses a
  -    bugfixed distribution of Yuval Oren's fast Piccolo parser,
  -    which is licensed under LGPL (and so which gives you the
  -    right to remodify and redistribute Piccolo).
  -    ./srcdist/Piccolo.zip.
  -
  -(9) A few sample schemas
  +(7) A few sample schemas
       ./schemas
   
   
  @@ -91,7 +80,7 @@
       Now, armed with the XMLBeans source code and the basic
       docs, you're ready to program.  Things you need to know:
   
  -    * The com.bea.xml package has all the public classes
  +    * The org.apache.xmlbeans package has all the public classes
         for XMLBeans.  Programs should not need to call anything
         else in xbean.jar directly.
   
  @@ -130,7 +119,7 @@
         systems.
   
       With that, you're ready to navigate the javadoc and play
  -    with the code.  Also, try reading some of our preliminary
  +    with the code.  Also, try reading some of our 
       docs that are included in ./docs
   
   (3) Try some of the other utilities; you can also see a few
  @@ -139,7 +128,7 @@
       1. "xpretty instance.xml" pretty-prints an XML instance
          document.
   
  -       The code is in com.bea.xbean.tool.PrettyPrinter and is
  +       The code is in xml.apache.org.tool.PrettyPrinter and is
          a reasonable example of how to load and save out an
          arbitrary XML document.  XmlOptions are used to produce
          the pretty-printing.
  @@ -148,7 +137,7 @@
          instance against the schema.  XMLBeans is intended to
          be a very accurate XML schema validator.
   
  -       The code is in com.bea.xbean.tool.InstanceValidator.
  +       The code is in xml.apache.org.tool.InstanceValidator.
          It is an excellent example of how to load a schema
          type system dynamically at runtime, load and validate
          an instance within that type system, and how to obtain
  @@ -157,7 +146,7 @@
       3. "xsdtree easypo" will show the inheritance hierarchy
          of the schema types in that directory.
   
  -       The code is in com.bea.xbean.tool.TypeHierarchyPrinter
  +       The code is in xml.apache.org.tool.TypeHierarchyPrinter
          and is a good introduction to how to traverse the
          metadata in a schema type system.
   
  
  
  

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