Removing directories and checking out a fresh repository before a build...

"Aquil H. Abdullah" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hello All,

I've recently deployed CC in both a Windows and Linux environment, and I've
found all the things that were easy to do under Linux a smidgen more
difficult under Windows.  So here is my first dilemma...

Before I start the Official Nightly Build I like to remove the project/${
project.name} directory and then use svn to check out a pristine version for
the revision that is going to be built.  Under linux I was able to do this
with the following elements in the config.xml file:

    <bootstrappers>
      <execbootstrapper command="/bin/rm" args="-rf ${cc.dir}/projects/${
project.name}" />
      <execbootstrapper command="/usr/bin/svn" args="co -q file:///fs/svn/${
project.name}/trunk ${cc.dir}/projects/${project.name}" />
    </bootstrappers>

Now, I do have UnxUtils installed on the Windows build system, so it would
be possible for me to perform the rm step. I guess we could also perform the
svn step as well, I was just wondering if anyone had a more Windows like
method for performing such operations?

Thanks.

-- 
Aquil H. Abdullah
[email protected]

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
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.