Running under Windows: Unix-paltform specific characters in felix runner's 
config.ini prevent loading of shell and compendium bundles
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: PAXCONSTRUCT-107
                 URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-107
             Project: Pax Construct
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.4, 1.3
         Environment: Windows xp 32 SP3, JDK 1.6
            Reporter: Olaf Otto
            Assignee: Stuart McCulloch


When starting up felix with pax-provision, the following errors occur and 
prevent loading of the felix console:

 -> Using config [classpath:META-INF/runner.properties]
 -> Using only arguments from command line
 -> Scan bundles from [C:\Dokumente und 
Einstellungen\[myUsername]\Desktop\osgi-test\runner\deploy-pom.xml]
 -> Scan bundles from [scan-pom:file:/C:/Dokumente und 
Einstellungen/[myUsername]/Desktop/osgi-test/runner/deploy-pom.xml]
 -> Using property [org.osgi.service.http.port=8080]
 -> Using property [org.osgi.service.http.port.secure=8443]
 -> Scan bundles from 
[scan-composite:mvn:org.ops4j.pax.runner.profiles/minimal//composite]
 -> Preparing framework [Felix 1.6.0]
 -> Downloading bundles...
 -> Using execution environment [J2SE-1.6]
 -> Runner has successfully finished his job!


Welcome to Felix.
=================

Auto-properties install: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesosgi.compendium_4.1.0.build-200702212030.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesorg.apache.felix.shell_1.2.0.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesorg.apache.felix.shell.tui_1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesosgi.compendium_4.1.0.build-200702212030.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesorg.apache.felix.shell_1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache 
bundle: file:bundlesorg.apache.felix.shell.tui_1.2.0.jar

The URI's file:bundlesosgi are invalid, and the file runner/felix/config.ini 
shows unix system characters (return, unescaped backlash):

felix.auto.start.1=\[]"file:bundles\osgi.compendium_4.1.0.build-200702212030.jar"
 \[]"file:bundles\org.apache.felix.shell_1.2.0.jar" 
\[]"file:bundles\org.apache.felix.shell.tui_1.2.0.jar"

I believe the [] should be line breaks and \ should be replaced by \\ in the 
bundle paths.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to