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

[Subclipse-users] SVN Ant task issue : Can't determine the user's config path

From: José Paumard <Jose.Paumard_at_orange.fr>
Date: Wed, 03 Dec 2008 15:03:01 +0100
Hello all,

I know this looks like a FAQ, but I stumbled upon a problem and I really dont see how can I solve it.

I have a very basic build.xml, and a task that has to perform an export from a SVN repository. I stripped it to the bare minimum, and still have this issue, when I execut the task, I get the following error :

export:
      [svn] <Export> started ...
      [svn] Bogus filename
      [svn] svn: Can't determine the user's config path
      [svn] <Export> failed !

BUILD FAILED

The lib directory holds all the jar from the SVN Ant tasks distrib, the SVN repository is a local one, d: is not a network mount or something odd, it a partition on my local HD. I can access this repo under the same account with TortoiseSVN without any problem. And yes, I have a Subversion dir in my HOME dir (Win XP), which looks ok to me.

Any hint will be much appreciated,

José

Here is the build.xml :

<project name="svn-test" basedir="." default="export">
 
    <!--  all properties are in build.properties -->
    <property name="lib.dir" value="lib"/>
    <property name="my-svn-repo" value="file:///d:/svn-repository"/>
   
    <property file="build.properties" />
   
    <!-- 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="export">
        <svn>
            <export srcUrl="${my-svn-repo}/dev" revision="HEAD" destPath="distrib" />
        </svn>
    </target>

</project>

Received on 2008-12-16 20:11:14 CET

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.