Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Buckminster, SVN and file urls
Buckminster, SVN and file urls [message #380388] Thu, 09 October 2008 18:32 Go to next message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Hello again

I am having a problem with buckminster + subversive and file urls. I am
try to specify a url in my svn reader in the rmap as follows:

file:///path/to/my/repository/trunk/{1}

However, the component can't be found. The component is found if I use:

svn+ssh://localhost/path/to/my/repository/trunk/{1}

The buckminster debug reveals that buckminster adds null into the url
for some reason:

Listing remote folder file://null/svn/repos/spectra2/trunk/my.component#HEAD

Do I need to do something special to use file urls or is this another bug?

Regards
Doug
Re: Buckminster, SVN and file urls [message #380389 is a reply to message #380388] Thu, 09 October 2008 20:14 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Douglas,
This sounds like a bug. Until it's fixed you can try an alternate format

file:/path/to/my/repository/trunk/{1}

i.e. just one slash at the beginning. I don't know if it works but it's worth a try.

Regards,
Thomas Hallgren


Douglas Palmer wrote:
> Hello again
>
> I am having a problem with buckminster + subversive and file urls. I am
> try to specify a url in my svn reader in the rmap as follows:
>
> file:///path/to/my/repository/trunk/{1}
>
> However, the component can't be found. The component is found if I use:
>
> svn+ssh://localhost/path/to/my/repository/trunk/{1}
>
> The buckminster debug reveals that buckminster adds null into the url
> for some reason:
>
> Listing remote folder
> file://null/svn/repos/spectra2/trunk/my.component#HEAD
>
> Do I need to do something special to use file urls or is this another bug?
>
> Regards
> Doug
Re: Buckminster, SVN and file urls [message #380390 is a reply to message #380389] Thu, 09 October 2008 21:04 Go to previous messageGo to next message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Hi Thomas

The url file:/path/to/my/repository/trunk/{1} gives the same result;
component not found and the same debug output.

Regards
Doug


Thomas Hallgren wrote:
> Hi Douglas,
> This sounds like a bug. Until it's fixed you can try an alternate format
>
> file:/path/to/my/repository/trunk/{1}
>
> i.e. just one slash at the beginning. I don't know if it works but it's
> worth a try.
>
> Regards,
> Thomas Hallgren
>
>
> Douglas Palmer wrote:
>> Hello again
>>
>> I am having a problem with buckminster + subversive and file urls. I
>> am try to specify a url in my svn reader in the rmap as follows:
>>
>> file:///path/to/my/repository/trunk/{1}
>>
>> However, the component can't be found. The component is found if I use:
>>
>> svn+ssh://localhost/path/to/my/repository/trunk/{1}
>>
>> The buckminster debug reveals that buckminster adds null into the url
>> for some reason:
>>
>> Listing remote folder
>> file://null/svn/repos/spectra2/trunk/my.component#HEAD
>>
>> Do I need to do something special to use file urls or is this another
>> bug?
>>
>> Regards
>> Doug
Re: Buckminster, SVN and file urls [message #380391 is a reply to message #380390] Fri, 10 October 2008 07:13 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Douglas,
Please enter a bugzilla for this.

Thanks,
Thomas Hallgren

Douglas Palmer wrote:
> Hi Thomas
>
> The url file:/path/to/my/repository/trunk/{1} gives the same result;
> component not found and the same debug output.
>
> Regards
> Doug
>
>
> Thomas Hallgren wrote:
>> Hi Douglas,
>> This sounds like a bug. Until it's fixed you can try an alternate format
>>
>> file:/path/to/my/repository/trunk/{1}
>>
>> i.e. just one slash at the beginning. I don't know if it works but
>> it's worth a try.
>>
>> Regards,
>> Thomas Hallgren
>>
>>
>> Douglas Palmer wrote:
>>> Hello again
>>>
>>> I am having a problem with buckminster + subversive and file urls. I
>>> am try to specify a url in my svn reader in the rmap as follows:
>>>
>>> file:///path/to/my/repository/trunk/{1}
>>>
>>> However, the component can't be found. The component is found if I use:
>>>
>>> svn+ssh://localhost/path/to/my/repository/trunk/{1}
>>>
>>> The buckminster debug reveals that buckminster adds null into the url
>>> for some reason:
>>>
>>> Listing remote folder
>>> file://null/svn/repos/spectra2/trunk/my.component#HEAD
>>>
>>> Do I need to do something special to use file urls or is this another
>>> bug?
>>>
>>> Regards
>>> Doug
Submitted bugzilla.. [message #380392 is a reply to message #380391] Fri, 10 October 2008 07:37 Go to previous messageGo to next message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Hi Thomas

I have submitted the bug; the id is Bug 250377.

Regards
Doug
Re: Submitted bugzilla.. [message #380397 is a reply to message #380392] Fri, 17 October 2008 20:47 Go to previous messageGo to next message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Douglas Palmer wrote:
> Hi Thomas
>
> I have submitted the bug; the id is Bug 250377.
>
> Regards
> Doug

Hi Thomas

I've beening looking into the source for a fix for this one.
SubversiveSession builds a url and includes getHost(). However, this is
not checked for null, a file url has a null host, hence the output. I
would have submitted a patch for this but even after fixing this I still
can't resolve a query against a file url; so I think the problem may be
deeper than this.

I have tried using subversive with a file url and everything works; so
the problem must be in buckminster.

Regards
Doug
Patch submitted [message #380398 is a reply to message #380397] Mon, 20 October 2008 14:19 Go to previous message
Douglas Palmer is currently offline Douglas PalmerFriend
Messages: 64
Registered: July 2009
Member
Douglas Palmer wrote:
> I've beening looking into the source for a fix for this one.
> SubversiveSession builds a url and includes getHost(). However, this is
> not checked for null, a file url has a null host, hence the output. I
> would have submitted a patch for this but even after fixing this I still
> can't resolve a query against a file url; so I think the problem may be
> deeper than this.
>
> I have tried using subversive with a file url and everything works; so
> the problem must be in buckminster.
>
> Regards
> Doug

Hi Thomas

There were also a few oddities caused by using IPaths to figure out the
module path. The patch on the tickets fixes both of these; this makes
file urls work.

Regards
Doug
Previous Topic:Re: Empty Views
Next Topic:os conditional artifact targets (UI action filter ?)
Goto Forum:
  


Current Time: Fri Apr 26 03:02:16 GMT 2024

Powered by FUDForum. Page generated in 0.03778 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top