[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Added repositories get lost after restarting eclipse

From: Jörg Eichhorn <eichhorn_at_ponton-consulting.de>
Date: 2005-02-03 17:45:23 CET

Hello,

my previous change suggestion made more mess, then it fixes the problem.

It works better when changind the if clause from:

if(location.indexOf(url)!=-1)

to:
if(url.equals(location) || location.indexOf(url + "/") != -1)

This will return the existing instance when the url is the same or the
url + "/" is part of the location. Could there be any other character
besides '/' after the url?
When the url already ends with a '/' this will still make some mess.

Jörg.
Received on Fri Feb 4 03:45:23 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.