This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146126 - Ant code-complete uses incorrect casing
Summary: Ant code-complete uses incorrect casing
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 146127 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-04 05:52 UTC by _ gtzabari
Modified: 2009-11-02 11:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-09-04 05:52:20 UTC
My custom ant task contains this method:

public void addConfiguredInputSources(DirSet sources)

When I invoke code-complete inside my task I expect to see <inputSources> listed. Instead I see <inputsources>. To make
matters worse, if I type "<inputS" and invoke code-complete it will pretend no such nested element is possible. If I
type "<inputSources " and try to code-complete attributes it will refuse that too.

Using either <inputsources> or <inputSources> works just fine when you feed it into Ant. As such I expect Netbeans to
treat <inputSources> as a legal (and in my view, preferred) name.
Comment 1 Jesse Glick 2008-09-05 14:41:36 UTC
*** Issue 146127 has been marked as a duplicate of this issue. ***
Comment 2 Jesse Glick 2008-09-05 14:49:46 UTC
Ant internally considers "inputsources" to be the element name. It will also accept "inputSources" in the build script
but this is not the preferred form. Code completion ought to proceed on either.
Comment 3 Jesse Glick 2008-12-10 00:40:00 UTC
Later.
Comment 4 Quality Engineering 2009-11-02 11:03:47 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX