Re: How to checkout code from svn in cruise control.
Julian Simpson <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
On 7 June 2011 10:30, Sachin Gurumukhi <[email protected]>wrote: > Hi, > > > > I am having following queries . > > > > 1. How to checkout code from SVN in cruisecontrol > Why do you want to do this? When you create a new project? > 2. I have downloaded 3 jars as svn-clientadapter.jar, svn-javahlr.jar , > ant.jar. > > 3. I want to write a build.xml file which contains <svn> tag for checkout > and addition of these jar file. > > > I prefer using <exec> with the svn command-line application if it's going to run on a CI server. You generally need the command line app installed anyhow. J. > Any help in this will be of great help. > > > > I have tried following code. > > > > <project name="test-build" default="build" basedir="."> > > <!-- path to the svnant libraries. Usually they will be > located in ANT_HOME/lib --> > > <property file="build.properties" /> > > <path id="project.classpath"> > > <pathelement > location="${svnjavahlr.jar}" /> > > <pathelement > location="${svnant.jar}" /> > > <pathelement > location="${svnClientAdapter.jar}" /> > > </path> > > <!-- load the svn task --> > > <taskdef resource="svntask.properties" > classpathref="project.classpath"/> > > > > <!-- Rest of the build file code--> > > > > > > > > Let me know if it correct or not. > > > > > > Regards, > > Sachin > > > > DISCLAIMER ========== This e-mail may contain privileged and confidential > information which is the property of Persistent Systems Ltd. It is intended > only for the use of the individual or entity to which it is addressed. If > you are not the intended recipient, you are not authorized to read, retain, > copy, print, distribute or use this message. If you have received this > communication in error, please notify the sender and delete all copies of > this message. Persistent Systems Ltd. does not accept any liability for > virus infected mails. > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected] (+44) 207 183 0323 ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user