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 158996

Summary: Custom attribute placed to Manifest file only should be shown in project properties
Product: javame Reporter: alex_pst <alex_pst>
Component: -- Other --Assignee: Petr Suchomel <psuchomel>
Status: VERIFIED FIXED    
Severity: blocker CC: ca-nb
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 162137    

Description alex_pst 2009-02-23 15:04:48 UTC
If user adds new custom attribute which should be placed to manifest file only, this attribute disappears from list
after Project properties window closing. User can be confused with such behavior and try to add attribute one more time.

How to reproduce:
1) Open some CLDC project
2) Open project properties
3) Go to "Application Descriptor" section, tab "Attributes"
4) Click button “Add” and enter “My3” in “Name”, “Only in Manifest” in “Value” fields, select “Manifest” in Placement list
5) Click "OK"
6) Open project properties again and check attributes list in "Application Descriptor" section
Verify that "My3" attributes disappeared from list
7) Close Project properties dialog
8) Build project
9) Open project's manifest file
Attribute "My3" is in MANIFEST.MF file, regardless of fact that it isn't shown in the project properties dialog
Comment 1 Petr Suchomel 2009-03-17 15:15:02 UTC
Fixed in CS 732f1e8b492c. Seems to be a type in code
Comment 2 Quality Engineering 2009-03-19 20:37:18 UTC
Integrated into 'main-golden', will be available in build *200903191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/732f1e8b492c
User: psuchomel@netbeans.org
Log: Fix for #158996, Custom attribute placed to Manifest file only should be shown in project properties
Comment 3 Andrei Chistiakov 2009-07-27 14:22:14 UTC
Verified with NetBeans IDE Dev (Build 200907270201)