[
https://jira.jboss.org/jira/browse/SHRINKWRAP-112?page=com.atlassian.jira...
]
Adrian Cole commented on SHRINKWRAP-112:
----------------------------------------
I think that from(String) should be reasonably capable of determining if it is a url or
not.
Having this in shrinkwrap would really help reduce the effort needed, and libraries
needed, for things like ant task writing dramatically
Create a Unified Importer API
-----------------------------
Key: SHRINKWRAP-112
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-112
Project: ShrinkWrap
Issue Type: Feature Request
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Importer
from(String)
from(new File(String))
from(File)
File.isFile -> LookupImporterType -> ZipImporter
File.isDirectory -> ExplodedImporter
from(URL)
URL.getFile.isDirectory -> ExplodedImporter
URL.getExtension -> LookupImporterType -> ZipImporter
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira