Anyone else seeing the following compile errors when viewing sling
trunk in eclipse?
Description     Resource        Path    Location        Type
Constants.FRAMEWORK_BEGINNING_STARTLEVEL cannot be resolved     
Sling.java       
sling-trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl  
line
406     Java Problem
Constants.FRAMEWORK_BEGINNING_STARTLEVEL cannot be resolved     
Sling.java       
sling-trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl  
line
407     Java Problem
Constants.FRAMEWORK_STORAGE cannot be resolved  Sling.java      
sling-trunk/launchpad/base/src/main/java/org/apache/sling/launchpad/base/impl   
line
396     Java Problem

Here is the code where the errors occur (starts line 395):
        // migrate old properties to new properties
        migrateProp(staticProps, "felix.cache.profiledir",
Constants.FRAMEWORK_STORAGE);
        migrateProp(staticProps, "sling.osgi-core-packages",
"osgi-core-packages");
        migrateProp(staticProps, "sling.osgi-compendium-services",
"osgi-compendium-services");

        // migrate initial start level property: Felix used to have
        // felix.startlevel.framework, later moved to
org.osgi.framework.startlevel
        // and finally now uses org.osgi.framework.startlevel.beginning as
        // speced in the latest R 4.2 draft (2009/03/10). We first check the
        // intermediate Felix property, then the initial property, thus allowing
        // the older (and more probable value) to win
        migrateProp(staticProps, "org.osgi.framework.startlevel",
Constants.FRAMEWORK_BEGINNING_STARTLEVEL);
        migrateProp(staticProps, "felix.startlevel.framework",
Constants.FRAMEWORK_BEGINNING_STARTLEVEL);

The values do not appear to be in the constants file but I don't see
any failure when building with maven so I am not sure what is going on
here. I am willing to chalk it up to weirdness in my eclipse
installation but I thought I might ask if anyone else sees this also
before I dig deeper.
-AZ


-- 
Aaron Zeckoski ([email protected])
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

Reply via email to