Hi Robert,
I have tried the MappingTool but I get the following exception, do I need to set any properties somewhere?
Thanks
Luigi
C:\GSD\classes>java org.exolab.castor.tools.MappingTool com.hsbc.opsco.gsd.bo
org.exolab.castor.mapping.MappingException: Nested error: java.lang.ClassNotFo
java.lang.ClassNotFoundException: myapp.Product
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java!
! .lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:107)
at org.exolab.castor.tools.MappingTool.main(MappingTool.java:94)
>From: Robert Ollila <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] Automatic generation of mapping file
>Date: Fri, 1 Feb 2002 09:35:42 -0800
>
>Try the following from a previous email:
>
>
>
>
>
>
>
>
>
>Take your Class for your root element and pass it to the
>
>org.exolab.castor.tools.MappingTool utility and it will create a mapping
>
>file that you can then edit (for adding JDO specific information) and
>
>use.
>
>Just keep in mind that it might not work 100% for your schema, but it's
>
>worth a try.
>
Send and receive Hotmail on your mobile device: Click Here
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
