Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » external tool configuration(how to add user params)
external tool configuration [message #1011498] Tue, 19 February 2013 11:39 Go to next message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

Hello,
I'm using external tools to start a number of similar environments (application where I'm testing my scripts which I write in CDT)
command line to start this environments contains only one difference:
host_application.exe one_param second_param ... my_script xxx[n]yyyy

there are too many envs to create a reference on each one.
the prefer solution is a creating one external tool configuration and pop up a window to ask user the number as parameter [n]

is this possible in CDT?
Re: external tool configuration [message #1011518 is a reply to message #1011498] Tue, 19 February 2013 12:31 Go to previous messageGo to next message
David Wegener is currently offline David Wegener
Messages: 1334
Registered: July 2009
Senior Member
In the External Tools Configurations, there is an Arguments box where I'm guessing you are placing the arguments. Notice the Variables... button at the lower right. You can open this to introduce variables to the arguments. One of the variables is string_prompt. This will prompt the user to enter a value when the launch is performed.

Is this what you are looking for?
Re: external tool configuration [message #1011575 is a reply to message #1011518] Tue, 19 February 2013 15:41 Go to previous messageGo to next message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

yes! that is.
thank you very much!
Re: external tool configuration [message #1023822 is a reply to message #1011575] Mon, 25 March 2013 04:42 Go to previous message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

Hello,

One more question about external tool
I need to map various network drive (for this external tool)
depends of user input which I successfully used follow advice above.
Is this possible ?
Previous Topic:Debugger issues with input functions
Next Topic:Setting a relative path to the preferences customization file.
Goto Forum:
  


Current Time: Fri Jul 25 21:18:19 EDT 2014

Powered by FUDForum. Page generated in 0.05779 seconds