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 141233 - SQL project implements Sources incorrectly
Summary: SQL project implements Sources incorrectly
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: SQL Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Venkat Srinivasan
URL:
Keywords:
Depends on:
Blocks: 141207
  Show dependency tree
 
Reported: 2008-07-22 22:10 UTC by Sonali Kochar
Modified: 2008-07-22 23:18 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 Sonali Kochar 2008-07-22 22:10:05 UTC
The following code returns true for SQL projects

FileObject fo = dobj.getPrimaryFile();
Project project = FileOwnerQuery.getOwner(fo);
Sources sources = ProjectUtils.getSources(project);
SourceGroup[] srcGrps = sources.getSourceGroups("java");
      if(srcGrps.length == 0)
              return false;
else
              return true;


This is incorrect as you cannot create java files in this project.