Dovholuk, Clint wrote:
> I just joined the mailing list so forgive me if this issue has been
> covered (a google search and searching
> https://jaxb.dev.java.net/servlets/SearchList?listName=users and
> https://jaxb.dev.java.net/servlets/SearchList?listName=issues) produced
> no help...
>
> I'm trying to run xjc similar to:
>
> <xjc package="some.pkg" removeOldOutput="true" target="c:\test">
> <schema file="${basedir}/wsdls/dependant.xsd" />
> <depends file="${basedir}/wsdls/Base.xsd" />
> <produces dir="${basedir}/generated/some/pkg" includes="**/*"
> />
> </xjc>
>
> And when this runs I get the following error:
>
> Buildfile: c:\test\build.xml
> generate-jaxb:
> [echo] Generating java files using JAXB
>
> BUILD FAILED
> c:\test\build.xml:1253: c:\test is not a valid version number
>
> Total time: 7 seconds
>
> Any thoughts on what's happening here?
See
https://jaxb.dev.java.net/nonav/2.0.4/docs/xjcTask.html
I think you mean "destdir", not "target".
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com