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

Re: [Subclipse-users] problem exporting many projects sequently using svnant

From: Kevin Glynn <kevin.glynn_at_scorm.com>
Date: Tue, 1 Apr 2008 16:31:04 -0500

There is a problem if you invoke svn ant via an antcall. More details here:

http://svn.haxx.se/subusers/archive-2008-01/0088.shtml

Don't do that, and you should be fine.

k

On Tue, Apr 1, 2008 at 7:29 AM, rodrigue lagoue <rlagoue_at_yahoo.fr> wrote:
>
> Hi all
>
> i'm starting to use svnant. I want to export a set of project from
> different link sequently (in a deployment process).. But after the first
> project is correctly exported, the following error occurs when trying to
> export the second project: "Cannot use javahl nor command line svn client" .
> But curiously, when i retrieve the project manually by executing the
> corresponding tasks, all work fine. That's mean that's not a problem with
> path or my repository setting, then each project can be exported when it's
> done alone.
>
> Here is the full output i can read on the console. Like you can see the
> first project in the sequence is exported correctly, but the second couldn't
>
> Buildfile: G:\dev\workspace\testantsvn\build.xml
> clean:
> [delete] Deleting directory G:\dev\workspace\testantsvn\lib
> init:
> [mkdir] Created dir: G:\dev\workspace\testantsvn\lib
> do-bao_utils:
> [echo] exporting bao-utils from url:
> http://www.myhome.com/svn/bao_utils/trunk/com.bao.util
> dist:
> svn.export:
> [echo] Exporting application files from svn repository:
> [svn] Using javahl
> Svn : Exporting
> export -r HEAD http://www.myhome.com/svn/bao_utils/trunk/com.bao.util
> G:/dev/workspace/testantsvn/bao-utils
> A G:/dev/workspace/testantsvn/bao-utils
> A G:/dev/workspace/testantsvn/bao-utils/.classpath
> A G:/dev/workspace/testantsvn/bao-utils/.project
> A G:/dev/workspace/testantsvn/bao-utils/.fatjar
> A G:/dev/workspace/testantsvn/bao-utils/lib
> A G:/dev/workspace/testantsvn/bao-utils/src
> A G:/dev/workspace/testantsvn/bao-utils/src/com
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/DateUtil.java
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/collection
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/collection/CollectionFactory.java
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/collection/CollectionUtil.java
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui
> A G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash/Splasher.java
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash/SplashWindow.java
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash/SampleApplication.java
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash/splash.properties
> A
> G:/dev/workspace/testantsvn/bao-utils/src/com/bao/util/ui/splash/splash.gif
> A G:/dev/workspace/testantsvn/bao-utils/build.xml
> notify.export
> [echo] ... finished exporting files from
> http://www.myhome.com/svn/bao_utils/trunk/com.bao.util.
> clean:
> init:
> [mkdir] Created dir: G:\dev\workspace\testantsvn\bao-utils\bin
> compile:
> [javac] Compiling 6 source files to
> G:\dev\workspace\testantsvn\bao-utils\bin
> deploy:
> [jar] Building jar: G:\dev\workspace\testantsvn\lib\bao_utils.jar
> [delete] Deleting directory G:\dev\workspace\testantsvn\bao-utils
> do-db4oadmin:
> [echo] exporting db4oadmin from url:
> http://www.myhome.com/svn/bao_utils/trunk/db4oadmin
> dist:
> svn.export:
> [echo] Exporting application files from svn repository:
>
> BUILD FAILED
> G:\dev\workspace\testantsvn\build.xml:55: The following error occurred while
> executing this line:
> G:\dev\workspace\testantsvn\svnTasks.xml:34: Cannot use javahl nor command
> line svn client
>
> Total time: 15 seconds
>
> Here is the peace of code of the build file i executed
> <target name="do-bao_utils" depends="init">
> <echo>exporting ${bao-utils} from url: ${bao-utils.svn.url}</echo>
> <antcall target="svn.export">
> <param name="svn.url" value="${bao-utils.svn.url}" />
> <param name="svn.exportPath" value="${bao-utils}" />
> </antcall>
> <ant dir="${bao-utils}" target="${target}" inheritall="true">
> <property name="master" value="true" />
> </ant>
> <delete dir="${bao-utils}" />
> <sleep seconds="10" />
> </target>
> <target name="do-db4oadmin" depends="do-bao_utils">
> <echo>exporting ${db4oadmin} from url: ${db4oadmin.svn.url}</echo>
> <antcall target="svn.export">
> <param name="svn.url" value="${db4oadmin.svn.url}" />
> <param name="svn.exportPath" value="${db4oadmin}" />
> </antcall>
> <ant dir="${db4oadmin}" target="${target}" inheritall="true">
> <property name="master" value="true" />
> </ant>
> <delete dir="${db4oadmin}" />
> </target>
>
> R. Lagoue
> ________________________________
> Envoyé avec Yahoo! Mail.
> Plus de moyens pour rester en contact.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-04-01 23:31:20 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.