Sure, but what I was looked for is a cmd line option for org.exolab.castor.builder.SourceGeneratorMain or property so that the generated source used the non-static methods.
----- Original Message ---- From: Toby <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, May 6, 2008 10:13:05 AM Subject: Re: [castor-user] generated code using static marshal/unmarshal Isn't it here? http://www.castor.org/xml-framework.html#Using-XMLContext-to-bootstrap-Castor 2008/5/6 H Hale <[EMAIL PROTECTED]>: Hello, I found a reference on the list that indicates that it is possible to turn off the generation of code that uses static marshal/unmarshal methods. I am getting the message below. I have not been able to find way to do this in the documentation or user list. How is this done? Thanks May 6, 2008 10:05:08 AM org.exolab.castor.xml.Marshaller staticMarshal INFO: Marshaller called using one of the *static* marshal(Object, *) methods. This will ignore any mapping files as specifi ed. Please consider switching to using Marshaller instances and calling one of the marshal(*) methods. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email -- Toby ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

