Re: newbie questions for using cruisecontrol, svn, and xcode

Thomas C Amundsen III <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <1241842428.5826.4.camel@avalokiteshvara>
On Fri, 2009-05-08 at 17:27 -1000, Chris Taclas wrote:
> Hi everyone,
> 
> 2) Updating from SVN
> From my understanding, the SVN child of the modificationset tag looks
> at the svn repository and checks to see if there are any changes. Does
> this tag actually download the new code, or is there another step
> required? Some of the examples I've seen online use a command in an
> Ant script to download the code, so this leads me to think that the
> stuff in the config.xml file is not capable of downloading the new
> code. Is this true?

I'm not 100% sure if it is possible. But, I can tell you that I am not
checking out code from SVN within config.xml. I am doing that in
cc-build.xml. Here is an example of how it will look:

-------------------------------------------------------------------------
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml"
classpath="svnant.jar"/>

<svn username="amundt" password="tack3toM">
  <checkout url="svn
+ssh://attu.cs.washington.edu/projects/instr/09sp/cse403/cse403g/Nestor/" destPath="Nestor"/>
</svn>
-------------------------------------------------------------------------

This assumes that you have `svnant.jar' `svnClientAdapter.jar' and then
the jars for either javahl or svnkit in your ~/.ant/lib or somewhere on
the classpath. I hope that helps.

- Tom


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
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.