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 211930

Summary: "Attribute "unless" was already specified" in osgi.xml
Product: apisupport Reporter: mienamoo
Component: HarnessAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description mienamoo 2012-05-02 06:32:21 UTC
NetBeans build 201204220400
JDK 7u3 32-bit

When executing any of the OSGi context menu actions on an Ant-based platform suite project ("Run in Felix" for example), the following error in osgi.xml is pointed out:

C:\Program Files (x86)\NetBeans Dev 201204220400\harness\suite.xml:542: The following error occurred while executing this line:
C:\Program Files (x86)\NetBeans Dev 201204220400\harness\osgi.xml:174: Attribute "unless" was already specified for element "target".

The workaround is of course to edit the .xml file, but that is not ideal.
Comment 1 Jesse Glick 2012-05-02 15:35:48 UTC
Use a newer dev build.

*** This bug has been marked as a duplicate of bug 210524 ***