Thanks. I have just upgraded to Eclipse 3.6 and this has mostly solved my problem. I already had the javax.annotation plugin in my workspace but as a binary plugin from one of the latest integration builds.
Perhaps the wiki page http://wiki.eclipse.org/E4/ProjectSetFiles should be updated to say "3.6" instead of "3.5". The plugin "org.eclipse.e4.core.javascript" still has a compile error. It cannot find org.mozilla.javascript.Scriptable. Another project to add to the project set? Stefan > You need the bundle javax.annotation from Orbit. I have added this to the > project set (e4.ui.psf). If you reload from HEAD and then import that > project set again, you should be in good shape. > > John > > > > > "Stefan Mücke" <[email protected]> > Sent by: [email protected] > > 07/02/2010 02:52 PM Please respond to > E4 Project developer mailing list <[email protected]> > > To > <[email protected]> cc > Subject > [e4-dev] "Access restriction" for javax.annotation > > > > > > I would like to do some more testing on e4, but I get a compile error > with the code from e4 HEAD. I have checked out the code as described on > http://wiki.eclipse.org/E4/ProjectSetFiles. > > Eclipse gives me an error for some imports: > > import javax.annotation.PostConstruct; > import javax.annotation.PreDestroy; > > Access restriction: The type PostConstruct is not accessible due to > restriction on required library C:\Program > Files\Java\jdk1.6.0_20\jre\lib\rt.jar > > Shouldn't Eclipse pick up the code from the "java.annotation" plugin > contained in the 4.0 SDK? Do I have to use some special target platform > settings or so? > > (Note: I am currently running on Eclipse 3.5.) > > Stefan > > > _______________________________________________ > e4-dev mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/e4-dev > > _______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
