Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

SVN ANT with Hudson

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using Jenkins to check out the code from SVN Repository and svn ant to commit the same into SVN Repository.
When I try to commit even an empty directory,it gets locked while committing like below and doesn't commit any file or directory.

[svn] Deprecated attribute 'svnkit'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead.
[svn] Deprecated attribute 'username'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead.
[svn] Deprecated attribute 'password'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead.
[svn] Missing 'javahl' dependencies on the classpath !

<svn svnkit="true" username="svnuserName" password="svnpassword">
<add dir="FOLDER_1" force="true" recurse="true" />
<commit dir="FOLDER_1" message="Message1 "/>
</svn>

Can someone please help with the same
Thanks in Advance.
 
Bartender
Posts: 20842
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read this: http://subclipse.tigris.org/wiki/JavaHL ?

svnant appears to use a lot of the same infrastructure that the subclipse Eclipse plugin does. And speaking from experience, javahl can be a significant annoyance.

Beyond that, according to the warnings, you're using an obsolete set of attributes on the "svn" Ant task and should investigate replacing them with the newer settings.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!