File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes CruiseControl SVN plugin not picking up new files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "CruiseControl SVN plugin not picking up new files?" Watch "CruiseControl SVN plugin not picking up new files?" New topic
Author

CruiseControl SVN plugin not picking up new files?

Tina Coleman
Ranch Hand

Joined: Dec 12, 2001
Posts: 150
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

Joined: Dec 12, 2001
Posts: 150
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.
Karthik Rajendiran
Ranch Hand

Joined: Aug 13, 2004
Posts: 210
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


SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
 
 
subject: CruiseControl SVN plugin not picking up new files?
 
Similar Threads
How to Use VSS Ant tasks to get only last modified files?
Cruise Control and PVCS
Cruise Control with Subversion
Problem using import task of svnAnt
Setting up Cruise Control with SVN and Ant