Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
Saloon Keeper
Posts: 22122
151
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.
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic