I apologize in advance for any animosity this post may generate. This is a subject that has come up time and time again on a number of mailing lists, and frankly it's getting annoying. First, Maven is not a Unix tool, not did it grow up in the "Unix World". It is a Java tool, and has been since day one (as is its predecessor, Ant). This means that it will be run on a number of different operating systems, not just UNIX.
What does this mean for processing files and paths? 1) Files can have spaces in the filename 2) The file seperation character depends on the underlying operating system 3) The path seperation character depends on the underlying operating system I would consider any code which fails to take into consideration these simple truths as defective. Forcing Windows users to mangle their filenames in order to satisfy UNIX-centric assumptions is not the answer. Fixing the code is. Thank you, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory DTS Distributed Server Services JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 "Andrew Kreps" <[EMAIL PROTECTED] il.com> To "Maven Users List" 08/14/2006 06:43 <users@maven.apache.org> PM cc Subject Please respond to Re: [m2] Configuring the scp "Maven Users executable List" <[EMAIL PROTECTED] he.org> On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote: > Exit code 1 - 'c:\Program' is not recognized as a command, application > or batch file. > Have you tried the age old trick of changing long filenames to their short counterparts? C:\Program Files is usually also accessable by using C:\progra~1, which avoids the space character problem you appear to be having. Seeing as maven grew up in the Unix world, you may also want to try escaping the spaces (\ ) or using forward slashes instead of back slashes for the directories. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]