Hi Stefan,
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
>
> No, you create it as
>
> #inputp.properties
> Enter\ Your\ Name=Rambius Parkisanius
>
> At least for JDK > 1.1.
I didn't knew that. However, I think I will use
-propertyfile option, because in my custom task (i am
writng ant task for jazzy spell checker) I have
prompts like this:
StringBuffer prompt = new StringBuffer();
prompt.append("Press C/c to correct,\n\t");
prompt.append("C!/c! to correct and replace all
occurrences,\n\t");
prompt.append("I/i or Enter to ignore,\n\t");
prompt.append("I!/i! or Enter to ignore all
occurences,\n\t");
prompt.append("or A/a to add to the dictionary:");
input.setMessage(prompt.toString());
String spellChoice = "spell.choice"+(spellChoiceId++);
input.setAddproperty(spellChoice);
So the prompts contains lots of spaces and lots of
new lines "\n" so it is possible but very ugly to
escape them in tje properties file.
Regards and thanks
Ivan
>
> Cheers
>
> Stefan
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]