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

[Subclipse-users] Missing 'javahl' dependencies on the classpath !

From: Erik Andersson <kirean_at_gmail.com>
Date: Wed, 15 Jun 2011 09:43:52 +0200

Hi

I was about to try the fix for:
http://subclipse.tigris.org/issues/show_bug.cgi?id=828.

So, I downloaded the
http://www.kasisoft.com/hudson/job/svnant/lastSuccessfulBuild/artifact/svnant/build/svnant-1.3.2dev-5003.zipand
replaced all my jars with the one's from the zip.

To test I've created this really simple example:
<?xml version="1.0"?>
<project name="svn-test" basedir="." default="getWcVersion">

  <property name="lib.dir" value="lib" />

  <!-- path to the svnant libraries. Usually they will be located in
ANT_HOME/lib -->
  <path id="svnant.classpath">
    <fileset dir="${lib.dir}">
      <include name="**/*.jar"/>
    </fileset>
  </path>

  <!-- load the svn task -->
  <typedef
      resource="org/tigris/subversion/svnant/svnantlib.xml"
      classpathref="svnant.classpath"
      />

  <target name="getWcVersion" description="--> get the Subversion version">
    <!--echoproperties/-->
    <svn>
      <wcVersion path= "." />
    </svn>
    <echo message="${revision.max-with-flags}" />
  </target>

</project>

When I try to build I get:
>ant
Buildfile: /home/erik/svnant-test/build.xml

getWcVersion:
      [svn] Missing 'javahl' dependencies on the classpath !

BUILD FAILED
/home/erik/svnant-test/build.xml:23: Cannot find javahl, svnkit nor command
line svn client

Total time: 0 seconds

How can I fix? What should I check?

If I change:
    <svn>
      <wcVersion path= "." />
    </svn>
to:
    <svn javahl="false">
      <wcVersion path= "." />
    </svn>

I get this instead:
>ant
Buildfile: /home/erik/svnant-test/build.xml

getWcVersion:
      [svn] Deprecated attribute 'javahl'. This attribute will disappear
with SVNANT 1.3.2. Use svnSetting instead.
     [echo] 12M

BUILD SUCCESSFUL
Total time: 0 seconds

I have no local changes so the bug isn't fixed (if I'm doing it right)

Any help/pointers is highly appreciated.

I have also tried the same stunt on svnant 1.3.1 with the same result. If I
download and try with fresh svnant 1.3.0 it works, but with the bug still
there of course..

Cheers / Erik

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2766076

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-06-15 14:30:09 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.