facebook

string_prompt default in program arguments

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #248551 Reply

    steve@bfdp
    Member

    Help, please…

    I would like to use ${string_prompt} to get program arguments:

    ${string_prompt:User} ${string_prompt:Password}

    works fine, except that it displays whatever value was typed in last. Is there a way to set a default value, and if so, how do I do that?

    Thanks…

    #248631 Reply

    Riyad Kalla
    Member

    Can you give us some information as to what you are doing? I really have no idea what you are editing, or what type of program you are writing so I don’t understand the question.

    #248654 Reply

    steve@bfdp
    Member

    Riyad-

    I am working on a Java project. I select Run.Run, select the Java Application, then click Arguments. I want to prompt for the args passed to void main(String[] args), which works fine, but I can’t set defaults on the prompts.

    -Thanks, Steve

    #248656 Reply

    Riyad Kalla
    Member

    Ahh ok, sorry I don’t have experience using this functionality. It’s a base Eclipse feature if you are on any of the Eclipse news groups you should be able to ask.

    Also did you check the docs to see if it is covered there?

    #248657 Reply

    steve@bfdp
    Member

    Riyad-

    I realized that was a base feature after I sent my reply… MyEclipse integrates so nicely, I forgot there is a difference! I’ve looked quite a bit; I post a request at the Eclipse site.

    -Thanks, Steve

    #248665 Reply

    Riyad Kalla
    Member

    Now I’m curious what the solution is, keep us posted with what you find out.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: string_prompt default in program arguments

You must be logged in to post in the forum log in