From: Andy J. (JIRA) <web...@jp...> - 2008-09-23 19:08:10
|
[ http://www.datanucleus.org/servlet/jira/browse/NUCACCESS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson updated NUCACCESS-22: ------------------------------------ Summary: Bundle jdo2-api-legacy with AccessPlatform 1.0 for people using JDK1.3/1.4 (was: jdo2-api-2.2-SNAPSHOT.jar should be compiled with 1.4) Assignee: Andy Jefferson Fix Version/s: 1.0.2 The problem is NOT That jar. The problem is that Apache JDO are supposed to provide a jar for legacy JDKs (1.3/1.4) and this was not bundled with the AccessPlatform zip file > Bundle jdo2-api-legacy with AccessPlatform 1.0 for people using JDK1.3/1.4 > -------------------------------------------------------------------------- > > Key: NUCACCESS-22 > URL: http://www.datanucleus.org/servlet/jira/browse/NUCACCESS-22 > Project: DataNucleus Access Platform > Issue Type: Bug > Affects Versions: 1.0.0.final > Reporter: Alexi Polenur > Assignee: Andy Jefferson > Fix For: 1.0.2 > > > The jdo2-api-2.2-SNAPSHOT.jar packged with > datanucleus-accessplatform-full-withdeps-1.0.0 download is compiled using Java 5. > which makes it impossible to compile application code with JDK 1.4 > Here is an error message generated on compilation > [javac] rds/impl/jdo/AbstractEntityDao.java:31: cannot access javax.jdo.JDOException > [javac] bad class file: /war/WEB-INF/lib/jdo2-api-2.2-SNAPSHOT.jar(javax/jdo/JDOException.class) > [javac] class file has wrong version 49.0, should be 48.0 > [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. > [javac] import javax.jdo.JDOException; > [javac] ^ > [javac] 1 error -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://www.datanucleus.org/servlet/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |