pax-wicket-service compilation  fails with Eclipse PDE 3.4.1
------------------------------------------------------------

                 Key: PAXWICKET-30
                 URL: http://issues.ops4j.org/browse/PAXWICKET-30
             Project: Pax Wicket
          Issue Type: Bug
    Affects Versions: 0.6.0
         Environment: Eclipse 3.4.1, PDE Installed, Running on Ubuntu; many 
more details can be provided on demand
            Reporter: Joachim Kainz
            Assignee: Niclas Hedhman


Eclipse 3.4.1 refuses to compile org.ops4j.pax.wicket.internal.GenericContext 
without errors. This seems to happen because one of its dependencies 
(activation-1.1.jar) is not a valid OSGi module.

Here are the errors:

Description     Resource        Path    Location        Type
Access restriction: The method addMimeTypes(String) from the type 
MimetypesFileTypeMap is not accessible due to restriction on required library 
/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar      GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 57 Java 
Problem
Access restriction: The method getContentType(String) from the type 
MimetypesFileTypeMap is not accessible due to restriction on required library 
/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar    GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 99 Java 
Problem
Access restriction: The method getDefaultFileTypeMap() from the type 
FileTypeMap is not accessible due to restriction on required library 
/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar    GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 56 Java 
Problem
Access restriction: The type MimetypesFileTypeMap is not accessible due to 
restriction on required library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar   
GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 23 Java 
Problem
Access restriction: The type MimetypesFileTypeMap is not accessible due to 
restriction on required library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar   
GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 39 Java 
Problem
Access restriction: The type MimetypesFileTypeMap is not accessible due to 
restriction on required library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar   
GenericContext.java     
pax-wicket-service/src/main/java/org/ops4j/pax/wicket/internal  line 56 Java 
Problem


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to