Sourceforge daily builds
I currently mantain an open-source project hosted in SourceForge. My project is written in Java using ANT build scripts. (Ant has a few extensions installed, but let's ignore that for now.)
Unfortunately, there seems to be no easy way to automatically generate daily builds. Is there any workaround I can use. Here is what I want:
- It should always use the most recent SVN version.
- It should build it.
- It should publish it online. If it fails, it should publish the error report.
- These tasks should be done automatically.
How can I do this? How can I emulate automatic daily builds of a project hosted in SourceForge?
As far as I understood your problem what you need is a Continuous Integration tool. It will pool the SCM for you, start a build and publish/store the error report in case of failure.
My favorite one is Hudson:
I think SF has a hook for emails on commits.
I would imagine that you could trigger off of that.
Alternatively a process that checks the latest revision every hour (or whatever period you want) using (svn up) would be enough to trigger a build? (keep a record of the last known built revision and if the current revision if different, then trigger a build)
I am not familiar with them, but I suspect third party tools (CI/Continuous integration) to do builds have a way of determining a build trigger event from SVN.