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 141232 - Composite App project implements Sources incorrectly
Summary: Composite App project implements Sources incorrectly
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tientien Li
URL:
Keywords:
Depends on:
Blocks: 141207
  Show dependency tree
 
Reported: 2008-07-22 22:09 UTC by Sonali Kochar
Modified: 2009-01-14 22:16 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:09:09 UTC
The following code returns true for Composite App 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.