At 3:30 PM -0700 2/18/02, Bruce Snyder wrote:
>There are examples for Castor JDO in src/examples/jdo. In Test.java
>at the bottom of the file is an example of marshalling Java objects
>into XML. Note that these examples will not run properly until being
>compiled like so:
>
>     build.sh examples

Thanks. Tried that but still the same problem. Problem might be that 
I wasn't sure exactly what to download. To play safe I got these
        castor-0.9.3.9-src.tgz
        castor-0.9.3.9.jar
        castor-0.9.3.9.tgz

Expanded the last two as /castor, then mkdir src, cd src, expanded 
the first one there. The result:

[bcox@linux:/castor]$ ls -R
.:
CHANGELOG  castor-0.9.3.9-xml.jar  examples        jta1.0.1.jar  sourceGen.bat
LICENSE    castor-0.9.3.9.jar      examples.tgz    schema        src
README     doc                     jdbc-se2.0.jar  sourceGen

[bcox@linux:/castor/src]$ sh build.sh tests
Buildfile: src/build.xml

prepare:
    [delete] Deleting directory /usr/local/castor-0.9.3.9/src/src/schema
     [mkdir] Created dir: /usr/local/castor-0.9.3.9/src/src/schema
      [copy] Copying 2 files to /usr/local/castor-0.9.3.9/src/src/schema
      [copy] Copying 2 files to /usr/local/castor-0.9.3.9/src/src/schema
      [copy] Copying 4 files to /usr/local/castor-0.9.3.9/src/src/schema

tests:
     [javac] Compiling 11 source files to 
/usr/local/castor-0.9.3.9/src/build/tests

BUILD SUCCESSFUL

Total time: 6 seconds


[bcox@linux:/castor/src]$ sh example.sh xml
Exception in thread "main" java.lang.NoClassDefFoundError: xml/Test

[bcox@linux:/castor/src/src/examples]$ sh example.sh jdo
Exception in thread "main" java.lang.NoClassDefFoundError: jdo/Test


-- 
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
o For industrial age goods there were checks and credit cards.
    For everything else there is http://virtualschool.edu/mybank
o Java Interactive Learning Environment http://virtualschool.edu/jile
o Java Web Application Architecture: http://virtualschool.edu/jwaa

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to