Jason, I think when the code which uses "1.4" and "1.5" was written, there was no 1.6 yet, and I took a quick look but didn't see any check on the value of the javasource parameter, so maybe you can try setting javasource to 1.6 in and see if the ant task succeeds. - Wing Yew
-----Original Message----- From: Jason Berk [mailto:jb...@purdueefcu.com] Sent: Thursday, March 04, 2010 12:30 PM To: user@xmlbeans.apache.org Subject: RE: xmlbeans with java 6 If you have java 1.5 on your build path and build your project using javasource=1.5, then yes, you can run that code in java 6. My project is using java 1.6 in the build path which breaks the ant task. I guess I could use 1.6 and in eclipse specify 1.5 compatibility...but that seems "wrong" Make sense? Jason -----Original Message----- From: Wing Yew Poon [mailto:wing.yew.p...@oracle.com] Sent: Thursday, March 04, 2010 1:50 PM To: user@xmlbeans.apache.org Subject: RE: xmlbeans with java 6 Jason, I believe that if you specify 1.5, the generated source can be used with 1.6. Please try it and see. - Wing Yew -----Original Message----- From: Jason Berk [mailto:jb...@purdueefcu.com] Sent: Thursday, March 04, 2010 10:42 AM To: user@xmlbeans.apache.org Subject: xmlbeans with java 6 Regarding xmlbeans ant task... "Javasource - Generate java source compatible with the given version. Currently only "1.4" and "1.5" are supported." Any movement towards supporting 1.6 given java 5 is EOL http://java.sun.com/javase/downloads/index_jdk5.jsp ***This is a transmission from Purdue Employees Federal Credit Union (PEFCU) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765) 497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation.*** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org ***This is a transmission from Purdue Employees Federal Credit Union (PEFCU) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765) 497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation.*** --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: user-h...@xmlbeans.apache.org