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.

Bug 105032

Summary: AnnotationScannerTest test cases fail
Product: javaee Reporter: Andrei Badea <abadea>
Component: CodeAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Log

Description Andrei Badea 2007-05-29 14:30:47 UTC
... in the 200705281800 build.
Comment 1 Andrei Badea 2007-05-29 14:35:09 UTC
Created attachment 42897 [details]
Log
Comment 2 Tomas Mysik 2007-08-14 12:27:45 UTC
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.
Comment 3 Tomas Mysik 2007-08-15 12:42:41 UTC
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