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 22:03:23 GMT
Glenn McAllister wrote:

> 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

Sorry, you are probably actually thinking of ant.project.name.  At first
I thought you meant the file name, not the descriptive name of the project.

Glenn

Mime
View raw message