|
Re: workspace.root resolution [message #542112 is a reply to message #542063] |
Wed, 23 June 2010 21:18 |
|
Hi Alex,
I think the local reader will be able to use a path instead of a URI, i.e.
"{0}/user/{1}"
- thomas
On 06/23/2010 07:07 PM, Alex wrote:
> Hello,
>
> In my rmap I define provider like this:
> Quote:
>> <provider readerType="local" componentTypes="osgi.bundle"
>> mutable="true" source="true">
>> <uri format="file:///{0}/user/{1}">
>> <bc:propertyRef key="workspace.root" /> <bc:propertyRef
>> key="buckminster.component" />
>> </uri>
>> </provider>
>
> When I run this on windows workspace.root resolves correctly to my
> hudson workspace location, on linux however I get error:
> Quote:
>> ERROR [0001] : Resolution attempt ended with exception:
>> java.net.UnknownHostException: home
>
> If I change uri format to
> Quote:
>> <uri format="file://{0}/user/{1}">
>
> Then on linux it workspace.root resolves correctly, but on windows I get
> similar exception:
> Quote:
>> ERROR [0001] : Resolution attempt ended with exception:
>> java.net.UnknownHostException: F
>
>
> thanks,
> Alex
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds