ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: [PATCH] Suggestion for new commandline switch -targets (II)
Date Tue, 22 Aug 2000 15:40:45 GMT
Marcel,

I have committed this patch with a few minor changes.

I changed the command line option from -targets to -projecthelp. I hope to
add a <help> tag to the project as a nested element and include that in this
output.

I also removed the test for the null description. This means that currently
all targets are displayed. It seemed more useful that way. That leaves the
problem of hiding "internal" targets.

Conor


> -----Original Message-----
> From: Marcel Schutte [mailto:marcel@schutte.com]
> Sent: Tuesday, 15 August 2000 1:34
> To: ant-dev@jakarta.apache.org
> Subject: [PATCH] Suggestion for new commandline switch -targets (II)
>
>
> Here is a version that depends on the presence of description
> attributes on
> targets. On ant's build.xml with some descriptions added the output is:
>
> ==================
> Buildfile: build.xml
> Targets:
>  -dist       Creates the distribution
>  -javadocs   Creates the API documentation
>  -bootstrap  Installs the ant.jar library and binary files into ant.home
>  -main       Creates the binary structure
>
>
> BUILD SUCCESSFUL
>
> Total time: 1 seconds
> ===================
>
> The targets look like:
>
>   <target name="main" depends="jar" description="Creates the binary
> structure">
>
> Regards,
> Marcel Schutte
>


Mime
View raw message