Parse jar:file prefix to Resource

Matt Bertolini <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CACKKGnqnGG2iNgJ=ZCJgNgUBsMsufds8Lbp2Y6BMZX9qRfDkbA@mail.gmail.com>
Hi,

I am writing some custom ant tasks and I want to support files inside of
zip/jar files. I have noticed that some ant tasks use the
jar:file:/path/to/a.jar!/path/in/jar/file.xml syntax but I can't seem to
get it work. How do I use this pattern in my tasks and map them to a
Resource object like FileResource, URLResource, etc. Thanks.

Matt Bertolini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.