Not sure if task is smart enough, I will let you know because I intend to find out some time this week. Even though you have to scrap it, we still appreciate the hard work ;)
Glenn -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 12:24 PM To: 'Ant Users List' Subject: RE: Jaxb task anyone? Yes, I just realized that myself reading the doc... That just means we need to switch all our DTDs to schemas!!! Hopefully the task is smart enough not to re-generate the Java sources if the schema hasn't changed (do you know?). Hard to say until I have schemas to test, since their task, as the rest of the Jaxb code, is closed-source (except for the API classes though). Again, thanks for the info. I can just scrap my own task (that's the second task I write/augment that I have to scrap the same day, after Mkdir... Sigh) --DD PS: SUN shipping the Ant 1.5 JAR is not that great either IMHO. -----Original Message----- From: Glenn Kidd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:12 PM To: 'Ant Users List' Subject: RE: Jaxb task anyone? The new release has drastic changes, no more dtd and xjs, instead they switched to XML schemas... Glenn -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 12:08 PM To: 'Ant Users List' Subject: RE: Jaxb task anyone? It's ironic I read your message seconds after the first commit of my very own Jaxb task (see below).... Thanks! I'm checking out the SUN's task as I write this. --DD /** * Compiles using SUN's JAXB Java & XML Data Binding framework * a DTD with optionally a binding schema (XJS file). * <p> * Uses the <dependset> and <java> task internally to do most * of the work. Neither the DTD nor the binding schema are parsed, but instead * the output of the Jaxb compiler is parsed to <em>learn</em> a posteriori * which files this combination of DTD and XJS files yields. This information * is then cached for subsequent run to avoid unnecessary re-generation of the * generated Java files. When lacking this cached information, this task * always runs the Jaxb compiler again. */ public class JaxbSchemaCompiler ... -----Original Message----- From: Glenn Kidd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:49 PM To: 'Ant Users List' Subject: RE: Jaxb task anyone? This was posted 3 weeks ago. I just noticed that sun releases a beta implementation of JAXB (http://java.sun.com/xml/downloads/jaxb.html - requires logon to download). In it there is an ant task for the JAXB xjc. Hope this helps. Glenn -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 1:22 PM To: '[EMAIL PROTECTED]' Subject: Jaxb task anyone? Has anyone wrapped SUN's jaxb com.sun.tools.xjc.Main into a task? Or are people simply using <java> and/or <apply>? Thanks, --DD -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
