RE: xmlbeans ant task
Dennis, many thanks: Your approach did the trick! (I am not yet too familiar with ANT) Regards, Hans-Dieter Cordes -Original Message- From: Sherman, Dennis (END-CHI) [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 30. November 2005 16:29 To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task We do conditional compilation like this: !-- - - - - - - - - - - - - - - - - - target: gen-xmlbeans - - - - - - - - - - - - - - - - - -- target name=gen-xmlbeans depends=init, set-schema.compile.notneeded unless=schema.compile.notneeded xmlbean schema=${module}.xsd srcgendir=${src.dir} destfile=${dist.dir}/${module}.jar classpathref=compile.classpath debug=true verbose=true/ /target !-- - - - - - - - - - - - - - - - - - target: set-schema.compile.notneeded compare the schema datestamp to the jar file datestamp - - - - - - - - - - - - - - - - - -- target name=set-schema.compile.notneeded uptodate property=schema.compile.notneeded srcfiles dir=${basedir} includes=*.xsd/ mapper type=glob from=*.xsd to=${dist.dir}/*.jar / /uptodate /target It's an ant thing, not an xmlbeans thing. -- Dennis R. Sherman Endeavor Information Systems 847-227-2976 [EMAIL PROTECTED] http://www.endinfosys.com -Original Message- From: Cordes, Hans-Dieter [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 9:04 AM To: user@xmlbeans.apache.org Subject: xmlbeans ant task Hello, I use the xmlbean ant task (in the context of XMLBeans-1.0.3; I have to use this version for compatibility reasons) like this: xmlbean classpath=${XMLBeans.jar} schema=${aots.xsd.dir} destfile=${jar.dir}/Schema.AOTS.jar srcgendir=${aots.xmlbeans.gen.dir}/src classgendir=${aots.xmlbeans.gen.dir}/classes/ When I run that task in my build target, the whole process of generating xmlbeans starts again, even if I did that a minute before. Is there a way to do the xmlbeans generation conditionally, i.e. only if the XSD file has changed? And then a second question: Is there a way to search in the XMLBeans user mailing list (http://mail-archives.apache.org/mod_mbox/xmlbeans-user/)? There is probably some good stuff in there, but without a search capability it is difficult to get your questions answered. Thanks in advance for your help. Regards, Hans-Dieter Cordes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlbeans ant task
About searching the mail archives: no, the mod_mbox ones don't have search on them, which is really a shame but that's life, keeping in mind that the people who are maintaining them are doing so on their own free time Radu -Original Message- From: Sherman, Dennis (END-CHI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 7:29 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task We do conditional compilation like this: !-- - - - - - - - - - - - - - - - - - target: gen-xmlbeans - - - - - - - - - - - - - - - - - -- target name=gen-xmlbeans depends=init, set-schema.compile.notneeded unless=schema.compile.notneeded xmlbean schema=${module}.xsd srcgendir=${src.dir} destfile=${dist.dir}/${module}.jar classpathref=compile.classpath debug=true verbose=true/ /target !-- - - - - - - - - - - - - - - - - - target: set-schema.compile.notneeded compare the schema datestamp to the jar file datestamp - - - - - - - - - - - - - - - - - -- target name=set-schema.compile.notneeded uptodate property=schema.compile.notneeded srcfiles dir=${basedir} includes=*.xsd/ mapper type=glob from=*.xsd to=${dist.dir}/*.jar / /uptodate /target It's an ant thing, not an xmlbeans thing. -- Dennis R. Sherman Endeavor Information Systems 847-227-2976 [EMAIL PROTECTED] http://www.endinfosys.com -Original Message- From: Cordes, Hans-Dieter [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 9:04 AM To: user@xmlbeans.apache.org Subject: xmlbeans ant task Hello, I use the xmlbean ant task (in the context of XMLBeans-1.0.3; I have to use this version for compatibility reasons) like this: xmlbean classpath=${XMLBeans.jar} schema=${aots.xsd.dir} destfile=${jar.dir}/Schema.AOTS.jar srcgendir=${aots.xmlbeans.gen.dir}/src classgendir=${aots.xmlbeans.gen.dir}/classes/ When I run that task in my build target, the whole process of generating xmlbeans starts again, even if I did that a minute before. Is there a way to do the xmlbeans generation conditionally, i.e. only if the XSD file has changed? And then a second question: Is there a way to search in the XMLBeans user mailing list (http://mail-archives.apache.org/mod_mbox/xmlbeans-user/)? There is probably some good stuff in there, but without a search capability it is difficult to get your questions answered. Thanks in advance for your help. Regards, Hans-Dieter Cordes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmlbeans ant task
A few other online archives exist: http://marc.theaimsgroup.com/?l=xmlbeans-user http://news.gmane.org/gmane.text.xml.xmlbeans.user Kevin Radu Preotiuc-Pietro wrote: About searching the mail archives: no, the mod_mbox ones don't have search on them, which is really a shame but that's life, keeping in mind that the people who are maintaining them are doing so on their own free time Radu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlbeans ant task
Hi all I'm going to submit a patch that will update the documentation to include jsr173_api.jar in the classpath. The UnsupportedClassVersionError is odd - the only circumstance when you would get that appears to me to be if you had already compiled org/apache/xmlbeans/xml/stream/XMLInputStream.java using a jdk 1.5 javac and then try to recompile some other part of the source code using jdk 1.4.x which depends on XMLInputStream and ends up picking up the org.apache.xmlbeans.xml.stream.XMLInputStream.class file which you compiled with jdk 1.5. Then the class file could have a later format which the 1.4.x javac doesn't understand. It could be an error in the 'clean' target not deleting org.apache.xmlbeans.xml.stream.XMLInputStream.class before starting the compile. If one of you could send me a repro containing the exact steps you took (you can send this to me offline if you like) then I'll raise a JIRA for it and we can get it looked at. Cheers, Lawrence -Original Message- From: Oakes, Jeff (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 9:42 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task I had the same experience with j2sdk1.4.2_06 later, Jeff -Original Message- From: maarten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 5:06 AM To: user@xmlbeans.apache.org Subject: Re: xmlbeans ant task maarten wrote: Hi, Using xmlbeans-1.0.4 I can compile and use my schema with jdk1.5.0_03 but when I try compiling with j2sdk1.4.2_08 I get the following error: java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/xml/stream/XMLInputStream (Unsupported major.minor version 49.0) Using xmlbeans-2.0.0 I can compile with both jdk1.5.0_03 and j2sdk1.4.2_08 BUT i had to add jsr173_api.jar to the classpath of both the taskdef and the xmlbean task: I guess the examples on http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html are incomplete ? This is my build.xml : project name=vapschema basedir=. default=vapschema target name=init mkdir dir=gen/xbeans/ mkdir dir=build/xbeans/classes/ tstamp/ /target target name=vapschema depends=init description=Compiles vap.xsd with xmlbeans taskdef name=xmlbean classname=org.apache.xmlbeans.impl.tool.XMLBean classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ xmlbean schema=./src/be/sunrise/vap/vap.xsd classgendir=build/xbeans/classes srcgendir=gen/xbeans destfile=build/vap-schema.jar classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ /target /project Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is nobody else using the ant task ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlbeans ant task
Given that XmlBeans does not compile XMLInputStream.java in any of our build scripts and we have the .class file checked in directly (and also that I am using jdk1.4.2_03 without problems as I am sure others are too), I would say what's probably happening is that you guys have some other version of jsr173_api.jar on your classpath from a different source than what's shipped with XmlBeans. Regarding your second problem, maarten, having to use the classpath attribute every time you call the ant task, I would agree that is a bug and in fact I do seem to remember that this didn't use to be the case, so someone needs to take a closer look and see what is happening there. Oh, and we do use the XmlBeans ant task in our testing framework (testbuild.xml) and I am sure others are using it too. But it so happens that the classpath attribute is already set to a pretty comprehensive classpath, so this slipped unnoticed. Radu -Original Message- From: Lawrence Jones Sent: Tuesday, August 16, 2005 10:07 AM To: user@xmlbeans.apache.org Subject: RE: xmlbeans ant task Hi all I'm going to submit a patch that will update the documentation to include jsr173_api.jar in the classpath. The UnsupportedClassVersionError is odd - the only circumstance when you would get that appears to me to be if you had already compiled org/apache/xmlbeans/xml/stream/XMLInputStream.java using a jdk 1.5 javac and then try to recompile some other part of the source code using jdk 1.4.x which depends on XMLInputStream and ends up picking up the org.apache.xmlbeans.xml.stream.XMLInputStream.class file which you compiled with jdk 1.5. Then the class file could have a later format which the 1.4.x javac doesn't understand. It could be an error in the 'clean' target not deleting org.apache.xmlbeans.xml.stream.XMLInputStream.class before starting the compile. If one of you could send me a repro containing the exact steps you took (you can send this to me offline if you like) then I'll raise a JIRA for it and we can get it looked at. Cheers, Lawrence -Original Message- From: Oakes, Jeff (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 9:42 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task I had the same experience with j2sdk1.4.2_06 later, Jeff -Original Message- From: maarten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 5:06 AM To: user@xmlbeans.apache.org Subject: Re: xmlbeans ant task maarten wrote: Hi, Using xmlbeans-1.0.4 I can compile and use my schema with jdk1.5.0_03 but when I try compiling with j2sdk1.4.2_08 I get the following error: java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/xml/stream/XMLInputStream (Unsupported major.minor version 49.0) Using xmlbeans-2.0.0 I can compile with both jdk1.5.0_03 and j2sdk1.4.2_08 BUT i had to add jsr173_api.jar to the classpath of both the taskdef and the xmlbean task: I guess the examples on http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html are incomplete ? This is my build.xml : project name=vapschema basedir=. default=vapschema target name=init mkdir dir=gen/xbeans/ mkdir dir=build/xbeans/classes/ tstamp/ /target target name=vapschema depends=init description=Compiles vap.xsd with xmlbeans taskdef name=xmlbean classname=org.apache.xmlbeans.impl.tool.XMLBean classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ xmlbean schema=./src/be/sunrise/vap/vap.xsd classgendir=build/xbeans/classes srcgendir=gen/xbeans destfile=build/vap-schema.jar classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ /target /project Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is nobody else using the ant task ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: xmlbeans ant task
Here's the patch to the docs I was referring to below. Cheers, Lawrence -Original Message- From: Lawrence Jones Sent: Tuesday, August 16, 2005 10:07 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task Hi all I'm going to submit a patch that will update the documentation to include jsr173_api.jar in the classpath. The UnsupportedClassVersionError is odd - the only circumstance when you would get that appears to me to be if you had already compiled org/apache/xmlbeans/xml/stream/XMLInputStream.java using a jdk 1.5 javac and then try to recompile some other part of the source code using jdk 1.4.x which depends on XMLInputStream and ends up picking up the org.apache.xmlbeans.xml.stream.XMLInputStream.class file which you compiled with jdk 1.5. Then the class file could have a later format which the 1.4.x javac doesn't understand. It could be an error in the 'clean' target not deleting org.apache.xmlbeans.xml.stream.XMLInputStream.class before starting the compile. If one of you could send me a repro containing the exact steps you took (you can send this to me offline if you like) then I'll raise a JIRA for it and we can get it looked at. Cheers, Lawrence -Original Message- From: Oakes, Jeff (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 9:42 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task I had the same experience with j2sdk1.4.2_06 later, Jeff -Original Message- From: maarten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 5:06 AM To: user@xmlbeans.apache.org Subject: Re: xmlbeans ant task maarten wrote: Hi, Using xmlbeans-1.0.4 I can compile and use my schema with jdk1.5.0_03 but when I try compiling with j2sdk1.4.2_08 I get the following error: java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/xml/stream/XMLInputStream (Unsupported major.minor version 49.0) Using xmlbeans-2.0.0 I can compile with both jdk1.5.0_03 and j2sdk1.4.2_08 BUT i had to add jsr173_api.jar to the classpath of both the taskdef and the xmlbean task: I guess the examples on http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html are incomplete ? This is my build.xml : project name=vapschema basedir=. default=vapschema target name=init mkdir dir=gen/xbeans/ mkdir dir=build/xbeans/classes/ tstamp/ /target target name=vapschema depends=init description=Compiles vap.xsd with xmlbeans taskdef name=xmlbean classname=org.apache.xmlbeans.impl.tool.XMLBean classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ xmlbean schema=./src/be/sunrise/vap/vap.xsd classgendir=build/xbeans/classes srcgendir=gen/xbeans destfile=build/vap-schema.jar classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ /target /project Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is nobody else using the ant task ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. * xmlbeanAntTask.patch Description: xmlbeanAntTask.patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlbeans ant task
Sorry, scratch the first part of my comment, I was under the impression that you were talking about XMLStreamReader, but XMLInputStream is different, so jsr173_api.jar has no role in this whatsoever. Radu -Original Message- From: Radu Preotiuc-Pietro Sent: Tuesday, August 16, 2005 1:54 PM To: user@xmlbeans.apache.org Subject: RE: xmlbeans ant task Given that XmlBeans does not compile XMLInputStream.java in any of our build scripts and we have the .class file checked in directly (and also that I am using jdk1.4.2_03 without problems as I am sure others are too), I would say what's probably happening is that you guys have some other version of jsr173_api.jar on your classpath from a different source than what's shipped with XmlBeans. Regarding your second problem, maarten, having to use the classpath attribute every time you call the ant task, I would agree that is a bug and in fact I do seem to remember that this didn't use to be the case, so someone needs to take a closer look and see what is happening there. Oh, and we do use the XmlBeans ant task in our testing framework (testbuild.xml) and I am sure others are using it too. But it so happens that the classpath attribute is already set to a pretty comprehensive classpath, so this slipped unnoticed. Radu -Original Message- From: Lawrence Jones Sent: Tuesday, August 16, 2005 10:07 AM To: user@xmlbeans.apache.org Subject: RE: xmlbeans ant task Hi all I'm going to submit a patch that will update the documentation to include jsr173_api.jar in the classpath. The UnsupportedClassVersionError is odd - the only circumstance when you would get that appears to me to be if you had already compiled org/apache/xmlbeans/xml/stream/XMLInputStream.java using a jdk 1.5 javac and then try to recompile some other part of the source code using jdk 1.4.x which depends on XMLInputStream and ends up picking up the org.apache.xmlbeans.xml.stream.XMLInputStream.class file which you compiled with jdk 1.5. Then the class file could have a later format which the 1.4.x javac doesn't understand. It could be an error in the 'clean' target not deleting org.apache.xmlbeans.xml.stream.XMLInputStream.class before starting the compile. If one of you could send me a repro containing the exact steps you took (you can send this to me offline if you like) then I'll raise a JIRA for it and we can get it looked at. Cheers, Lawrence -Original Message- From: Oakes, Jeff (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 9:42 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task I had the same experience with j2sdk1.4.2_06 later, Jeff -Original Message- From: maarten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 5:06 AM To: user@xmlbeans.apache.org Subject: Re: xmlbeans ant task maarten wrote: Hi, Using xmlbeans-1.0.4 I can compile and use my schema with jdk1.5.0_03 but when I try compiling with j2sdk1.4.2_08 I get the following error: java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/xml/stream/XMLInputStream (Unsupported major.minor version 49.0) Using xmlbeans-2.0.0 I can compile with both jdk1.5.0_03 and j2sdk1.4.2_08 BUT i had to add jsr173_api.jar to the classpath of both the taskdef and the xmlbean task: I guess the examples on http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html are incomplete ? This is my build.xml : project name=vapschema basedir=. default=vapschema target name=init mkdir dir=gen/xbeans/ mkdir dir=build/xbeans/classes/ tstamp/ /target target name=vapschema depends=init description=Compiles vap.xsd with xmlbeans taskdef name=xmlbean classname=org.apache.xmlbeans.impl.tool.XMLBean classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ xmlbean schema=./src/be/sunrise/vap/vap.xsd classgendir=build/xbeans/classes srcgendir=gen/xbeans destfile=build/vap-schema.jar classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ /target /project Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is nobody else using the ant task ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete
RE: xmlbeans ant task
Apologies. I updated the taskdef tasks but not the xmlbean tasks. Here's a new patch for the docs. Please ignore the previous one. Cheers, Lawrence -Original Message- From: Lawrence Jones Sent: Tuesday, August 16, 2005 2:41 PM To: user@xmlbeans.apache.org Subject: RE: xmlbeans ant task Here's the patch to the docs I was referring to below. Cheers, Lawrence -Original Message- From: Lawrence Jones Sent: Tuesday, August 16, 2005 10:07 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task Hi all I'm going to submit a patch that will update the documentation to include jsr173_api.jar in the classpath. The UnsupportedClassVersionError is odd - the only circumstance when you would get that appears to me to be if you had already compiled org/apache/xmlbeans/xml/stream/XMLInputStream.java using a jdk 1.5 javac and then try to recompile some other part of the source code using jdk 1.4.x which depends on XMLInputStream and ends up picking up the org.apache.xmlbeans.xml.stream.XMLInputStream.class file which you compiled with jdk 1.5. Then the class file could have a later format which the 1.4.x javac doesn't understand. It could be an error in the 'clean' target not deleting org.apache.xmlbeans.xml.stream.XMLInputStream.class before starting the compile. If one of you could send me a repro containing the exact steps you took (you can send this to me offline if you like) then I'll raise a JIRA for it and we can get it looked at. Cheers, Lawrence -Original Message- From: Oakes, Jeff (HTSC, IT) [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 9:42 AM To: 'user@xmlbeans.apache.org' Subject: RE: xmlbeans ant task I had the same experience with j2sdk1.4.2_06 later, Jeff -Original Message- From: maarten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 5:06 AM To: user@xmlbeans.apache.org Subject: Re: xmlbeans ant task maarten wrote: Hi, Using xmlbeans-1.0.4 I can compile and use my schema with jdk1.5.0_03 but when I try compiling with j2sdk1.4.2_08 I get the following error: java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/xml/stream/XMLInputStream (Unsupported major.minor version 49.0) Using xmlbeans-2.0.0 I can compile with both jdk1.5.0_03 and j2sdk1.4.2_08 BUT i had to add jsr173_api.jar to the classpath of both the taskdef and the xmlbean task: I guess the examples on http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html are incomplete ? This is my build.xml : project name=vapschema basedir=. default=vapschema target name=init mkdir dir=gen/xbeans/ mkdir dir=build/xbeans/classes/ tstamp/ /target target name=vapschema depends=init description=Compiles vap.xsd with xmlbeans taskdef name=xmlbean classname=org.apache.xmlbeans.impl.tool.XMLBean classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ xmlbean schema=./src/be/sunrise/vap/vap.xsd classgendir=build/xbeans/classes srcgendir=gen/xbeans destfile=build/vap-schema.jar classpath=./jars/xbean-2.0.0.jar:./jars/jsr173_api.jar/ /target /project Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is nobody else using the ant task ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. * antXmlBeans.patch Description: antXmlBeans.patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]