You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2015/02/05 17:16:16 UTC

[Bug 57542] New: complete-ant-cmd.pl omits tasks without description

https://issues.apache.org/bugzilla/show_bug.cgi?id=57542

            Bug ID: 57542
           Summary: complete-ant-cmd.pl omits tasks without description
           Product: Ant
           Version: nightly
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Wrapper scripts
          Assignee: notifications@ant.apache.org
          Reporter: issues.apache.org@chsc.dk

Ant distinguishes between "Main targets" and "Other targets". The difference is
whether they have a description attribute or not.

ant -projecthelp only returns the main targets, unless there are no main
targets.

AFAICT this distinction is not used other places than in ant -projecthelp, so I
would think that people are generally not aware of this distinction and hence
sometimes forget to add descriptions to their targets. I have personally used
Ant for a long time without noticing that some of my tasks lack a description.

complete-ant-cmd.pl currently only suggests main targets. I think it should
suggest all targets.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57542] complete-ant-cmd.pl omits tasks without description

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57542

--- Comment #2 from Stefan Bodewig <bo...@apache.org> ---
it might be a good idea to still leave out targets whose name starts with "-"
since you cannot specify them on the command line

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57542] complete-ant-cmd.pl omits tasks without description

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57542

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.9.5

--- Comment #4 from Stefan Bodewig <bo...@apache.org> ---
git commit 33d20f4 - Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57542] complete-ant-cmd.pl omits tasks without description

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57542

Christian Schmidt <is...@chsc.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32436|0                           |1
        is obsolete|                            |

--- Comment #3 from Christian Schmidt <is...@chsc.dk> ---
Created attachment 32441
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32441&action=edit
Use -debug to fetch "Other tasks", v2

Good idea. Fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57542] complete-ant-cmd.pl omits tasks without description

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57542

--- Comment #1 from Christian Schmidt <is...@chsc.dk> ---
Created attachment 32436
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32436&action=edit
Use -debug to fetch "Other tasks"

This patch also fixes bug 51931.

-- 
You are receiving this mail because:
You are the assignee for the bug.