ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mitchell Ackermann" <>
Subject Re: Accept Input Parameter During Execution Time
Date Tue, 21 Aug 2001 18:22:23 GMT
pretty simple...

ant -Dfilename=<name of file>

<project name="x" default="delete-file" basedir=".">
  <target name="delete-file">
    <delete file="${filename}"/>

Mitchell Ackermann

----- Original Message ----- 
From: <>
To: <>
Sent: Tuesday, August 21, 2001 1:04 PM
Subject: Accept Input Parameter During Execution Time


I would like to know if there is any way that I can pass in an input
parameter to ant during execution time (e.g. pass in the filename to be
deleted by ant,etc.).  I would think this question should already be asked
by someone.  However, I cannot find it from the archive 8(

Thanks in advance


View raw message