This one time, at band camp, Albert Yu said:

Please see my comments inline. 

AY>I am new to Castor and I am using version 0.9.3.21. I am interested in Castor JDO. 
I got a few problem for my start.
AY>
AY>1. example
AY>
AY>$example.sh jdo
AY>
AY>I got:
AY>
AY>[test] Commit transaction
AY>[test] Castor: Loading myapp.ProductGroup (3)
AY>[test] Castor: Loading myapp.ProductDetail (1)
AY>[test] Castor: Loading myapp.ProductDetail (2)
AY>[test] Castor: Loading myapp.Product (4)
AY>Exception in thread "main" java.lang.StackOverflowError
AY>        at org.exolab.castor.xml.Validator.validate(Validator.java:106)
AY>        at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251)
AY>        at 
org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:844)
AY>        at org.exolab.castor.xml.Validator.validate(Validator.java:118)
AY>        at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251

This is a known issue. See bug# 1005: 

    http://bugzilla.exolab.org/show_bug.cgi?id=1005

AY>2. Test cases
AY>
AY>CTFRun.sh -verbose -text -seed 167 src/tests/tests.xml
AY>Verbose on
AY>Running in text mode
AY>Using '167' as seed for the initialization of the pseudo-random number generator
AY>
AY>Time: 0.001
AY>
AY>OK (0 tests)
AY>
AY>
AY>(Nothing was running!!!)
AY>
AY>
AY>How to run a specific test case, for example, the cases for Oracle? And I found no 
explanation for parameter "testcases"  for test.sh.
AY>
AY>
AY>Where can I start then?

Your second question is about the test cases for Castor XML, so I can't answer
that one. 

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