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 47806 - Allow setting more javac options in web project
Summary: Allow setting more javac options in web project
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on: 46995
Blocks:
  Show dependency tree
 
Reported: 2004-08-24 15:34 UTC by Pavel Buzek
Modified: 2004-09-01 13:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2004-08-24 15:34:54 UTC
see 46995:
With a J2SE project, there's no way to specify
extra javac options. Especially setting 
-Xlint:unchecked should be possible, but probably
other options should be made possible as well.
The tab Project Properties/Build/Compiling Sources
seems to be the proper location for setting these
options, since the -g and -deprecation are
controlled there as well.
If not to be controlled by the UI, then at least
manual modifications to project.properties should
be supported, e.g. with the javac.options property.


Also check jsp cp settings.
Comment 1 Martin Grebac 2004-09-01 10:38:00 UTC
Gonna look at it.
Comment 2 Martin Grebac 2004-09-01 13:35:04 UTC
Fixed in trunk:

Checking in Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.7; previous revision: 1.6
done
Checking in WebProjectGenerator.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebProjectGenerator.java,v
 <--  WebProjectGenerator.java
new revision: 1.46; previous revision: 1.45
done
Processing log script arguments...
More commits to come...
Checking in resources/build-impl.xsl;
/cvs/web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.33; previous revision: 1.32
done
Processing log script arguments...
More commits to come...
Checking in ui/customizer/Bundle.properties;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.31; previous revision: 1.30
done
Checking in ui/customizer/CustomizerCompile.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerCompile.java,v
 <--  CustomizerCompile.java
new revision: 1.19; previous revision: 1.18
done
Checking in ui/customizer/CustomizerCompile.form;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerCompile.form,v
 <--  CustomizerCompile.form
new revision: 1.10; previous revision: 1.9
done
Checking in ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.43; previous revision: 1.42
done