Bug 19515 - [ExternalTools] External tool command that contain spaces in its path messed up the invocation of the external tool
Summary: [ExternalTools] External tool command that contain spaces in its path messed ...
Status: RESOLVED DUPLICATE of bug 18499
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-06-06 13:16 EDT by Robby CLA
Modified: 2002-09-18 13:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robby CLA 2002-06-06 13:16:58 EDT
When JavaCC is installed in C:\Program Files\JavaCC, then the command to
invoke it should be C:\Program Files\JavaCC\bin\javacc.
When executing it, the console displays:

'C:\Program' is not recognized as an internal or external command, operable
program or batch file.

I think this is due to the space in "Program Files". In Windows, one usually
enters the command with double quote as follows:

"C:\Program Files\JavaCC\bin\javacc" ...

I tried to put the quote in the "Tool Location" but Eclipse rejects it.

Now, oddly enough, if I don't focus any .jj file (using ${resource_loc} in
"Tool Arguments"), the console will display whatever JavaCC display if no
parameter is given (?). It means that it works if no parameter is given.
Comment 1 Robby CLA 2002-06-06 13:17:38 EDT
It's for F2 buid.
Comment 2 Simon Arsenault CLA 2002-06-06 15:13:49 EDT

*** This bug has been marked as a duplicate of 18499 ***