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 174841 - details for adding definitions missing
Summary: details for adding definitions missing
Status: RESOLVED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: CND (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Susan Morgan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 06:24 UTC by tbrunhoff
Modified: 2012-10-05 19:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2009-10-19 06:24:31 UTC
The "help" attached to the c++ properties dialog that allow you to add definitions does not describe how to "define"
defines. It doesn't say whether to use -Dname=value or just name=value (or just name). I started out by simply copying
-D lines from the makefile (which I should not were *not* picked up when I created the project). But when certain things
were not defined I changed the defines spec to name=value.

Documentation should say that.  Or should accept the -D definitions and show them as name/value pairs.
Comment 1 tbrunhoff 2009-10-19 06:26:34 UTC
Product Version: NetBeans IDE Dev (Build 200910170201)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31.1-56.fc12.x86_64 running on amd64; UTF-8; en_US (nb)
Userdir: /home/toddb/.netbeans/dev
Comment 2 tbrunhoff 2012-10-05 19:31:02 UTC
I think this is fixed, based on by experience with netbeans-trunk-nightly-201209190001-linux.sh

Actually its pretty nice... I can paste multiple -DSYMBOL=VALUE into the summary of defines and it strips the -D and separates the defines.