Help coderanch get a
new server
by contributing to the fundraiser
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CruiseControl SVN plugin not picking up new files?

 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have CruiseControl 2.7 running, and have set up a configuration file that has an svn plugin configured as so:

<plugin name="svn" localworkingcopy="${svnLocalCopy}" property="svnUpdate"
/>

I then utilize that plugin within a specific project like so:
<modificationset>
<svn />
</modificationset>

CruiseControl is appropriately triggering our builds when a file changes in the repository. However, if we add a new file to the repository, the SVN plugin is not picking it up.

I can tell via the SVN command-line that the file is in the remote repository, using svn status -u. How do I need to configure my build process to recognize those new files?
 
Tina Coleman
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found my own answer, after seeing a thread on comp.java.cruise-control.user: the svn plugin only deals with checking to see if there's been a modification. It doesn't do the actual update.

Current intent is to add an additional step to my schedule set to retrieve the files from subversion.
 
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, The CruiseControl detects modification and doesn't download the latest ones.
We have to have ant script to run once the modification detected.

1.Ant script should have dependency target to dowload the latest files and start the build
 
Evildoers! Eat my justice! And this tiny ad's justice too!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic