Hi,

 I have a requirement in whcih I need to generate XML beans from Schemas
on JDK 1.3 platform.

So am using XMLBeans  version xmlbeans-1.0.4-jdk1.3.zip downloaded from
http://off.co.il/apache/xmlbeans/binaries/
 Couple os issues I faced -

when I ran the scompm.cmd after setting the path for XMLBeans and
Java_Home pointing to JDK 1.3 -

C:\venkat\metadata\xsd\base>scomp.cmd -src result -out xmlTypes.jar
-noupa -nopvr -
erbose -mx 1024m -compiler c:\venkat\java\bin\javac OmsInterface.xsd
Unrecognized option: -src
Unable to parse 1.2 format supplied options - rc=-6
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
              set search path for application classes and resources
    -D<name>=<value>
              set a system property
    -verbose[:class|gc|jni]
              enable verbose output
    -version  print product version
    -showversion  print product version and continue
    -? -help  print this help message
    -X        print help on non-standard options
Could not create the Java virtual machine.

After this, I manually set the classpath to all the jar files in lib
folder when I ran the following -

C:\venkat\metadata\xsd\base>java
org.apache.xmlbeans.impl.tool.SchemaCompiler -s
rc result -out xmlTypes.jar -noupa -nopvr -verbose -mx 1024m -compiler
c:\venkat
\java\bin\javac OmsInterface.xsd


Loading schema file OmsInterface.xsd
Loading referenced file ../impl/ImplInterface.xsd
Loading referenced file ../impl/ImplValueAddContracts.xsd
Loading referenced file ../impl/ImplValueAdd.xsd
Loading referenced file ../impl/ImplSimulatorContracts.xsd
Loading referenced file ../impl/ImplBusObjComElements.xsd
JVMXM004: JVM is performing abort shutdown sequence
JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to
C:\venkat\metadata\xsd\base\javacore.2005120
7.135329.1260.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

The program is terminating..

Please someone help...

Thanks,
-Venkat


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to