Install by reference needs to handle special characters better
--------------------------------------------------------------

                 Key: FELIX-2345
                 URL: https://issues.apache.org/jira/browse/FELIX-2345
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-2.0.5
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: framework-3.0.0


>From https://glassfish.dev.java.net/issues/show_bug.cgi?id=11914:

When CARGO tests Glassfishv3, it will install the containers into the temporary
directory. For some reason, on MacOS X, that directory has + characters in its 
name.

Glassfishv3 doesn't start if it is installed in a path that contains these
characters, Glassfishv3 doesn't start. If shows messages like:

    Auto-properties install: org.osgi.framework.BundleException: Unable to cache
bundle:
reference:file:/private/var/folders/CD/CDEWKEyFESa5mHkUk2ZCvE+++TI/-Tmp-/cargo/installs/glassfish-v3-web/glassfishv3/glassfish/modules/osgi-main.jar
- java.io.IOException: Referenced file does not exist:
/private/var/folders/CD/CDEWKEyFESa5mHkUk2ZCvE  
TI/-Tmp-/cargo/installs/glassfish-v3-web/glassfishv3/glassfish/modules/osgi-main.jar

I guess it's because paths are not properly escaped.

Priority is P4, as I think paths are properly escaped for Windows paths
(C:\Program Files\). If not, this issue will become a P1 or P2.


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