Re: How to checkout code from svn in cruise control.

Adam Bruss <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
The svnbootstrapper updates files at project bootstrap time.

For example:

<project ...>
                ...

                <bootstrappers>
                                <svnbootstrapper file="${svnjavahlr.jar}"/>
                                <svnbootstrapper file="${svnant.jar}"/>
                                <svnbootstrapper file="${svnClientAdapter.jar}"/>
                </bootstrappers>

                ...
</project>

The files will be updated before the build begins. This assumes the files are already under version control.

Adam Bruss
Senior Development Engineer
AWR Corporation/Simulation Technology & Applied Research
11520 N. Port Washington Rd., Suite 201
Mequon, WI  53092  USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: [email protected]
W: http://www.awrcorp.com<http://www.awrcorp.com/>

From: Sachin Gurumukhi [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 4:30 AM
To: [email protected]
Subject: [Cruisecontrol-user] How to checkout code from svn in cruise control.


Hi,



I am having following queries .



1. How to checkout code from SVN in cruisecontrol

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.



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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.