generating JAXB bindings in NetBeans? How is it done?

Hello, I am trying to use the xml binding framework JAXB in NetBeans.

Without Netbeans I would use the JAXB binding compiler - xjc - on the command line to generate content classes from the XML Schema. Those classes I would then go on to use in my application.

How is this done in Netbeans? I've created a .xsd in my project. How do I leverage the xjc compiler to create content classes from it?

all help is appreciated. I am quite a novice programmer.

[481 byte] By [krzna] at [2007-11-27 8:53:36]
# 1
Define an Ant task as descibed at:https://jaxb.dev.java.net/nonav/2.1.3/docs/xjcTask.htmlThen you can use it in any target.-Puce
Pucea at 2007-7-12 21:11:21 > top of Java-index,Java Essentials,Java Programming...
# 2
haha, I guess I was hoping for a magic 'generate bindings' NetBeans pull down menu, but 'll have a look at your link straight away and see if I can figure out how to work with ant.thanks again!
krzna at 2007-7-12 21:11:21 > top of Java-index,Java Essentials,Java Programming...
# 3
> haha, I guess I was hoping for a magic 'generate bindings' NetBeans pull down menu, You need to install the "Magic Happens" plug in.
BigDaddyLoveHandlesa at 2007-7-12 21:11:21 > top of Java-index,Java Essentials,Java Programming...
# 4

Well, it's almost as good as that:

I think defining the ant task should be quite simple. Then you could define your own target describing what and how you want to transform. Then you can call that target either manually from the build.xml context menu (eg. Run target...) and/ or call it from another target (eg. in the "depends"-attribute).

-Puce

Pucea at 2007-7-12 21:11:21 > top of Java-index,Java Essentials,Java Programming...