I have a project (this is a maven project) in svn. After the project has been checked out I would like to run some small tasks automatically (eg. some of the subprojects must be build etc). Is it possible to add specific task to svn checkout?
Share
I think (and hope) that feature does not exist. It would be a serious security hole. (Imagine that you checkout an open source code from the internet and it formats your hard drive too.)
A workaround: create a batch file/shell script for your tasks and commit it to the root folder of your project (autorun.sh for example). After checkout you just have to run this script and it runs you tasks.
If the checkout takes too much time you can create an other shell script which checkouts your project and run the aurorun.sh from its root folder. Of course this script have to be on your machine before the checkout somehow.