blob: a8cbe5c400ec5f239095c9be21a02c3b598347a8 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Enterprise Application Client Project Properties Dialog Box: Compiling</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.modules.j2ee.clientproject.ui.customizer.CustomizerCompile" name="org.netbeans.modules.j2ee.clientproject.ui.customizer.CustomizerCompile"></a></p>
<div id="NBCSH4451"><!-- infolevel="all" infotype="General" --><a id="sthref629" name="sthref629"></a>
<h1>Enterprise Application Client Project Properties Dialog Box: Compiling</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use the Compiling panel to set general compilation options for your project.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t2">Element</th>
<th align="left" valign="bottom" id="r1c2-t2">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t2" headers="r1c1-t2">Compile on Save</td>
<td align="left" headers="r2c1-t2 r1c2-t2">When selected, files are compiled when you save them and additional Compiler Options are not used for running files or the project</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t2" headers="r1c1-t2">
<p>Generate Debugging Info</p>
</td>
<td align="left" headers="r3c1-t2 r1c2-t2">When selected, line number attributes are generated during compilation. This option sets the debug <code dir="ltr">javac</code> Ant task to true. This option is selected by default.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t2" headers="r1c1-t2">
<p>Report Uses of Deprecated APIs</p>
</td>
<td align="left" headers="r4c1-t2 r1c2-t2">If selected, you are notified in the compilation output of any deprecated APIs that the code uses.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t2" headers="r1c1-t2">Track Java Dependencies</td>
<td align="left" headers="r5c1-t2 r1c2-t2">If selected, the IDE makes sure to use the latest version of any project dependencies every time you build or run your project. This full dependency check can make the build process significantly slower for large projects. If you leave this option unchecked, you can still have the full dependency check performed by building your project with the Clean and Build command.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t2" headers="r1c1-t2">Enable Annotation Processing</td>
<td align="left" headers="r6c1-t2 r1c2-t2">Select this check box to enable annotation processing during building your project. If this check box is not selected, compilation proceeds without annotation processing, even if a class path to an annotation processor has been specified on the Libraries tab. This check box corresponds to the <code dir="ltr">-proc:none</code> option of the compiler.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t2" headers="r1c1-t2">&nbsp;&nbsp;&nbsp;&nbsp;Enable Annotation Processing in Editor</td>
<td align="left" headers="r7c1-t2 r1c2-t2">If the Enable Annotation Processing option is selected, you can enable annotation processing in the IDE Editor. This means that any additional artifacts that are generated by processors (classes, methods, fields, etc.) will be visible through the IDE features, such as code completion, Navigator, GoTo Type, Find usages, and other. Also, the Editor will display any diagnostic messages produced by annotation processors. In addition, completion suggestions for annotation attribute values produced by annotation processors will become available in Java code completion.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t2" headers="r1c1-t2">
<p>Additional Compiler Options</p>
</td>
<td align="left" headers="r8c1-t2 r1c2-t2">Enter any compiler options in a space-separated list in the Additional Compiler Options text field.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH4455" name="NBCSH4455"></a>
<p><b>Notes:</b></p>
<ul>
<li>Do not use compiler options such as <code dir="ltr">-bootclasspath</code> to cross-compile between Java platforms. Instead, register the target Java platform and set the target JDK for the project.</li>
<li>To manage the project's classpath, click <b>Libraries</b> in the left panel of the dialog box. To set up file filters for JAR file creation, click <b>Packaging</b>.</li>
</ul>
<a id="NBCSH4456" name="NBCSH4456"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>