You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Trygve Hardersen (JIRA)" <ji...@apache.org> on 2009/08/20 09:33:14 UTC

[jira] Created: (GERONIMO-4807) Hidden-classes does not support excluding files

Hidden-classes does not support excluding files
-----------------------------------------------

                 Key: GERONIMO-4807
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 2.2
         Environment: OS X 10.5, Java 6
            Reporter: Trygve Hardersen


It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:

build.properties --> a file that lives on the root of a JAR in a parent classloader

When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-4807:
----------------------------------

    Fix Version/s: 2.2.2
                       (was: 2.2.1)

won't fix this in 221 release.

> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>             Fix For: 2.2.2
>
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Trygve Hardersen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745341#action_12745341 ] 

Trygve Hardersen commented on GERONIMO-4807:
--------------------------------------------

If someone could point me to the relevant code for this I can probably create a patch for it. I suggest escaping "." with a "\". Example:

build\.properties

This will exclude items starting with "build.properties", not items in "build/properties".  

> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated GERONIMO-4807:
----------------------------------

    Fix Version/s: 2.2.1

> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>             Fix For: 2.2.1
>
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Trygve Hardersen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870960#action_12870960 ] 

Trygve Hardersen commented on GERONIMO-4807:
--------------------------------------------

Jeg jobber ikke lengre i Jotta!
I no longer work at Jotta!

Trygve Hardersen
trygve@hypobytes.com


> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>             Fix For: 2.2.2
>
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Trygve Hardersen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864163#action_12864163 ] 

Trygve Hardersen commented on GERONIMO-4807:
--------------------------------------------

Jeg jobber ikke lengre i Jotta!
I no longer work at Jotta!

Trygve Hardersen
trygve@hypobytes.com


> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>             Fix For: 2.2.1
>
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4807) Hidden-classes does not support excluding files

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745933#action_12745933 ] 

Kevan Miller commented on GERONIMO-4807:
----------------------------------------

That would be great! 

For trunk and branches/2.2, look at the toResources(Set) method in: 

    framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/repository/ClassLoadingRule.java

For branches/2.1, look at the toResources(String[]) method in:

    branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/MultiParentClassLoader.java

> Hidden-classes does not support excluding files
> -----------------------------------------------
>
>                 Key: GERONIMO-4807
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4807
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 2.2
>         Environment: OS X 10.5, Java 6
>            Reporter: Trygve Hardersen
>
> It is not possible to exclude files with a "." in the file name using the "hidden-classes" classloader functionality. Example:
> build.properties --> a file that lives on the root of a JAR in a parent classloader
> When creating a "hidden-classes" filter on "build.properties", it is treated as build/properties, which would be correct for a Java class, but not for a plain file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.