geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Building Geronimo 3.0 with Equinox
Date Thu, 04 Mar 2010 17:53:16 GMT

On Mar 4, 2010, at 7:34 AM, Jarek Gawor wrote:

> Hmm.. Can you give me an example of a filename on mac os x that is
> causing the problem? It's weird because it's a properly encoded url so
> it should work.


/var/folders/J0/J041U4tbGqeIsK+mFxmskk+++TI/-Tmp-/geronimo- 
fileutils5636892370741293365.tmpfile

toURI().toURL() gives

file:/var/folders/J0/J041U4tbGqeIsK+mFxmskk+++TI/-Tmp-/geronimo- 
fileutils5636892370741293365.tmpfile

which felix URLDecoder.decodes to

reference:file:/var/folders/J0/J041U4tbGqeIsK mFxmskk   TI/-Tmp-/ 
geronimo-fileutils5636892370741293365.tmpfile

(note the spaces)

URLEncoder.encode gives

%2Fvar%2Ffolders%2FJ0%2FJ041U4tbGqeIsK%2BmFxmskk%2B%2B%2BTI%2F-Tmp- 
%2Fgeronimo-fileutils5636892370741293365.tmpfile
which decodes to the original.

I think felix is wrong.... WDYT?

thanks
david jencks

>
> Jarek
>
> On Thu, Mar 4, 2010 at 2:03 AM, David Jencks  
> <david_jencks@yahoo.com> wrote:
>> I got as far as the jasper plugin at which point it failed with some
>> messages I couldn't understand.  Also, your changes to url encoding  
>> for temp
>> bundle locations don't work on mac osx with felix :-(
>>
>> I think we'll have to do something like convince felix or equinox  
>> to change.
>>  I don't understand why felix thinks it needs to use URLDecoder at  
>> all....
>> its for decoding form content, not file names.
>>
>> thanks
>> david jencks
>>
>> On Mar 3, 2010, at 1:02 PM, Jarek Gawor wrote:
>>
>>> Hi,
>>>
>>> I just committed some updates to car-maven-plugin that will allow us
>>> to build Geronimo 3.0 with Equinox OSGi framework. To build with
>>> Equinox instead of Felix just run maven with -Dframework=equinox
>>> option.
>>>
>>> The framework assembly built just fine for me with Equinox.
>>>
>>> Jarek
>>
>>


Mime
View raw message