Index: project/src/org/netbeans/modules/apisupport/project/LogicalView.java =================================================================== RCS file: /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/LogicalView.java,v retrieving revision 1.16 diff -u -r1.16 LogicalView.java --- project/src/org/netbeans/modules/apisupport/project/LogicalView.java 12 Jul 2004 21:29:19 -0000 1.16 +++ project/src/org/netbeans/modules/apisupport/project/LogicalView.java 1 Feb 2005 17:49:39 -0000 @@ -115,6 +115,7 @@ private static final Object KEY_MANIFEST = "manifest"; // NOI18N private static final Object KEY_ARCH_XML = "archXml"; // NOI18N + private static final Object KEY_BUILD_FILE = "buildFile"; // NOI18N private static final String[] SOURCE_GROUP_TYPES = { JavaProjectConstants.SOURCES_TYPE_JAVA, @@ -141,6 +142,9 @@ if (project.getArchXml() != null) { l.add(KEY_ARCH_XML); } + if (project.getBuildFile() != null) { + l.add(KEY_BUILD_FILE); + } setKeys(l); } @@ -162,6 +166,12 @@ } else if (key == KEY_ARCH_XML) { try { n = new SpecialFileNode(DataObject.find(project.getArchXml()).getNodeDelegate(), "Architecture Description"); + } catch (DataObjectNotFoundException e) { + throw new AssertionError(e); + } + } else if (key == KEY_BUILD_FILE) { + try { + n = new SpecialFileNode(DataObject.find(project.getBuildFile()).getNodeDelegate(), "Module Build File"); } catch (DataObjectNotFoundException e) { throw new AssertionError(e); } Index: project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java =================================================================== RCS file: /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java,v retrieving revision 1.48 diff -u -r1.48 NbModuleProject.java --- project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java 6 Dec 2004 20:30:23 -0000 1.48 +++ project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java 1 Feb 2005 17:49:39 -0000 @@ -424,6 +424,10 @@ } } + public FileObject getBuildFile() { + return helper.resolveFileObject("build.xml"); + } + public boolean supportsJavadoc() { return supportsFeature("javadoc"); // NOI18N }