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 - AnnotationScannerTest test cases fail
Summary: AnnotationScannerTest test cases fail
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-05-29 14:30 UTC by Andrei Badea
Modified: 2007-08-15 12:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (13.48 KB, text/html)
2007-05-29 14:35 UTC, Andrei Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
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