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 269415

Summary: "Duplicated project name in import" when building netbeans.org modules
Product: apisupport Reporter: twifty
Component: HarnessAssignee: pgebauer <pgebauer>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description twifty 2016-12-22 22:09:46 UTC
As the title states, when configuring a library wrapper project to compile from source one of the internal netbeans.org modules, "Duplicated project name in import" is spit out.

The problem stems from the module using the build scripts in nbbuild, and the project using the script in netbeans/harness. Trying to force the project to also use nbbuild fails because 1. the project name is not the same as the directory and 2. cannot be renamed because project does not reside in the usual path for netbeans.org modules.

Renaming the scripts would probably be a huge BC nightmare. How about including a "build-impl.xml" file in the nbbuild module, so standalone projects can be built using the same imported scripts as those for netbeans.org modules?