Showing posts with label ant. Show all posts
Showing posts with label ant. Show all posts
Saturday, 14 May 2011
Operating in Multiple Repository within ant
Ant script can not change its base directory after it is invoked, for that reason if you are handling two repositories under same directory it would be wise to write a secondary wrapper script.
Friday, 8 April 2011
Ant task with wildcard expansion for svn.
Ant is a popular tool among Java developers but one can use it for some other generic tasks. For example using svn as a task inside an ant script is provided by a library. However wildcard expansion won't work under this task. One way to over come this to use an exec task as follows (in windowz):
<exec executable="cmd.exe">
<arg line=" /C svn --force delete pathtofiles\*.dat
--username=username --password=password">
</arg>
</exec>
Subscribe to:
Posts (Atom)
