On Thu, Oct 22, 2009 at 17:31,  <[email protected]> wrote:
> Author: ozzy
> Date: Thu Oct 22 15:31:14 2009
> New Revision: 828748
>
> URL: http://svn.apache.org/viewvc?rev=828748&view=rev
> Log:
> ARIES-25 Add override processing to findEntry/findEntries
>
> Modified:
>    
> incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintExtender.java
>
> Modified: 
> incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintExtender.java
> URL: 
> http://svn.apache.org/viewvc/incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintExtender.java?rev=828748&r1=828747&r2=828748&view=diff
> ==============================================================================
> --- 
> incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintExtender.java
>  (original)
> +++ 
> incubator/aries/trunk/blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/BlueprintExtender.java
>  Thu Oct 22 15:31:14 2009
> @@ -18,6 +18,8 @@
>  */
>  package org.apache.aries.blueprint.container;

> +
> +    private String cachePath(Bundle bundle, String filePath)
> +    {
> +      return bundle.getSymbolicName() + "/" + bundle.getVersion() + "/" + 
> filePath;
> +    }
> +

I have problems to understand why this is necessary ? When calling
context.getDataFile(), isn't the framework supposed to return a file
in a path which is specific to the bundle ?  It should not be
necessary to prefix those with the symbolic name and version.  Is
there any other reason to do that ?


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to