Re: Removing directories and checking out a fresh repository before a build...
Jani Mikkonen <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Im personally using git repositories and git has nice function called "clean", which allows me to remove all unversioned files. I run this command in publisher compositor chain as with exec so the source tree will be cleaning up of any build artifacts after all the build phases. Maybe it was my oversight somewhere but i was actually forced to do this since my build stages involve of modifying a checked out code (debian/changelog version number) and cc triggered git upgrade failed because the change of sourcecode == conflict in merge.. You could try that approach too and what you can add to your exec can be propably found in this thread in stackoverflow: http://stackoverflow.com/questions/239340/automatically-remove-subversion-unversioned-files ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get