Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.5
-
Component/s: XML code generator
-
Labels:None
-
Environment:HP-UX 11.0
-
Number of attachments :
Description
(From the mail list – ATTN Werner Guttmann)
I am trying to upgrade from castor 0.9.3 to 0.9.6 (or 9.7). I am finding that castor is not creating all of the methods in the generated java classes in 0.9.6 that it generated in 0.9.3.
We call the source generator using:
$(JDKDIR)/java -cp $(CLASSPATH) org.exolab.castor.builder.SourceGenerator -i $(SCHEMA) -package sentry.config -f
I have tried this using our old version of xerces (xerces.jar version 1.4.4) and the newer xerces (xml-apis.jar and xercesImpl.jar version 2.6.2) with the same result. Since the schema hasn't changed, the only other variable is castor. Perhaps I missed a configuration step somewhere?
Issue Links
- relates to
-
CASTOR-1167
Missing methods in generated class
-
Hi Werner,
I saw your comments on my original ticket (
CASTOR-1167) that you were able to compile without compilation errors. I have again tried to compile (using 1.0.4), but I still don't have the getter and setter methods for the choices in the generated class (WebServiceMonitor). When you did your compilation, did you see those methods?I couldn't reopen the original ticket since it had been closed, so I opened a clone. I hope that was acceptable.
Susan