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 141333 - Errors in tasklist window parsed from project's build.xml, build-impl.xml and project.xml
Summary: Errors in tasklist window parsed from project's build.xml, build-impl.xml and...
Status: RESOLVED DUPLICATE of bug 141355
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 13:05 UTC by Antonin Nebuzelsky
Modified: 2009-02-19 20:45 UTC (History)
3 users (show)

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 Antonin Nebuzelsky 2008-07-23 13:05:49 UTC
NetBeans IDE Dev (Build 20080723074106), full distro

1) create a new project (e.g. Anagram Game sample project)
2) wait until project is created and tasks scanned for Task list
3) tasklist now contains errors like

"Syntax error: expected: instanceof, as, =>, ...."

in build.xml, build-impl.xml and project.xml of the project.
Comment 1 Antonin Nebuzelsky 2008-07-23 13:08:16 UTC
The items are added to tasklist by the "GSP, RHTML, JavaScript, JSP, Groovy, JSP, Ruby, PHP, YAML, JSON, HTML, CSS
Tasks" tasklist provider.
Comment 2 Samaresh Panda 2008-07-23 15:51:24 UTC
Should go to task-list for initial evaluation.
Comment 3 Stanislav Aubrecht 2008-07-23 17:12:14 UTC
well, FileOwnerQuery says that build.xml, project.xml etc are belong to the main/opened projects so the task list
infrastructure is passing those files to task scanners.
i don't know if there's any way to tell that these files are 'special'. even if there was such way i think it's up to
XML task scanner to take care of it as other task scanner might be genuinely interested in scanning those files.
reassigning back
Comment 4 Samaresh Panda 2008-07-23 20:27:52 UTC
Product Version: NetBeans IDE Dev (Build 080723)
Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03
System: SunOS version 5.11 running on x86; ISO646-US; en (nb)
Userdir: /export/home/samaresh/testuserdir

1. Fresh build/fresh userdir and I do not see any issues with the task list.
2. AFAIK, there is no XML task proviedrs or scanners.
3. Seems like you're blindly assigning to XML because you're seeing an error in some XML file. Could it be a problem
with that sample? I think you should investigate more and assign to appropriate component.
Comment 5 Antonin Nebuzelsky 2008-07-24 11:08:28 UTC
Reassigning to Tor.

Maybe, it is fixed since yesterday?
Comment 6 Torbjorn Norbye 2008-07-24 15:49:56 UTC
This is a duplicate of  issue 141355.    GSF doesn't touch XML files, but because of bug 141355, some files get randomly
assumed to be PHP files (and GSF -does- attempt to compute quickfixes for PHP).

*** This issue has been marked as a duplicate of 141355 ***
Comment 7 Martin Krauskopf 2009-02-02 14:36:15 UTC
'ruby/gsf -> editor/csl' mass-move to be able to deleted gsf/ruby. Having to
change the version and platform of all closed moved issues to the same due to
Issuezilla deficiencies - choosing version == 6.5 and TM = 7.0.