ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: using input task with file instead of message
Date Thu, 22 Jan 2004 10:59:23 GMT
Use loadfile:
  <loadfile property="message" srcfile="license.txt"/>
   <input
    message="${message}${line.separator}Is this ok (y/n)?"
    validargs="y,n"
    addproperty="license.ok"
  />
Peter
Jason Novotny wrote:

>
> Hi,
>
>    According to our lawyers, we need to distribute a license agreement 
> that gets displayed before the software can be used. I want to simply 
> display our license which is stored as a plain text file and then say 
> something like: Hit yes or no using the input ant task. Any ideas how 
> to do this, without having to duplicate our license within the 
> build.xml file?
>
>    Thanks, Jason
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message