What about resolving relative URLs wrt to the ${felix.home}
environment variable ?  This can be done in addition to quotes parsing of
course.

On 5/22/07, Richard S. Hall <[EMAIL PROTECTED]> wrote:

After thinking about it for a minute, I thought there was a routine
somewhere in Felix to parse delimited quoted strings...turns out there
is in the manifest parser.

I will try to create a patch tomorrow...

-> richard

On May 21, 2007, at 6:54 PM, Richard S. Hall wrote:

> I think that would be a problem with Felix' simplistic approach to
> parsing the property, it is expecting a space-delimited list of URLs,
> thus the space in the path screws it up.
>
> As a test you could edit the config.properties file to used the munged
> version of the Windows path (e.g., "c:\Progra~1\")...
>
> In the meantime, we have to think if there is a simple way to deal
> with this...the only thing I can think of is making the property
> parser understand quoted strings, then you could solve it by quoting
> URLs with spaces...
>
> -> richard
>
> On May 21, 2007, at 6:51 PM, Guillaume Nodet wrote:
>
>> I'm trying to understand how to configure / use the daemon /
>> installer.
>>
>> After having changed the installers/pom.xml to reference the released
>> version
>> of ApacheDS (1.0-RC2 instead of 1.0-RC2-SNAPSHOT)  i was able to build
>> the felix installers and install them on Windows.
>>
>> One of the problem was the lack of a felix configuration file, so I
>> copied
>> the one
>> i used and try to start the service.
>> Unfortunately, on Windows, the service is run from C:\windows\system32
>> folder (or something like that), so I had troubles configuring
>> bundles using
>> the felix.auto.start.1 property.
>>
>> I've tried by prefixing the values with ${felix.home} that way
>> felix.auto.start.1= \
>> file:${felix.home}/bundle/org.apache.felix.shell-
>> 0.9.0-incubator-SNAPSHOT.jar \
>> file:${felix.home}/bundle/org.apache.felix.shell.tui-
>> 0.9.0-incubator-SNAPSHOT.jar \
>> file:${felix.home}/bundle/org.apache.felix.bundlerepository-
>> 0.9.0-incubator-SNAPSHOT.jar
>>
>> but unfortunately, I had the following output:
>>
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: file:C:\Program)
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: Files\felix-0.9.0-incubator-SNAPSHOT
>> /bundle/org.apache.felix.shell-0.9.0-incubator-SNAPSHOT.jar)
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: file:C:\Program)
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: Files\felix-0.9.0-incubator-SNAPSHOT
>> /bundle/org.apache.felix.shell.tui-0.9.0-incubator-SNAPSHOT.jar)
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: file:C:\Program)
>> ERROR: Auto-properties install. (org.osgi.framework.BundleException:
>> Unable
>> to cache bundle: Files\felix-0.9.0-incubator-SNAPSHOT
>> /bundle/org.apache.felix.bundlerepository-0.9.0-incubator-
>> SNAPSHOT.jar)
>>
>> So it seems the space in "C:\Program Files\" is a problem.
>>
>> Did I miss something on the previous steps ? Is that a known problem ?
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Principal Engineer, IONA
>> Blog: http://gnodet.blogspot.com/
>




--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to