Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to hide "private" targets and/or target w/o description #39

Open
JHag6694 opened this issue Jun 7, 2022 · 0 comments
Open

Comments

@JHag6694
Copy link

JHag6694 commented Jun 7, 2022

Hello

To my knowledge, there are 3 kinds of targets in an Ant file

  1. "Private targets": targets with name starting with a hyphen ("-").
  2. "Main targets": when using ant -p, only these targets are displayed.
  3. "Other targets"

See in https://ant.apache.org/manual/targets.html,

"Targets beginning with a hyphen such as -restart are valid, and can be used to name targets that should not be called directly from the command line."

See in https://ant.apache.org/manual/running.html

"Targets that include a description attribute are listed as "Main targets", those without a description are listed as "Other targets", then the "Default" target is listed ("Other targets" are only displayed if there are no main targets, or if Ant is invoked in -verbose or -debug mode)."

So it would be good

  • To have 2 options to hide/show "Private targets" or "Others targets"
  • To display with distinct colors the 3 kinds of targets

See example in Eclipse Ant view (where there is no distinction between "Private targets" and "Other targets")
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant