svnant

How do I make svnant/svnkit prompt for a username/password

I have an Ant script that needs to checkout a directory from Subversion. This works using svnant/svnkit. However, Subversion access is authenticated, and I do not want to store my user password in a file. Can I make svnkit pop up a password dialog? Or even better, make it use the same credential caching that subversive/svnkit inside of...

How get a list of files under a subversion-url in ant?

I want with ant access a subversion-repository and get a list of files available under a specific svn-url like https://svn.myhost.de/repository/path/into/repo. I want to list all items, subdirectories or files, in some form I can work with later in the ant-file. A comma-separated list is fine, it can be input for the foreach-task of ant-...

use svnant without a username or password

I have checked out code using command-line SVN. I have an Ant build script that I want to run that will do a commit when its done. I'd like to use svnant, such as <svn svnkit="false" javahl="false" failonerror="true"> <commit dir="${dir}" message="${message}"/> </svn> but its not working and giving this error [svn] <Commit> st...

svnant - parent dir in server is not a working copy.

I want to checkout project, get the revision number, build jar with that number in menifest, on the server with a web interface. There are some other minor steps in the whole process, but that's the main goal. everything in the build script is working fine locally, but I always get stuck when it is done on the server. when I try to use s...

SVNAnt Through Proxy

I just installed Ant for the first time today and have been playing with it. I am behind a proxy and I feel this is the source of my problems. I have managed to successfully create an ant build file which gets a web page over HTTP through a proxy without any problems. However, when I try to use SVNAnt to export a repository over HTTP thr...

ant svntask retrieving revision message

Hello, I'm using ant with svntask to update a repository before I build an application. At the end of the build, an email goes out with the results of the build. It would be very helpful to include the svn revision number and message in that email, so if the build breaks, we know which revision to review. I am currently displaying only...

Why are my svn ant tasks failing?

Hello, I am trying to run a build script and I keep getting errors during a specific svn task. When I try to build the target from the command line, I get an authentication error. When I run the build from flex builder I get an error saying "please get a newer Subversion client". From what I can tell there is a root issue that can be se...

SVN-ANT Error - "is not a working copy"

I read related question before submitting this question but wasn't able to find the exact question that has the same issue as mine. I am trying to setup some automation on a windows box. I have ant target to do update and I have used eclipse as my java development editor. Windows box have svn client (TortoiseSVN) installed and I used ...

SVNAnt Trilead jar missing

Hey all, I downloaded and installed SVNAnt 1.3.0, Ant 1.8, and Java 1.6. When I try to do a simple checkout via https, I get a java.lang.NoClassDefFoundError: com/trilead/ssh2/InteractiveCallback. I'm not sure why it's using an ssh class since I'm using https. Trilead SSH for Java doesn't seem to be supported or distributed anymore,...

CruiseControl modificationSet fails to execute when svn points to a url

In my current CruiseControl setup I am running the following target: <modificationset quietperiod="30"> <svn RepositoryLocation="http://my/url/repo/trunk" /> </modificationset> I do a simple checkin of a blank text file and subsequently the messages I receive in the CruiseControl log are as follows: [cc]May-13 15:53:56 Projec...

"Attempted to lock an already-locked dir" using SVNANT

I'm using SVNANT for checking out my project directory on my Windows XP machine. The first time I've used tortoiseSVN for the check out.. as result I obtained an error message relative to the incompatible versions so I had to fix it using a downgrade script. Now,I can't use tortoiseSVN for any operation on my project folder because of th...

change svn used by svnant

I've installed a newer version of svn on my system in ~my/home/bin and put the path to it. So now from command line a newer version of svn is used instead of the old one, located in /usr/bin/. However svnant keeps using an older svn in /usr/bin. How can I tell svnant to use a newer svn? ...

Checkout from subversion through svnANT is not working

build.xml file is like: I have installed JDK 1.6.0, apache-ant -1.8.1 on my system. Using Subversion I checkout the SVNAnt project located at: http://subclipse.tigris.org/svn/subclipse/trunk/svnant and put at ANT_HOME. Also download svnant.jar, svnClientAdapter.jar, svnjavah...

Can't get svnant tasks to work with ant 1.7.1, svnant 1.2.1, java 1.6.0_17, and svnkit on windows xp

I'm trying to use svnkit to access subversion from the svnant ant tasks with the following result: BUILD FAILED /path/to/build.xml:49: Cannot find javahl, svnkit nor command line svn client at org.tigris.subversion.svnant.SvnTask.getClientAdapter(Unknown Source) at org.tigris.subversion.svnant.SvnTask.execute(Unknown Source) I...

svnant command to copy files from an ssh repository to a sever?

Hi is there anybody who knows how to write the copy command for svn-ant or just svn to copy files from an ssh repository(svn+ssh://[email protected]/media/repository/files) to a server folder (var/httdocs/files) ...