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 167666

Summary: Preprocessor Block - comments out code automaticaly
Product: javame Reporter: shche123 <shche123>
Component: Build SystemAssignee: Petr Suchomel <psuchomel>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description shche123 2009-06-25 18:24:25 UTC
"//#" is automatically added to the source on Configuration change and on build.

Kind of defeats the purpose of the if statement...


//#if DefaultConfiguration
//#             helloTextBox = new TextBox(null, "Make my day Color", 120, 0x0);
//#else
            helloTextBox = new TextBox(null, "Make my day Gray", 120, 0x0);
//#endif
Comment 1 Petr Suchomel 2009-09-22 14:55:56 UTC
This is not an issue rather enhancement