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 66278 - Expose compiler arguments through project properties
Summary: Expose compiler arguments through project properties
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 18:42 UTC by Chris Webster
Modified: 2006-01-11 23:44 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Yarda's build script patch (unevaluated; does not include GUI changes) (2.81 KB, patch)
2005-12-26 13:05 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Webster 2005-10-07 18:42:42 UTC
The netbeans module project properties does not expose the ability to specify
compiler arguments (also would be useful to specify assertions for unit testing)
via the ui. This is currently a useful feature in a java project.
Comment 1 Jesse Glick 2005-10-07 21:10:21 UTC
E.g. for -Xlint in JDK 5.

You do not need to explicitly enable assertions for unit testing; the harness
always passes -ea when running unit tests.
Comment 2 Jesse Glick 2005-12-26 13:05:32 UTC
Created attachment 28071 [details]
Yarda's build script patch (unevaluated; does not include GUI changes)
Comment 3 Jesse Glick 2005-12-26 13:06:30 UTC
Might also be nice for the GUI to automatically offer to add -Xlint:unchecked to
your args if you change source level from something <= 1.4 to something >= 1.5.
Comment 4 Jesse Glick 2005-12-30 22:26:54 UTC
Working on a GUI too...
Comment 5 Jesse Glick 2005-12-30 23:38:18 UTC
committed   * Up-To-Date  1.30        apisupport/harness/release/README
committed   * Up-To-Date  1.34        apisupport/project/nbproject/project.xml
committed   * Up-To-Date  1.68       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/Bundle.properties
committed   * Up-To-Date  1.2        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerCompiling.form
committed   * Up-To-Date  1.7        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerCompiling.java
committed   * Up-To-Date  1.43       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerProviderImpl.java
committed   * Up-To-Date  1.15       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/CustomizerSources.java
committed   * Up-To-Date  1.47       
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/SingleModuleProperties.java
committed   * Up-To-Date  1.270       ide/golden/deps.txt
committed   * Up-To-Date  1.32        nbbuild/templates/common.xml