Skip to main content


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 16:39 Go to next message
Ernst Maurer is currently offline Ernst MaurerFriend
Messages: 29
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 17:31 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
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 20:41 Go to previous messageGo to next message
Ernst Maurer is currently offline Ernst MaurerFriend
Messages: 29
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 08:42 Go to previous message
Ernst Maurer is currently offline Ernst MaurerFriend
Messages: 29
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: Thu Sep 26 16:27:34 GMT 2024

Powered by FUDForum. Page generated in 0.04217 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top