For convenience sake here is a nice tool for eclipse/wsad. dropped into the
plugins dir you get the source generator code gen with a few options. Use
version 1.2.1 and the fix it works best in eclipse 2.1 and up.
http://mirror.optusnet.com.au/sourceforge/x/xd/xdoclipse/

Here are the docs on the source code generator where you can take advantage
of a lot more customization.
http://castor.codehaus.org/sourcegen.html

----- Original Message -----
From: "Ashish Thapa" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 10, 2005 7:43 PM
Subject: [castor-user] unsubscribe


>
>
> -----Original Message-----
> From: Mike Wannamaker [mailto:[EMAIL PROTECTED]
> Sent: Fri 3/11/2005 2:53 AM
> To: [email protected]
> Cc:
> Subject: [castor-user] Trying to use castor.0.9.6
>
>
> Previous to this version I had my own schema2java generator class to
interface to yours for building within a xml build file.  When I swtich to
use 0.9.6 I get the following error?
>
> java
> Key: -d = D:\Javadev\borg/jboss_hcs/java_src
> Key: -b = D:\Javadev\borg/jboss_hcs/xml-schemas/bindingUI_Components.xml
> Key: -m = false
> Key: -v = true
> Key: -s = D:\Javadev\borg/jboss_hcs/xml-schemas/UI_Components.xsd
> Key: -sw = true
> Key: -jcmt = true
> Key: -p = com.hummingbird.ent.webtop
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:398)
> at
org.exolab.castor.builder.BuilderConfiguration.setLocationPackageMapping(Bui
lderConfiguration.java:460)
> at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.jav
a:334)
> at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.jav
a:405)
> at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.jav
a:418)
> at
com.hummingbird.ent.serverutils.castor.Schema2JavaGenerator.generateSource(U
nknown Source)
> at
com.hummingbird.ent.serverutils.castor.Schema2JavaGenerator.main(Unknown
Source)
>
>
> I also see an ant task jar file now.  Any documentation on how to use it?
>
> --ekiM
> R&D Hummingbird Core Services
> 613.548.4355 x4535
>
>
>


----------------------------------------------------------------------------
----


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



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

Reply via email to