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

Summary: Allow setting more javac options in web project
Product: javaee Reporter: Pavel Buzek <pbuzek>
Component: Web ProjectAssignee: Martin Grebac <mgrebac>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 46995    
Bug Blocks:    

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