(Between hurricanes, customer crises and sick kidlets, I've finally been
able to turn my attention back to this project)

I'm having a problem with the nightly build, specifically with the maven.bat
file throwing "invalid directory" errors when it runs the FIND command

If I run the offending command in it's own batch file (so I can see the
echo)

------------
DIR "%MAVEN_HOME%" /AD | FIND /I /C "%MAVEN_HOME%" > nul
---------

I see this as the output:
C:\Temp>DIR "c:\tools\maven" /AD   | FIND /I /C "c:\tools\maven"  1>nul
The directory name is invalid.

Commenting out the offending block in maven.bat resolves the issue.
REM -- Look for MAVEN_HOME, and make sure it exists
REM if "%MAVEN_HOME%" == "" goto ErrNoEnv
REM DIR "%MAVEN_HOME%" /AD | FIND /I /C "%MAVEN_HOME%" > nul
REM IF errorlevel 1 goto ErrNoDir

Do I need to report this as a bug or is it "user error"? 

Thanks, L.
 
 
 
___________________________________________________________________________
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and may contain confidential 
and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to