users@jaxb.java.net

schemagen ant task example is broken?

From: jeff <jeffrey.blattman_at_yahoo.com>
Date: Mon, 26 Feb 2007 11:59:27 -0800 (PST)

hi, when i try to apply this example:


<schemagen destdir="build/schemas">
  <source dir="src" includes="org/acme/foo/**/*.java"/>
  <schema namespace="http://foo.org/" file="foo.xsd" />
  <schema namespace="" file="bar.xsd" />
</xjc>

from this page:

https://jaxb.dev.java.net/jaxb20-ea/docs/schemagenTask.html

i get:

[INFO]/Users/jtb/src/pom/build.xml:15: The <schemagen> type doesn't support the nested "source" element.

any ideas?
thanks.





 
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.