Support for new protocol vfszip: introduced by JBoss 5.0.0
----------------------------------------------------------

                 Key: TOBAGO-688
                 URL: https://issues.apache.org/jira/browse/TOBAGO-688
             Project: MyFaces Tobago
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: JBoss AS 5.0.0.CR1, openSuse 11.0 amd64, Java sun sdk 
1.6.0_06
            Reporter: Stefan Hedtfeld
         Attachments: ResourceLocator.java.diff

I'm using tobago-1.1.0-SNAPSHOT on JBoss 5.0.0.CR1. Deploying my application 
failed due to an exception in ResourceLocator because JBoss introduced a new 
protocol vfszip: for accessing archives. It gives a warning "Unknown protocol 
'vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear/tobago-theme-speyside-1.1.0-SNAPSHOT.jar/META-INF/tobago-theme.xml'"
 and then fails when creating a File instance without the file: protocol.

I tried several ways to access the file correctly, the only way seems to be to 
handle this like an archive but going up to directories. I've attached a diff 
to give you an impression - I'm not sure if it is the correct approach to 
handle this in tobago as I would think if JBoss introduces a new protocol then 
this should not impact tobago.


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

Reply via email to