[ 
https://issues.apache.org/jira/browse/ARIES-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973671#action_12973671
 ] 

Mark Nuttall edited comment on ARIES-521 at 12/21/10 9:29 AM:
--------------------------------------------------------------

BundleManifest.fromBundle(IFile) is the right method to use. I then found a bug 
in ZipDirectory in which we assumed that all directories in a path existed in 
their own right. In our itests, we see temporary bundles created in which 
META-INF/ is not a ZipFile entry, even though META-INF/MANIFEST.MF is. 

      was (Author: mnuttall):
    BundleManifest.fromBundle(IFile) is the right method to use. I then found a 
bug in that method in which we assumed that all directories in a path existed 
in their own right. In our itests, we see temporary bundles created in which 
META-INF/ is not a ZipFile entry, even though META-INF/MANIFEST.MF is. 
  
> Unsafe File construction in ModelledResourceManagerImpl.findBlueprints()
> ------------------------------------------------------------------------
>
>                 Key: ARIES-521
>                 URL: https://issues.apache.org/jira/browse/ARIES-521
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.1, 0.2, 0.3, Incubation, 1.0
>            Reporter: Mark Nuttall
>            Assignee: Mark Nuttall
>             Fix For: 0.3, Incubation, 1.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> ModelledResourceManagerImpl.findBlueprints(Collection<IDirectory>) builds a 
> File from IFile.toString(). This fails on Windows when the IFile has a space 
> in its path name. 

-- 
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