ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <gl...@somanetworks.com>
Subject Re: ant buildfile name variable
Date Thu, 08 Mar 2001 21:59:05 GMT
abonjour@Boldtech.com wrote:

> Hey all,
>
> I am writing a "help" target in my buildfile and want to be able to
> reference the name of the buildfile.
>
> Is there a variable that holds this? ${ant.buildfile.name}????
>
> I want to do something like
> Usage: ant -buildfile ${ant.buildfile.name} stuff stuff and more stuff
>
> Thanks,
>
> Alex

See http://jakarta.apache.org/ant/manual/index.html , Built-in Properties
section for a list of available properties.  The one you are looking for
is ant.file.

Glenn

Mime
View raw message