History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-15128
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Eugene Zhuravlev
Reporter: Yegor Yarko
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

GeneralCommandLine does not properly handle arguments with \ at the end

Created: 12 Feb 07 22:04   Updated: 06 Dec 07 18:52
Component/s: None
Fix Version/s: Selena 7.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,697
Fixed in build: 7,569


 Description  « Hide
Property values are passed to java via -D parameter and surrounding the full string with quotes, however trailing "\" will escape the quote and, thus brake the command line.

e.g. while trying to mimic IDEA build, I set up jdk.home.idea_jdk to something like c:\Program Files\Java\jdk1.5.0_08\ and got error: java.lang.NoClassDefFoundError: XP ...
for command line like:
java.exe ... "-Djdk.IDEA jdk.home=c:\Program Files\Java\jdk1.5.0_08\" "-Dos.name=Windows XP" ...

Seems, we should consider various escaping issues...



 All   Comments   Work Log   Change History      Sort Order:
Eugene Petrenko - 21 Nov 07 12:27
Actually under windows \" - means escaped quote thus command line becomes broken