[jboss-jira] [JBoss JIRA] (DROOLS-502) ClasspathKieProject fails vfs: try to unzip exploded jar

Nicolas-Xavier Vanderlinden (JIRA) issues at jboss.org
Mon May 26 18:45:57 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970605#comment-12970605 ] 

Nicolas-Xavier Vanderlinden commented on DROOLS-502:
----------------------------------------------------

ClasspathKieProject.java
{code}
    public static String getPomProperties(String urlPathToAdd) {
         ....
        if ( urlPathToAdd.endsWith( ".jar" ) || urlPathToAdd.endsWith( "/content" ) ) {
            pomProperties = getPomPropertiesFromZipFile(rootPath);
        } else {
            pomProperties = getPomPropertiesFromFileSystem(rootPath);
{code}

urlPathToAdd.endsWith( ".jar" ) does not always mean that it's a zip.

> ClasspathKieProject fails vfs: try to unzip exploded jar
> --------------------------------------------------------
>
>                 Key: DROOLS-502
>                 URL: https://issues.jboss.org/browse/DROOLS-502
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.1.0.Beta4
>            Reporter: Nicolas-Xavier Vanderlinden
>            Assignee: Mark Proctor
>
> Drools is not able to load kmodule.xml from an exploded jar inside an exploded ear.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list