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

[Subclipse-users] Using SvnAnt wiht javahl (without Subclipse) - which versions are compatible?

From: Tim Webster <timw_at_amdocs.com>
Date: 2006-01-13 18:51:20 CET

HI all,


I was wondering if I'm doing something wrong while trying to use svnAnt
with javahl. The latest versions of svnAnt and svnClientAdapter don't
seem to be compatible. If you use the jar files (e.g.
svnClientAdapter.jar and svnjavahl.jar) from svnAnt version 1.0.0 and
svnClientAdapter version 0.9.23 ( the latest stable version - for some
reason version 0.9.4 is "obsolete" ) you get the following:


java.lang.UnsatisfiedLinkError: notification2


Which I take to mean that a native method that svnAnt is expecting is
missing (e.g .the svnClientAdapter DLLs are out of date).


If you then use the jar files from svnClientAdapter version 0.9.23 with
it's own DLLs (which would make sense), then svnAnt complains with this:


java.lang.NoClassDefFoundError:
org/tigris/subversion/svnclientadapter/javahl/JhlClientAdapterFactory

y

        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
or.java:40)

        at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)

        at org.apache.tools.ant.Main.runBuild(Main.java:668)

        at org.apache.tools.ant.Main.startAnt(Main.java:187)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Caused by: java.lang.NoClassDefFoundError:
org/tigris/subversion/svnclientadapter/javahl/JhlClientAd

apterFactory

        at
org.tigris.subversion.svnant.SvnTask.isJavahlAvailable(SvnTask.java:224)

        at
org.tigris.subversion.svnant.SvnTask.execute(SvnTask.java:259)

        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

        at org.apache.tools.ant.Task.perform(Task.java:364)

        at org.apache.tools.ant.Target.execute(Target.java:341)

        at org.apache.tools.ant.Target.performTasks(Target.java:369)

        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)



Which I take to mean that the svnClientAdaptor jars files are out of
date.


So which version of the client adapter works with which version of
svnAnt? We're using Subversion v1.2 on the server.


I know I could just use the command line interface (e.g. get rid of the
client adapter) but then the task run very slowly....I ran an svn export
from a local working copy to a local export folder on a 100 MB
repository and it was still running after 15 minutes, whereas using the
command line directly or using TortoiseSVN it took about 2 minutes.


To deploy, I've put the jars files in %ANT_HOME%/lib and the DLLs in my
PATH (on windows)


Thanks


Tim

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
Received on Fri Jan 13 20:01:03 2006

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.