You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by be_tnt <de...@lucent.com> on 2006/07/10 16:19:06 UTC

XMLBean xsdconfig, ant, eclipse

Hello,

How can I use a xmlBean xsdconfig file with ant?

BTW where could I find good documentation about the xsdconfig syntax?

Thx in advance. 
-- 
View this message in context: http://www.nabble.com/XMLBean-xsdconfig%2C-ant%2C-eclipse-tf1918716.html#a5252555
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Re: XMLBean xsdconfig, ant, eclipse

Posted by be_tnt <de...@lucent.com>.
In fact I did:

	<target name="XsdToJava" depends="clean,init" description="Xsd Java classes
generation">
   	    <!-- Generate the java classes from ${xsdLocation} into ${xsdbuild}
-->
		<echo message="Generating Java classes based on the xml schemas." />
		<xmlbean javasource="1.5"
			destfile="${xsd.jar}/NeBiLightSchemas.jar" 
			classpathref="project.class.path"
			classgendir="${xsdbuild}"
			srcgendir="${xsdsource}"
			debug="on" >
			<fileset dir="Schemas" includes="**/*.xsd **/*.xsdconfig"/>
		</xmlbean>

The fileset element fixed my problem.
-- 
View this message in context: http://www.nabble.com/XMLBean-xsdconfig%2C-ant%2C-eclipse-tf1918716.html#a5267689
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org