File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CruiseControl SVN plugin not picking up new files?

 
Tina Coleman
Ranch Hand
Posts: 150
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Karthik Rajendiran
Ranch Hand
Posts: 217
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic