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

Re: [Subclipse-users] svnant and eclipse 3.4

From: saimen54 <saimen54_at_hotmail.com>
Date: Fri, 18 Jul 2008 07:01:09 -0700 (PDT)

So after some more testing, SvnAnt starts at least when using svnant.jar from
trunk, svnClientAdapter.jar from trunk and svnkit.jar, svnkit-cli.jar,
svnkit-javahl.jar from trunk.

I get an SvnAntException "Not a versioned resource" (see below), when I set
the target to "." or specify it explicitly.

This exception is raised in svnant.commands.Info.execute(), when the method
getRevision() is called and returns null.

Maybe svnkit has changed its interfaces?

Error:

initialize:
      [svn] Using svnkit
      [svn] <Info> started ...
      [svn] <Info> failed !

BUILD FAILED
H:\Eigene Dateien\Projekte\SISCOMP\build.xml:25: Failed to set 'info'
properties

        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo
mmand.java:109)
        at org.tigris.subversion.svnant.SvnTask.execute(SvnTask.java:435)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: org.tigris.subversion.svnant.SvnAntException: . - Not a versioned
res
ource
        at org.tigris.subversion.svnant.commands.Info.execute(Info.java:82)
        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo
mmand.java:105)
        ... 18 more
--- Nested Exception ---
org.tigris.subversion.svnant.SvnAntException: . - Not a versioned resource
        at org.tigris.subversion.svnant.commands.Info.execute(Info.java:82)
        at
org.tigris.subversion.svnant.commands.SvnCommand.executeCommand(SvnCo
mmand.java:105)
        at org.tigris.subversion.svnant.SvnTask.execute(SvnTask.java:435)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
View this message in context: http://www.nabble.com/svnant-and-eclipse-3.4-tp18272246p18529920.html
Sent from the subclipse - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-07-18 16:01:22 CEST

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.