When temp directory is missing or not writeable, error messages should state
that plainly somewhere
---------------------------------------------------------------------------------------------------
Key: SUREFIRE-573
URL: http://jira.codehaus.org/browse/SUREFIRE-573
Project: Maven Surefire
Issue Type: Improvement
Components: plugin
Affects Versions: 2.4.3
Environment: Cygwin on Windows XP Pro, maven 2.2.1, apache-tika-0.4,
JDK 1.6.0_16
Reporter: Jeff Cadow
Priority: Minor
Attachments: build.log
My TEMP and TMP environment variables were pointing to a directory I forgot to
recreate after rebuilding my machine.
When I invoked "mvn install" from the apache-tika-0.4 directory, I got the
following BUILD ERROR:
Error creating properties files for forking; nested exception is
java.io.IOException: The system cannot find the path specified
The Java stack trace that maven's -e switch dumped indicated that surefire was
trying to create a temp file, but didn't say where.
If I had seen "$TEMP/<filename>" or "/home/jcadow/TEMP/<filename>" in an error
message or stack trace, it would have saved me 2 days.
Attaching build.log, the output of "mvn -e install".
TO REPRODUCE:
Install maven 2.2.1, download apache-tika-0.4, rename your temp directory,
invoke 'mvn -e install' from apache-tika-0.4 base directory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira