Tests leave files that release number plugin won't allow

2008-09-18 Thread John Coleman
I have a problem whereby my tests create log files in the project root and then sometimes fail to delete them when the test completes. The build number plugin doesn't like this:- [INFO] Cannot create the build number because you have local modifications : [ratemanager2\unit_test.log:unknown]

Re: Tests leave files that release number plugin won't allow

2008-09-18 Thread Nick Stolwijk
You could place them in the target directory (ie. target/test-logs) or you could ask the Java IO File object for a temporary file. (Under Linux this would be created in /tmp, so no rights issues there.) Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem