[Subclipse-users] Re : [Subclipse-users] problem exporting many projects sequently using svnant
From: rodrigue lagoue <rlagoue_at_yahoo.fr>
Date: Wed, 2 Apr 2008 07:39:43 +0000 (GMT)
Thank you Kevin for the answer i removed the "antcall" and it works now...
Rodrigue Lagoue Njinthe
----- Message d'origine ----
De : Kevin Glynn <kevin.glynn@scorm.com>
À : users@subclipse.tigris.org
Envoyé le : Mardi, 1 Avril 2008, 23h31mn 04s
Objet : Re: [Subclipse-users] problem exporting many projects sequently using svnant
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@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@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact. http://mail.yahoo.fr
|
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.