> [Loaded org.tmatesoft.svn.core.wc.SVNClientManager from
> file:/C:/java/wrk/admwebapds/lib/svnkit-1.7.0-alpha1/lib/svnkit-1.7.0-alpha1.jar]

Looks like you're still using alpha1 version, but not the latest
binaries from the build server.

>    public void doList(File path, SVNRevision pegRevision, SVNRevision
> revision, boolean fetchLocks, SVNDepth depth, int entryFields,
> ISVNDirEntryHandler handler) throws SVNException {
>        try {
>            getSVNLogClient17().doList(path, pegRevision, revision,
> fetchLocks, depth, entryFields, handler);
>        } catch (SVNException e) {
>            if (e.getErrorMessage().getErrorCode() ==
> SVNErrorCode.WC_UNSUPPORTED_FORMAT) {
>                getSVNLogClient16().doList(path, pegRevision, revision,
> fetchLocks, depth, entryFields, handler);
>                return;
>            }
>            throw e;
>        }
>    }

There is no such code any longer in the trunk version and in the
version of SVNKit built on our build server. The code you should see
there is:

        SvnList list = getOperationsFactory().createList();
        list.setDepth(depth);
        list.setRevision(revision);
        list.addTarget(SvnTarget.fromFile(path, pegRevision));
        list.setFetchLocks(fetchLocks);
        list.setEntryFields(entryFields);
        list.setReceiver(new ISvnObjectReceiver<SVNDirEntry>() {
            public void receive(SvnTarget target, SVNDirEntry object)
throws SVNException {
                handler.handleDirEntry(object);
            }
        });

        list.run();

So you miss "list" operation because you use version of SVNKit which
does not yet contain it. Direct link to the new version is:

http://teamcity.tmatesoft.com/repository/download/bt26/363:id/svnkit-1.7.0-SNAPSHOT_r8457_v20111230_1932-all.zip

Alexander Kitaev,
TMate Software,
http://subgit.com/ - Svn to Git Migration!
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!



On 2 January 2012 21:47, Litio <[email protected]> wrote:
>
> I downloaded binaries from teamcity, when run with -verbose, I get:
>
> [Loaded org.tmatesoft.svn.core.wc.SVNClientManager from
> file:/C:/java/wrk/admwebapds/lib/svnkit-1.7.0-alpha1/lib/svnkit-1.7.0-alpha1.jar]
>
> But same problem:
>
> Caused by: org.tmatesoft.svn.core.SVNException: svn: E155021: The path
> 'C:\java\wrk\admwebapds' appears to be part of a Subversion 1.7 or greater
> working copy.  Please upgrade your Subversion client to use this
> working copy.
>        at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>        at
> org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWC(SVNAdminAreaFactory.java:121)
>        at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probe(SVNWCAccess.java:805)
>        at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:299)
>        at
> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
>        at
> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.deriveLocation(SVNBasicDelegate.java:980)
>        at
> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getURL(SVNBasicDelegate.java:969)
>        at
> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:517)
>        at
> org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doList(SVNLogClient16.java:1208)
>        at 
> org.tmatesoft.svn.core.wc.SVNLogClient.doList(SVNLogClient.java:1184)
>
> In org.tmatesoft.svn.core.wc.SVNLogClient.doList, you are hidding real
> exception from getSVNLogClient17, is this fail try getSVNLog16 but in this
> case is 1.7 repository and throw a format exception and never throw e:
>
>    public void doList(File path, SVNRevision pegRevision, SVNRevision
> revision, boolean fetchLocks, SVNDepth depth, int entryFields,
> ISVNDirEntryHandler handler) throws SVNException {
>        try {
>            getSVNLogClient17().doList(path, pegRevision, revision,
> fetchLocks, depth, entryFields, handler);
>        } catch (SVNException e) {
>            if (e.getErrorMessage().getErrorCode() ==
> SVNErrorCode.WC_UNSUPPORTED_FORMAT) {
>                getSVNLogClient16().doList(path, pegRevision, revision,
> fetchLocks, depth, entryFields, handler);
>                return;
>            }
>            throw e;
>        }
>    }
>
> Thx
>
>
>
> AlexanderKitaev wrote:
>>
>> Hello,
>>
>> Are you sure that you're using the latest version? There are no such
>> line numbers as in your stack trace any longer (see
>> http://svn.svnkit.com/repos/svnkit/trunk/svnkit/src/main/java/org/tmatesoft/svn/core/wc/SVNLogClient.java).
>>
>> Direct link to the latest binaries is:
>> http://teamcity.tmatesoft.com/viewLog.html?buildId=363&tab=artifacts&buildTypeId=bt26
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://subgit.com/ - Svn to Git Migration!
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>> http://hg4j.com/ - Java Mercurial Library!
>> http://sqljet.com/ - Java SQLite Library!
>>
>>
>>
>> On 2 January 2012 17:04, Litio <[email protected]> wrote:
>>>
>>> I just download last build from build server, but get same error:
>>>
>>> Caused by: org.tmatesoft.svn.core.SVNException: svn: E155021: The path
>>> 'C:\java\wrk\admwebapds' appears to be part of a Subversion 1.7 or
>>> greater
>>> working copy.  Please upgrade your Subversion client to use this
>>> working copy.
>>>        at
>>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWC(SVNAdminAreaFactory.java:121)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probe(SVNWCAccess.java:805)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:299)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.deriveLocation(SVNBasicDelegate.java:980)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getURL(SVNBasicDelegate.java:969)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:517)
>>>        at
>>> org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doList(SVNLogClient16.java:1208)
>>>        at
>>> org.tmatesoft.svn.core.wc.SVNLogClient.doList(SVNLogClient.java:1184)
>>>
>>> :(
>>>
>>>
>>> AlexanderKitaev wrote:
>>>>
>>>> Hello,
>>>>
>>>> SVNLogClient17 is no longer relevant.
>>>>
>>>> You should either use:
>>>>
>>>> SVNClientManager.newInstance().getLogClient().doList(...)
>>>>
>>>> or new API:
>>>>
>>>> SvnList ls = SvnOperationFactory().createList()
>>>>
>>>> ls.setTarget(SvnTarget.fromFile(...))
>>>> ls.setReceiver(new ISvnObjectReceiver() { ...});
>>>> ls.run();
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>> http://subgit.com/ - Svn to Git Migration!
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>> http://hg4j.com/ - Java Mercurial Library!
>>>> http://sqljet.com/ - Java SQLite Library!
>>>>
>>>>
>>>>
>>>> On 2 January 2012 15:31, Litio <[email protected]> wrote:
>>>>>
>>>>> Alex, I look for modifications in svn and build server, but versions of
>>>>> SVNLogClient17.java don't implements doList yep.
>>>>>
>>>>> ¿any idea?
>>>>>
>>>>> Thx.
>>>>>
>>>>>
>>>>> AlexanderKitaev wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> You may check out sources from
>>>>>> http://svn.svnkit.com/repos/svnkit/trunk or download binary artifacts
>>>>>> from our build server at
>>>>>> http://teamcity.tmatesoft.com/viewType.html?tab=buildTypeStatusDiv&buildTypeId=bt26
>>>>>> (click "log in as Guest" if prompted to log in).
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://subgit.com/ - Svn to Git Migration!
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>> http://hg4j.com/ - Java Mercurial Library!
>>>>>> http://sqljet.com/ - Java SQLite Library!
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 27 December 2011 21:19, Litio <[email protected]> wrote:
>>>>>>>
>>>>>>> Thank Alexander, is there a SVN URL where we can checkout this last
>>>>>>> changes.
>>>>>>>
>>>>>>> Thx.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> AlexanderKitaev wrote:
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> The list operation on local targets does not work, we've forget
>>>>>>>> about
>>>>>>>> it somehow, now it is implemented in the trunk version of SVNKit. It
>>>>>>>> will work in alpha2 version of SVNKit.
>>>>>>>>
>>>>>>>> Alexander Kitaev,
>>>>>>>> TMate Software,
>>>>>>>> http://subgit.com/ - Svn to Git Migration!
>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>> http://hg4j.com/ - Java Mercurial Library!
>>>>>>>> http://sqljet.com/ - Java SQLite Library!
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 27 December 2011 20:04, Litio <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>> Nop, does not work.
>>>>>>>>>
>>>>>>>>> The method doList in class
>>>>>>>>> org.tmatesoft.svn.core.internal.wc17.SVNLogClient17 set an error,
>>>>>>>>> do
>>>>>>>>> nothing.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>    public void doList(File path, SVNRevision pegRevision,
>>>>>>>>> SVNRevision
>>>>>>>>> revision, boolean fetchLocks, boolean recursive,
>>>>>>>>> ISVNDirEntryHandler
>>>>>>>>> handler) throws SVNException {
>>>>>>>>>        SVNErrorMessage err =
>>>>>>>>> SVNErrorMessage.create(SVNErrorCode.WC_UNSUPPORTED_FORMAT);
>>>>>>>>>        SVNErrorManager.error(err, SVNLogType.CLIENT);
>>>>>>>>>    }
>>>>>>>>>
>>>>>>>>> In CHANGE.txt of svnkit-1.7.0-alpha1 say:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> * The following operations are not yet implemented for the new
>>>>>>>>> working
>>>>>>>>> copy
>>>>>>>>> format:
>>>>>>>>>  - merge
>>>>>>>>>  - mergeinfo
>>>>>>>>>  - diff
>>>>>>>>>  - resolve, mark resolved
>>>>>>>>>  - cleanup
>>>>>>>>>
>>>>>>>>> But, LIST does not work too.
>>>>>>>>>
>>>>>>>>> Thx
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Litio wrote:
>>>>>>>>>>
>>>>>>>>>> I get answer... I was using a deprecated method of doList. I
>>>>>>>>>> correct
>>>>>>>>>> method invocation and all going ok.
>>>>>>>>>>
>>>>>>>>>> Thx.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Litio wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi Alexander, I'm doing some test with svnkit-1.7.0-alpha1, and
>>>>>>>>>>> get
>>>>>>>>>>> this
>>>>>>>>>>> error:
>>>>>>>>>>>
>>>>>>>>>>> Caused by: org.tmatesoft.svn.core.SVNException: svn: E155021: The
>>>>>>>>>>> path
>>>>>>>>>>> 'C:\java\wrk\admwebapds' appears to be part of a Subversion 1.7
>>>>>>>>>>> or
>>>>>>>>>>> greater working copy.  Please upgrade your Subversion client to
>>>>>>>>>>> use
>>>>>>>>>>> this
>>>>>>>>>>> working copy.
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.checkWC(SVNAdminAreaFactory.java:121)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probe(SVNWCAccess.java:805)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:299)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:295)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.deriveLocation(SVNBasicDelegate.java:980)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getURL(SVNBasicDelegate.java:969)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:517)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doList(SVNLogClient16.java:1208)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.internal.wc16.SVNLogClient16.doList(SVNLogClient16.java:1243)
>>>>>>>>>>>      at
>>>>>>>>>>> org.tmatesoft.svn.core.wc.SVNLogClient.doList(SVNLogClient.java:1226)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> AlexanderKitaev wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hello Nick,
>>>>>>>>>>>>
>>>>>>>>>>>> Looks like we underestimated efforts needed to support all
>>>>>>>>>>>> Subversion
>>>>>>>>>>>> features for the new working copy format. Current estimation for
>>>>>>>>>>>> the
>>>>>>>>>>>> stable version is end of January 2012.
>>>>>>>>>>>>
>>>>>>>>>>>> We work hard on the new version and yesterday we've published
>>>>>>>>>>>> 1.7.0-alpha1 version of SVNKit which support most, but not all
>>>>>>>>>>>> Subversion operations on the new working copy format. Things
>>>>>>>>>>>> missing
>>>>>>>>>>>> in this alpha1 versions are:
>>>>>>>>>>>>
>>>>>>>>>>>> - merge, mergeinfo, cleanup, resolve and resolved operations on
>>>>>>>>>>>> the
>>>>>>>>>>>> new working copy format.
>>>>>>>>>>>> - new JavaHL API implementation.
>>>>>>>>>>>>
>>>>>>>>>>>> All of the above will be added till the end of December and then
>>>>>>>>>>>> we'll
>>>>>>>>>>>> concentrate on bugfixing and performance improvements.
>>>>>>>>>>>>
>>>>>>>>>>>> Alexander Kitaev,
>>>>>>>>>>>> TMate Software,
>>>>>>>>>>>> http://subgit.com/ - Svn to Git Migration!
>>>>>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>>>>> http://hg4j.com/ - Java Mercurial Library!
>>>>>>>>>>>> http://sqljet.com/ - Java SQLite Library!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 5 December 2011 09:25, NickDeGraeve
>>>>>>>>>>>> <[email protected]>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> When do you expect to release SVNKit? On the website it says
>>>>>>>>>>>>> "we
>>>>>>>>>>>>> plan
>>>>>>>>>>>>> to
>>>>>>>>>>>>> release it end of November 2011".
>>>>>>>>>>>>> --
>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p32915534.html
>>>>>>>>>>>>> Sent from the SVNKit - Users mailing list archive at
>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p33042340.html
>>>>>>>>> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p33042927.html
>>>>>>> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p33066216.html
>>>>> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p33066687.html
>>> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/ETA-SVNKit-1.7.0--tp32915534p33068203.html
> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>
>

Reply via email to