Hi I've got some problems to build sling in eclipse. Have tried no for hours to get rid off the error, but haven't succeeded, maybe just a little thing which I can't see, hope someone can help:
my environment: windows xp sp 3 eclipse 3.4 with maven2-plugin (sonatype, newest) and subversive installed maven 2.1.0 jre 1.5 und jdk 1.6 What I've done so far: 1) getting the sling source from svn (with eclipse subversive) which creates a java project with no builders called sling in the workspace 2) building the source with maven -> no problem 3) calling mvn eclipse:eclipse 4) import projects in eclipse with File/Import, choosing "Existing projects into Workspace", selecting the folder <workspace>/sling/bundles (because eclipse can't find the projects in the subfolders if I select only <workspace>/sling. choosing all projects. 5) eclipse tries to build the projects but gets a lot of following errors: xy cannot be resolved (Java Problem), first error is AdapterType cannot be resolved in ScriptableResourceTest.java, line 215. It seems that eclipse tries to build with Java 1.4 (can't recognize generics...). But eclipse points to jdk 6, and there's no problem in other projects. I tried java 1.5 as well, no luck. what have I missed? best regards mike
