You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Tsuyoshi Ito <ts...@trialox.org> on 2009/02/18 21:10:33 UTC

Build Error: Apache Felix Security Provider

Hi,

I have problems building the Apache Felix Security Provider (latest  
snapshot from http://svn.apache.org/viewvc/felix/trunk/framework.security) 
.  On the 28th of January I was able to build it. What have I done  
wrong?

framework.security$ mvn clean install
[INFO] Scanning for projects...
[INFO]  
------------------------------------------------------------------------
[INFO] Building Apache Felix Security Provider
[INFO]    task-segment: [clean, install]
[INFO]  
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /.../trunk/framework.security/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 18 source files to /.../trunk/framework.security/ 
target/classes
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Compilation failure

/.../trunk/framework.security/src/main/java/org/apache/felix/framework/ 
security/condpermadmin/ConditionalPermissionAdminImpl.java:[40,36]  
cannot find symbol
symbol  : class IContentLoader
location: package org.apache.felix.moduleloader

/.../trunk/framework.security/src/main/java/org/apache/felix/framework/ 
security/util/LocalPermissions.java:[36,36] cannot find symbol
symbol  : class IContentLoader
location: package org.apache.felix.moduleloader



Thanks for your help
Tsuy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Build Error: Apache Felix Security Provider

Posted by Karl Pauls <ka...@gmail.com>.
You didn't do anything wrong. The provider has a dependency on the
current framework trunk (i.e., 1.5.0-SNAPSHOT). We are in the middle
of a bigger refactoring and the provider has not been ported to the
latest internal changes. Thats why it doesn't build anymore.

I just commited a fix which makes the provider depend on felix 1.4.1
(which is the latest version it works with). Update and try again.

Thanks for reporting.

regards,

Karl

On Wed, Feb 18, 2009 at 9:10 PM, Tsuyoshi Ito <ts...@trialox.org> wrote:
> Hi,
>
> I have problems building the Apache Felix Security Provider (latest snapshot
> from http://svn.apache.org/viewvc/felix/trunk/framework.security).  On the
> 28th of January I was able to build it. What have I done wrong?
>
> framework.security$ mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Felix Security Provider
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /.../trunk/framework.security/target
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 18 source files to
> /.../trunk/framework.security/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /.../trunk/framework.security/src/main/java/org/apache/felix/framework/security/condpermadmin/ConditionalPermissionAdminImpl.java:[40,36]
> cannot find symbol
> symbol  : class IContentLoader
> location: package org.apache.felix.moduleloader
>
> /.../trunk/framework.security/src/main/java/org/apache/felix/framework/security/util/LocalPermissions.java:[36,36]
> cannot find symbol
> symbol  : class IContentLoader
> location: package org.apache.felix.moduleloader
>
>
>
> Thanks for your help
> Tsuy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>



-- 
Karl Pauls
karlpauls@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org