Return-Path: Delivered-To: apmail-xml-xmlbeans-user-archive@www.apache.org Received: (qmail 163 invoked from network); 3 May 2004 16:16:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 May 2004 16:16:53 -0000 Received: (qmail 62706 invoked by uid 500); 3 May 2004 16:16:45 -0000 Delivered-To: apmail-xml-xmlbeans-user-archive@xml.apache.org Received: (qmail 62687 invoked by uid 500); 3 May 2004 16:16:45 -0000 Mailing-List: contact xmlbeans-user-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: xmlbeans-user@xml.apache.org Delivered-To: mailing list xmlbeans-user@xml.apache.org Received: (qmail 62671 invoked from network); 3 May 2004 16:16:44 -0000 Message-ID: From: "Hamilton, Brenda" To: "'xmlbeans-user@xml.apache.org'" Subject: RE: getting started Date: Mon, 3 May 2004 12:16:44 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C43129.AB5A94BE" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C43129.AB5A94BE Content-Type: text/plain; charset="iso-8859-1" Spoke a little too soon. Getting a different error now. It's complaining about not finding javac in the path. But it's plain that javac is in the path. Anyone else have this very frustrating problem? thanks AGAIN Brenda C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd -src ./ -out easypo.jar easypo.xsd Time to build schema type system: 3.645 seconds Time to generate code: 0.691 seconds 'javac' is required on the path. java.io.IOException: CreateProcess: C:\xmlbeans-1.0.2\schemas\easypo\javac @C:\D OCUME~1\BHAMIL~1\LOCALS~1\Temp\javac27898 error=2 null java.io.IOException: CreateProcess: C:\xmlbeans-1.0.2\schemas\easypo\javac @C:\D OCUME~1\BHAMIL~1\LOCALS~1\Temp\javac27898 error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil .java:218) at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.j ava:815) at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java :264) BUILD FAILED C:\xmlbeans-1.0.2\schemas\easypo>javac Usage: javac where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are us ed -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -help Print a synopsis of standard options C:\xmlbeans-1.0.2\schemas\easypo> -----Original Message----- From: Hamilton, Brenda [mailto:Brenda.Hamilton@turner.com] Sent: Monday, May 03, 2004 11:32 AM To: 'xmlbeans-user@xml.apache.org' Subject: RE: getting started Well, after my last email, I decided to do a build, using ant, which we use for ours projects as well. After the build finished, I reset my path and classpath, now it's working. oh well, such is life. Thanks All! Brenda -----Original Message----- From: Saha, Sanjeev [ mailto:SSaha@asce.org ] Sent: Friday, April 30, 2004 8:32 PM To: xmlbeans-user@xml.apache.org Cc: Brenda.Hamilton@turner.com Subject: RE: getting started Howdy Brenda, I second Jacob's approach and would suggest going ahead and executing the xbeanenv.cmd script. I was experiencing similar issues as you had mentioned under Windows Xp with jdk 1.4.2_01-b06. Needless to say, xbeanenv.cmd did the trick :o) -Sanjeev -----Original Message----- From: Jacob Danner [ mailto:jacobd@bea.com ] Sent: Fri 4/30/2004 3:20 PM To: xmlbeans-user@xml.apache.org; Brenda.Hamilton@turner.com Cc: Subject: RE: getting started it looks like you need to add xbean.jar to your classpath. This is easily done by setting the XMLBEANS_HOME environment variable, (execute xbeanenv.cmd) If this is still occuring after trying this, please send classpath information. -----Original Message----- From: Hamilton, Brenda [ mailto:Brenda.Hamilton@turner.com ] Sent: Friday, April 30, 2004 11:55 AM To: 'xmlbeans-user@xml.apache.org' Subject: RE: getting started Well, I installed JDK 1.4.2 but I'm still getting errors. I'm using a Win2K machine. I've checked and double checked my environment. I don't see anything wrong. Here's the results I'm getting. First command is just checking the jvm. The 2nd is checking the I get a usage from the scomp.cmd. The 3rd and 4th commands are trying to run the easypo example. No joy. Any comments, questions or suggestions would be appreciated. :) thanks, Brenda C:\xmlbeans-1.0.2\schemas\easypo>java -version java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp -classpath A ; separated list of directories, JAR archives, and ZIP archives to search for class files. -D= set a system property -verbose[:class|gc|jni] enable verbose output -version print product version and exit -showversion print product version and continue -? -help print this help message -X print help on non-standard options -ea[:...|:] -enableassertions[:...|:] enable assertions -da[:...|:] -disableassertions[:...|:] disable assertions -esa | -enablesystemassertions enable system assertions -dsa | -disablesystemassertions disable system assertions C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd Exception in thread "main" java.lang.NoClassDefFoundError: easypo/xsd C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo Exception in thread "main" java.lang.NoClassDefFoundError: easypo -----Original Message----- From: Dutta Satadip [ mailto:s-dutta@sbcglobal.net ] Sent: Thursday, April 29, 2004 9:50 PM To: xmlbeans-user@xml.apache.org Subject: Re: getting started Hello Brenda, The support for JDK 1.3.1 is still being worked on AFAIK. So currently it will work with JDK 1.4.X. However the problem you are describing seems like your paths are not set correctly. With Regards Dutta:) --- "Hamilton, Brenda" wrote: > I read that backwards support for java 1.3.1 was > being considered. Has that been added yet? I'm > currently running 1.3.1. > > I just downloaded xmlbeans and setup the java_home > and xmlbeans_home variables and updated my path. > This is what I get when trying: > C:\xmlbeans-1.0.2\schemas>scomp easypo > Exception in thread "main" > java.lang.NoClassDefFoundError: easypo > > If it's just a problem with the jvm version, I'll > download and install 1.4.x, though I'd prefer to > stay one 1.3.1. > > thanks, > Brenda > - --------------------------------------------------------------------- To unsubscribe, e-mail: xmlbeans-user-unsubscribe@xml.apache.org For additional commands, e-mail: xmlbeans-user-help@xml.apache.org Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/ - --------------------------------------------------------------------- To unsubscribe, e-mail: xmlbeans-user-unsubscribe@xml.apache.org For additional commands, e-mail: xmlbeans-user-help@xml.apache.org Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/ ------_=_NextPart_001_01C43129.AB5A94BE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: getting started
Spoke=20 a little too soon.  Getting a different error now.  It's = complaining=20 about not finding javac in the path.  But it's plain that javac is = in the=20 path.
 
Anyone=20 else have this very frustrating problem?
 
thanks=20 AGAIN
Brenda
 
 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd -src ./ -out = easypo.jar=20 easypo.xsd
Time to build schema type system: 3.645 seconds
Time = to=20 generate code: 0.691 seconds
'javac' is required on the=20 path.
java.io.IOException: CreateProcess:=20 C:\xmlbeans-1.0.2\schemas\easypo\javac=20 @C:\D
OCUME~1\BHAMIL~1\LOCALS~1\Temp\javac27898=20 error=3D2
null
java.io.IOException: CreateProcess:=20 C:\xmlbeans-1.0.2\schemas\easypo\javac=20 @C:\D
OCUME~1\BHAMIL~1\LOCALS~1\Temp\javac27898=20 error=3D2
        at=20 java.lang.Win32Process.create(Native=20 Method)
        at=20 java.lang.Win32Process.<init>(Unknown=20 Source)
        at=20 java.lang.Runtime.execInternal(Native=20 Method)
        at=20 java.lang.Runtime.exec(Unknown=20 Source)
        at=20 java.lang.Runtime.exec(Unknown=20 Source)
        at=20 java.lang.Runtime.exec(Unknown=20 Source)
        at=20 org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.java:218)
       =20 at=20 org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java:815)
       =20 at=20 org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:264)
BUILD=20 FAILED
C:\xmlbeans-1.0.2\schemas\easypo>javac
Usage: javac=20 <options> <source files>
where possible options=20 include:
 =20 -g           &nbs= p;           =20 Generate all debugging info
 =20 -g:none           = ;       =20 Generate no debugging info
  = -g:{lines,vars,source}   =20 Generate only some debugging info
 =20 -nowarn           = ;       =20 Generate no warnings
 =20 -verbose          &nbs= p;      =20 Output messages about what the compiler is doing
 =20 -deprecation          =    =20 Output source locations where deprecated APIs are us
ed
  = -classpath=20 <path>         Specify = where to=20 find user class files
  -sourcepath=20 <path>        Specify where to = find=20 input source files
  -bootclasspath = <path>    =20 Override location of bootstrap class files
  -extdirs=20 <dirs>          = =20 Override location of installed extensions
  -d=20 <directory>         &= nbsp; =20 Specify where to place generated class files
  -encoding=20 <encoding>      Specify character = encoding used=20 by source files
  -source=20 <release>         Provide = source=20 compatibility with specified release
  -target=20 <release>         = Generate class=20 files for specific VM version
 =20 -help           &= nbsp;        =20 Print a synopsis of standard options
 
C:\xmlbeans-1.0.2\schemas\easypo>
-----Original Message-----
From: Hamilton, Brenda=20 [mailto:Brenda.Hamilton@turner.com]
Sent: Monday, May 03, = 2004 11:32=20 AM
To: 'xmlbeans-user@xml.apache.org'
Subject: = RE: getting=20 started

Well, after my last email, I decided to do a build, = using ant,=20 which we use for ours projects as well.  After the build = finished, I=20 reset my path and classpath, now it's working.

oh well, such is life.

Thanks All!
Brenda =

-----Original Message-----
From: Saha,=20 Sanjeev [mailto:SSaha@asce.org]=20
Sent: Friday, April 30, 2004 8:32 PM =
To: xmlbeans-user@xml.apache.org
Cc:=20 Brenda.Hamilton@turner.com
Subject: RE: = getting=20 started


Howdy Brenda,

I second Jacob's approach and would suggest going = ahead and=20 executing the xbeanenv.cmd script. I was experiencing similar issues = as you=20 had mentioned under Windows Xp with jdk 1.4.2_01-b06.

Needless to say, xbeanenv.cmd did the trick = :o)

-Sanjeev


-----Original Message-----
From:   Jacob Danner [mailto:jacobd@bea.com] =
Sent:   Fri 4/30/2004 3:20 PM
To:     xmlbeans-user@xml.apache.org;=20 Brenda.Hamilton@turner.com
Cc:    =20
Subject:        RE:=20 getting started
it looks like you need to = add=20 xbean.jar to your classpath. This is easily done by setting the = XMLBEANS_HOME=20 environment variable, (execute xbeanenv.cmd)

If this is still occuring after trying this, please = send=20 classpath information.
-----Original=20 Message-----
From: Hamilton, Brenda [mailto:Brenda.Hamilton@turner= .com]=20
Sent: Friday, April 30, 2004 11:55 AM
To: 'xmlbeans-user@xml.apache.org'
Subject: RE:=20 getting started



Well, I installed JDK 1.4.2 but I'm still getting=20 errors.  I'm using a Win2K machine.  I've checked and = double checked=20 my environment.  I don't see anything wrong.  Here's the = results I'm=20 getting.  First command is just checking the jvm.  The 2nd = is=20 checking the I get a usage from the scomp.cmd.  The 3rd and 4th = commands=20 are trying to run the easypo example.

No joy.  Any comments, questions or = suggestions would be=20 appreciated. :)

thanks,
Brenda =

C:\xmlbeans-1.0.2\schemas\easypo>java -version=20
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build = 1.4.2_04-b05)=20
Java HotSpot(TM) Client VM (build = 1.4.2_04-b05, mixed=20 mode)
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd=20
Usage: java [-options] class [args...]=20
           = (to=20 execute a class)
   or  java = [-options]=20 -jar jarfile [args...]
           = (to=20 execute a jar file)

where options include:
    = -client       to=20 select the "client" VM
   =20 -server       to select the "server" VM =
   =20 -hotspot      is a synonym for the "client" = VM =20 [deprecated]
          &nb= sp;      =20 The default VM is client.

    -cp <class search path of = directories=20 and zip/jar files>
    = -classpath=20 <class search path of directories and zip/jar files> =
          &nb= sp;      =20 A ; separated list of directories, JAR archives,
          &nb= sp;      =20 and ZIP archives to search for class files.
    -D<name>=3D<value> =
          &nb= sp;      =20 set a system property
   =20 -verbose[:class|gc|jni]
          &nb= sp;      =20 enable verbose output
   =20 -version      print product version and exit =
    -showversion  print = product=20 version and continue
    -?=20 -help      print this help message =
   =20 -X            = print=20 help on non-standard options
   =20 -ea[:<packagename>...|:<classname>]
   =20 -enableassertions[:<packagename>...|:<classname>] =
          &nb= sp;      =20 enable assertions
   =20 -da[:<packagename>...|:<classname>]
   =20 -disableassertions[:<packagename>...|:<classname>]=20
          &nb= sp;      =20 disable assertions
    -esa = |=20 -enablesystemassertions
          &nb= sp;      =20 enable system assertions
    = -dsa |=20 -disablesystemassertions
          &nb= sp;      =20 disable system assertions
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd=20
Exception in thread "main"=20 java.lang.NoClassDefFoundError: easypo/xsd
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo =
Exception in thread "main" java.lang.NoClassDefFoundError: = easypo=20



-----Original Message-----
From: Dutta=20 Satadip [ mailto:s-dutta@sbcglobal.net] =
Sent: Thursday, April 29, 2004 9:50 PM=20
To: xmlbeans-user@xml.apache.org =
Subject: Re: getting started


Hello Brenda,
The support = for JDK=20 1.3.1 is still being worked on
AFAIK. So = currently it=20 will work with JDK 1.4.X.

However the problem you are describing seems like = your=20
paths are not set correctly. =


With Regards
Dutta:)=20



--- "Hamilton, Brenda" = <Brenda.Hamilton@turner.com>=20
wrote:
> I = read that=20 backwards support for java 1.3.1 was
> = being=20 considered.  Has that been added yet?  I'm
> currently running 1.3.1.
> =20
> I just downloaded xmlbeans and setup = the=20 java_home
> and xmlbeans_home variables = and updated=20 my path.
> This is what I get when = trying:=20
> C:\xmlbeans-1.0.2\schemas>scomp = easypo=20
> Exception in thread "main" =
> java.lang.NoClassDefFoundError: easypo

> If it's just a = problem with the=20 jvm version, I'll
> download and install = 1.4.x,=20 though I'd prefer to
> stay one 1.3.1.=20

> = thanks,=20
> Brenda
>=20



-=20 --------------------------------------------------------------------- =
To unsubscribe, e-mail:  =20 xmlbeans-user-unsubscribe@xml.apache.org
For=20 additional commands, e-mail: xmlbeans-user-help@xml.apache.org=20
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/=20







-=20 = ---------------------------------------------------------------------=20
To unsubscribe, e-mail:  =20 xmlbeans-user-unsubscribe@xml.apache.org
For=20 additional commands, e-mail: xmlbeans-user-help@xml.apache.org =
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/=20

------_=_NextPart_001_01C43129.AB5A94BE--