Questions tagged [svnant]

SvnAnt is a third-party task for Apache Ant that provides an interface to Subversion revision control system.

SvnAnt is a third-party task for Apache Ant that provides an interface to Subversion revision control system.

55 questions
0
votes
0 answers

SVN ant task to merge

I have to use svn ant task to merge development branch to the trunk. Is there as simple svn ant command to do that?
nasaa
  • 2,701
  • 8
  • 47
  • 76
0
votes
1 answer

svnant update single file with error skipped

I want to update the content of a file from my local folder to svn, note that the file exists on svn. first I am checking out with depth empty. then I run update on the script
Moudiz
  • 7,211
  • 22
  • 78
  • 156
0
votes
1 answer

NullPointerException calling SvnAnt's Copy.setRevision

I'm trying to perform SVN copy operation (creating a tag from a branch) using Java. I'm getting the below exception. "Exception in thread "main" java.lang.NullPointerException at org.tigris.subversion.svnant.SvnFacade.getFacade(Unknown Source) at…
0
votes
1 answer

Echo a single line of an SvnAnt error message using Ant

If the SvnAnt has an error, the Ant task will show all of it on the console.
Moudiz
  • 7,211
  • 22
  • 78
  • 156
0
votes
0 answers

"attribute 'file' is not a file" error using SvnAnt

What wrong with my update?
Moudiz
  • 7,211
  • 22
  • 78
  • 156
0
votes
1 answer

"Error validating server certificate" on SVN checkout using SvnAnt

I am new to Ant scripting. I am trying to checkout from an SVN repository using an Ant script. Here please find my Ant script below. I am using Jenkins. Created a new project and set invoke ant build given the path of the ant file(ant target is…
0
votes
1 answer

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://username@10.10.10.10/media/repository/files) to a server folder (var/httdocs/files)
Rider
  • 863
  • 1
  • 11
  • 16
0
votes
2 answers

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…
0
votes
1 answer

Check if SVN checkout with SVNANT was successful or failed

I am not able to use something similar to resultproperty="checkout.res" while checkout from SVNANT, which can used in "exec". Below is the snippet of my ant build file.
0
votes
3 answers

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…
dimba
  • 26,717
  • 34
  • 141
  • 196
0
votes
1 answer

Hudson SVN Create Branch from Trunk Revision

I am trying to create a Hudson Job that does the following. Check out Code from trunk, Compile. If Compilation is successful, create a branch and copy from Trunk to Branch. Create war with the checkout code and deploy it in container. My problem…
Leela Addagulla
  • 181
  • 1
  • 1
  • 10
0
votes
1 answer

svnant failing when trying to tag

I want create an ant build that creates a reference tag to a given project, but I'm getting an error: Cannot find javahl, svnkit nor command line svn client My build.xml:
0
votes
0 answers

download with projectname in svn ant

Hi I wanted to download one javaproject form svn repository. for that I am using ant script to getch the project from the URL. Following is my ant script.
0
votes
1 answer

compare 2 tags using ant task for svn

I am writing a build script in ant to create a .war file. I have successfully done it but now I need to compare the last tag with the newly generated tag using ant task. tagdiff is mentioned but I have not been able to find out any example on how to…
0
votes
0 answers

eclipse antsvn export task fails

I’m creating the following build file, in order to retrieve my project from the SVN repository:
user1802439
  • 2,651
  • 3
  • 18
  • 21