This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
... in the 200705281800 build.
Created attachment 42897 [details] Log
The reason is that for JDK 1.5 annotation 'Resource' doesn't exist. I've already discussed this issue with Andrei and the solution would probably be to create some 'special package' with such annotation.
Fixed. (Such Jar already exists, it's j2ee/external/javaee-api-5.jar file.) Checking in nbproject/project.properties; /cvs/j2ee/metadata/support/nbproject/project.properties,v <-- project.properties new revision: 1.3; previous revision: 1.2 done Checking in test/unit/src/org/netbeans/modules/j2ee/metadata/model/support/PersistenceTestCase.java; /cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/support/PersistenceTestCase.java,v <-- PersistenceTestCase.java new revision: 1.4; previous revision: 1.3 done