This one time, at band camp, Brad Cox said:

BC>No, belay that. Tests work but examples still don't.
BC>
BC>I've tried
BC>     sh build.sh all
BC>     sh build.sh tests
BC>     sh build.sh examples
BC>
BC>     sh text.sh xml # this works
BC>     sh examples.sh # this doesn't; xml/Test not found
BC>
BC>Might have small typos in the above; I'm typing this from memory from
BC>my other machine.

Brad,

I'm not exactly sure what's going on in your situation, but I just
got everything working in about 10 minutes time. Here are the steps
I took to run the examples using MySQL:

1) wget ftp://ftp.exolab.org/pub/castor/castor_0.9.3.9/castor-0.9.3.9-src.tgz
   (The other alternative is to get the source from the CVS tree.
    See http://castor.exolab.org/cvs.html)

2) tar zxvf ./castor-0.9.3.9-src.tgz
3) cd castor-0.9.3.9
4) chmod +x ./*.sh
5) for i in ./*.sh; do dos2unix $i $i; done
6) echo $JAVA_HOME (just to be sure it's properly set)
7) edit src/examples/jdo/database.xml appropriately
8) create database tables using src/examples/jdo/create.sql
9) ./build.sh examples (builds everything because of dependencies in the build 
descriptor)
10) add mm.mysql-2.0.8-bin.jar to the CLASSPATH
11) ./example.sh jdo

I hope this helps.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to