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

Summary: Ant code-complete uses incorrect casing
Product: projects Reporter: _ gtzabari <gtzabari>
Component: AntAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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