Hi Chuck,
Use an "apply" task with "parallel" and "relative" set to "true" and set
a value for "dir". Like this:
<apply executable="svn" dir="directory-with-svn-files" parallel="true"
relative="true">
<arg line="add --force"/>
<fileset dir="directory-with-svn-files" includes="*"/>
</apply>
Daniel
Chuck Holzwarth wrote:
If you have checked the destination directory out from subversion, you should
be able to create a target where you use the contrib var to override the
basedir property and add the file. When you return from the antcall your
basedir will revert to what it was before and you can continue your compile.
Thank you,
Chuck Holzwarth
----- Original Message ----
From: "Ghodgaonkar, Parag" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, December 14, 2007 4:19:11 PM
Subject: Svn add command with force
Hello everyone,
I am relatively new to Ant and am trying to do an svn add as part of my
build script.
I can force svn to add recursively using the following command
"svn add * --force".
Unfortunately, I am not in the same directory that I need the add to
work on. It tries to do the add in the current directory, but I want
it
to run in a different location that's under version control.
Anyone come across something like this?
Any help is really appreciated.
Regards,
Parag
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]