Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 37638 - Query Application Parameters in Run Config
Summary: Query Application Parameters in Run Config
Status: RESOLVED DUPLICATE of bug 36538
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: All other
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 05:25 EDT by Jan Schweizer-Baltes CLA
Modified: 2003-05-15 15:09 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 Jan Schweizer-Baltes CLA 2003-05-15 05:25:19 EDT
Hello,

I'd like to have a method of setting a parameter in the run-time-config so that 
this parameter will be queried before the application launches.

Example:

on the "(x)= Arguments" Tab I enter parameters

--file=?

And when I hit run a message box pops up with something like >>What value to 
you want for "file" ?<< so i dont have to go through all the pages setting up a 
different parameter for parameters that change quite often...

I hope someone understands what i need...

Thank you,

Jan Schweizer
Comment 1 Jerome Lanneluc CLA 2003-05-15 07:30:21 EDT
Moving to JDT/Debug
Comment 2 Darin Wright CLA 2003-05-15 09:07:24 EDT
Jared, this looks like a launch variable.
Comment 3 Jared Burns CLA 2003-05-15 11:01:41 EDT
This variable already exists (see Bug 36538). We just need to add support for
variables to the launch config tabs in Debug and JDT Debug.

*** This bug has been marked as a duplicate of 10035 ***
Comment 4 Jan Schweizer-Baltes CLA 2003-05-15 11:25:51 EDT
Hm, I don't think the duplicate is quite what I meant...

What I do like to have is a way to specify wich command-line parameters of a 
given command line are to be asked from the user when the application starts.
If I only could remember where I saw this feature before...

It's like a query in MS Access where you specify a parameter to be entered on 
execution like in SELECT * FROM test WHERE a= SELECTME; and SELECTME is no 
column of the table test... Access will pop up a little message box asking 
the "missing" parameter.

Or like the templating feature in IntelliJ IDEA that allows for the file 
templates to contain variables (like ${NAME} ) wich will then be asked from the 
user at file creation.

In that way I want to specify parameters in the command line like --outfile 
${outfile} so that i can easily write to different files on each program run...

I hope someone understands me...
Comment 5 Jared Burns CLA 2003-05-15 11:40:51 EDT
Can you please explain what the variables provided by Bug 36538 don't provide
that you need?
Comment 6 Jan Schweizer-Baltes CLA 2003-05-15 15:09:22 EDT
Sorry, you're absolutely right. I have no idea what duplicate bug i was 
reading earlier today.

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