I found the problem. I have created the following section at the beginning of
my file:

        <path id="project.class.path">
                <pathelement path="C:\XMLBeans\xmlbeans-2.1.0\lib\xbean.jar;C"/>
                <pathelement 
path="C:\XMLBeans\xmlbeans-2.1.0\lib\jsr173_1.0_api.jar"/> 
        </path>

And changed the following command:

<taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean"
classpathref="project.class.path" />

and:

                <xmlbean schema="Schemas" 
destfile="${xsdbuild}/NeBiLightSchemas.jar"
classpathref="project.class.path" >
                </xmlbean>

Something strange in the output I have got:

  [xmlbean] Note: Some input files use or override a deprecated API.
  [xmlbean] Note: Recompile with -Xlint:deprecation for details.
 
What should I do?
-- 
View this message in context: 
http://www.nabble.com/Error-with-Ant-and-XMLBean-tf1918288.html#a5251546
Sent from the Xml Beans - User forum at Nabble.com.


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

Reply via email to