« Return to Thread: ant and svn

ant and svn

by jpyork :: Rate this Message:

Reply to Author | View in Thread

Does anyone use the svn task in there ant scripts?  I am trying to use svn update in my ant script and it just does not seem to work.

this is what I have in my script:
<target name="svn">
     <svn username="mine" password="1234">
              <update dir="http://1.2.3.4/repos/address/I/want/updated"/>
      </svn>
</target>


And this is what it says when the step is run:

Svn: Updating
update -r HEAD /Location/on/computer/running/script http://1.2.3.4/repos/address/I/want/updated
notify.skipped

I have one master script above all my small projects and this is where I have the target thinking that if I have it in the top level, it will grab any updates below it.  I update and commit changes to files below the top level and they are not grabbed.

 « Return to Thread: ant and svn