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

Re: subclipse 0.9.30 compatibility with subversion server 1.0.6 release ?

From: lamikr <lamikr_at_cc.jyu.fi>
Date: 2005-05-03 22:51:41 CEST

Mark Phippard wrote:

>Miha Vitorovic <mvitorovic@nil.si> wrote on 04/22/2005 09:05:23 AM:
>
>
>
>>So, are you guys working on it already, and will be able to release it
>>soon after the 1.2 release of Subversion, or do you think there will be
>>much delay? I'm always eager to start using new version, you know.
>>
>>
>
>I am working on it. I am hopeful to release it within a couple of days of
>the Win32 binaries for the 1.2 GA being made available.
>
>I found some nasty JavaHL bugs in RC1 that have been fixed for RC2. It
>will of course also be dependent on there not being any more bugs. These
>were bad enough to prevent me from doing much.
>
>
I had also some simple problems when building javahl classes from 1.1.4
with jdk 1.5.0.
For example in the org.tigris.subversion.javahl.Status.java is following
code which
uses constants defined in the interfaces in a following way.

public static final class Kind implements StatusKind
{
/**
* Returns the textual representation of the status
* @param kind of status
* @return english status
*/
public static final String getDescription(int kind)
{
switch (kind)
{
case none:
return "non-svn";
case normal:
return "normal";
case added:
return "added";
case missing:
return "missing";
case deleted:
return "deleted";
case replaced:
return "replaced";
case modified:
return "modified";
case merged:
return "merged";
case conflicted:
return "conflicted";
case ignored:
return "ignored";
case incomplete:
return "incomplete";
case external:
return "external";
case unversioned:
default:
return "unversioned";
}
}
}

To get this build I needed to add the "StatusKind." for each of the case
comparisons...

switch (kind)
{
case StatusKind.none:
return "non-svn";
case StatusKind.normal:
return "normal";
case StatusKind.added:
return "added";
case StatusKind.missing:
return "missing";
case StatusKind.deleted:
return "deleted";
case StatusKind.replaced:
return "replaced";
case StatusKind.modified:
return "modified";
case StatusKind.merged:
return "merged";
case StatusKind.conflicted:
return "conflicted";
case StatusKind.ignored:
return "ignored";
case StatusKind.incomplete:
return "incomplete";
case StatusKind.external:
return "external";
case StatusKind.unversioned:
default:
return "unversioned";
}

>Mark
>
>
>_____________________________________________________________________________
>Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
>_____________________________________________________________________________
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>
>
Received on Wed May 4 06:51:41 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.