[shrinkwrap-issues] [JBoss JIRA] Work started: (SHRINKWRAP-300) filename with whitespace produce errors on windows
Tommy Tynjä (JIRA)
jira-events at lists.jboss.org
Tue Jul 12 02:25:23 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SHRINKWRAP-300 started by Tommy Tynjä.
> filename with whitespace produce errors on windows
> --------------------------------------------------
>
> Key: SHRINKWRAP-300
> URL: https://issues.jboss.org/browse/SHRINKWRAP-300
> Project: ShrinkWrap
> Issue Type: Bug
> Affects Versions: 1.0.0-beta-3
> Environment: windows
> Reporter: José Freitas
> Assignee: Tommy Tynjä
>
> When a filename has whitespace
> the method in ContainerBase.class
> {code}
> private File fileFromResource(final String resourceName)
> {
> final String resourcePath = AccessController.doPrivileged(GetTcclAction.INSTANCE).getResource(resourceName)
> .getFile();
> return new File(resourcePath);
> }
> {code}
> tries to find a file with URL pattern filename (using %20 for instance) which may be causing troubles to find files resulting in a java.lang.IllegalArgumentException
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list