Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 280339 - [publisher] Allow quoting of spaces in .product arguments
Summary: [publisher] Allow quoting of spaces in .product arguments
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M2   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 287751 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-15 15:59 EDT by Andrew Niefer CLA
Modified: 2009-08-28 16:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2009-06-15 15:59:10 EDT
See bug 162075.  PDE supports quoting in the arguments specified in the .product file.  The publisher does not handle this.

For example:
-name "My Cool App"

See pde.build's ProductGenerator.createLauncherIniFile for tokenization.  

Publisher's ProductFileAdvice.getProgramArguments and getVMArguments need to be fixed.
Comment 1 Andrew Niefer CLA 2009-08-27 10:05:32 EDT
*** Bug 287751 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Niefer CLA 2009-08-28 16:04:53 EDT
Done.  Implemented a QuotedTokenizer, used it from AbstractPublisherAction.getArrayFromString