ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: "private" targets
Date Thu, 01 Nov 2001 22:22:58 GMT
On Fri, 2 Nov 2001 07:10, Todd Chambery wrote:
> Hi all,
>
> I've noticed that, for organization's sake and code reuse, I've created a
> lot of "dependent" targets.  These are essentially fragments common to
> other targets for which it would make sense to run independently.
>
> I'd like to make it so they could only be run when called from within the
> buildfile (not when listed on the command line), thereby more tightly
> controlling how my buildfile can be used.  Is there any facility for doing
> this?

No. However in the CVS version of ant if a task does not have description="" 
attribute it is sorta private. It is not displayed to user when they do a 
"ant -projecthelp"

-- 
Cheers,

Pete

--------------------------------
 These aren't the droids you're 
 looking for. Move along. 
--------------------------------

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


Mime
View raw message