On Nov 20, 2007 12:24 PM, mjdenham <[EMAIL PROTECTED]> wrote:
> My ant build file is getting quite long and has a lot of targets.  When I
> view the ant file in Eclipse it can be difficult to see which targets are
> the top-level ones which I would call and which are just helper targets like
> "init".
>
> Is it possible to remove some of the "targets" from the external interface
> just leaving a set of targets which people will actually invoke.

No, I don't think so. But traditionally, some people (like me) used
helper targets' name starting with a dask, as in "-init", which made
them impossible to call from the command line, an in general indicates
an "internal" (as in implement-detail) target of the build. IDEs don't
have restrictions on calling these targets though. Having the leading
dash would at least group these targets in a different lexicographic
group, since targets are usually sorted by names in IDEs.

I would not be surprised to learn that some IDEs allow to hide some
target names, but you can't do that in Ant AFAIK. --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to