Bug 268711 - Arguments set in target are not honoured on launch
Summary: Arguments set in target are not honoured on launch
Status: RESOLVED WORKSFORME
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 01:07 EDT by Ian Bull CLA
Modified: 2009-03-16 11:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Bull CLA 2009-03-16 01:07:30 EDT
VM args specified on the arguments tab in the target definition are not honoured on launch.  This can be seen by putting a breakpoint in AbstractPDELaunchConfiguration#launch, and looking at the vmargs.
Comment 1 Frederic Fusier CLA 2009-03-16 05:41:06 EDT
May you precise the build ID and change the version accordingly (I doubt this is a 4.0 version, isn't it?)
Comment 2 Darin Wright CLA 2009-03-16 09:22:44 EDT
The args only set on newly created launch configurations - they are not set on each launch. (This has always been the case, as indicated by the description at the top of the tab: "The values below are used to initialize program and VM arguments on new PDE launch configurations").

This is not done dynamically, as users may want explicit args as set in the launch configuration. If we explicitly associated a launch config with a target, I could imagine having an option (check box) to synch these all the time - i.e. just use the args specified by the target.
Comment 3 Ian Bull CLA 2009-03-16 11:21:26 EDT
(In reply to comment #2)
> The args only set on newly created launch configurations - they are not set on
> each launch. (This has always been the case, as indicated by the description at
> the top of the tab: "The values below are used to initialize program and VM
> arguments on new PDE launch configurations").

Thanks for the clarification Darin.