I think it might be an issue with your fileset definition . Can you try?
<fileset dir="WebContent\WEB-INF\xsd" >
 <include name="**/*.xsd"/>
 <include name="**/*.xsdconfig"/>
</fileset>

and let us know what happens?
-jacobd



On Dec 10, 2007 11:07 AM, Dário Abdulrehman <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm using the following ant file to try to compile a set of XSD and XSDCONFIG 
> files.
> However the script is looking at *all* the Java files under ${src} instead of 
> looking just at the files specified in the Fileset, so I am getting lots 
> errors.
> Shouldn't the XML Beans Ant task just look at the XSD, XSDCONFIG and the 
> generated Java files to compile the schemas?
>
> Thanks.
>
> <?xml version="1.0"?>
> <project name="MyProject" default="default">
>     <description>
>
>     </description>
>
>     <property name="src" location="JavaSource"/>
>     <property name="build" location="build"/>
>
>
>     <target name="default">
>         <taskdef name="xmlbean" 
> classname="org.apache.xmlbeans.impl.tool.XMLBean" 
> classpath="C:\Programas\jboss-4.0.4.GA\server\default\lib\xbean.jar:C:\Programas\jboss-4.0.4.GA\server\default\lib\jsr173_1.0_api.jar
>  " />
>         <xmlbean
>             srcgendir="${src}"
>             classgendir="${build}"
>             javasource="1.5"
>             debug="false"
>             verbose="false"
>             failonerror="true">
>             <fileset dir="WebContent\WEB-INF\xsd" includes="*.xsd 
> *.xsdconfig"/>
>          </xmlbean>
>     </target>
> </project>
>
>
> - --
> Dário Abdulrehman
> PGP Public Key: http://tinyurl.com/2pm9d7
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: http://firegpg.tuxfamily.org
>
> iD8DBQFHXY2uHfwTJs1Ix7cRAtheAJ92zbidrLP6NmUGR6MubjbWrLaprwCgnlsV
> OQzlfSvaMDmnh2sL0ayh3nc=
> =kS2O
> -----END PGP SIGNATURE-----
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to