blob: 09b53120c7f6129a118d771f75f324614944494c [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>Java ME Embedded 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.j2me.project.ui.customizer.J2MECompilingPanel" name="org.netbeans.modules.j2me.project.ui.customizer.J2MECompilingPanel"></a></p>
<div id="NBCSH5296"><!-- infolevel="all" infotype="General" --><a id="sthref785" name="sthref785"></a>
<h1>Java ME Embedded Project Properties Dialog Box: Compiling</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to set compiling options for a project configuration.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1619">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<table summary="Descriptions of elements in Compiling page of project properties dialog box." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="33%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t27">Element</th>
<th align="left" valign="bottom" id="r1c2-t27">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t27" headers="r1c1-t27">
<p>Generate Debugging Info</p>
</td>
<td align="left" headers="r2c1-t27 r1c2-t27">Generates line numbers and source files information.
<p>This is the <code dir="ltr">-g</code> option in javac. If unchecked, no debugging information is generated (the <code dir="ltr">-g:none</code> option in javac).</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t27" headers="r1c1-t27">
<p>Report Uses of Deprecated APIs</p>
</td>
<td align="left" headers="r3c1-t27 r1c2-t27">Lists each use or override of a deprecated member or class.
<p>This is the <code dir="ltr">-deprecated</code> option in javac. If unchecked, the compiler shows only the names of source files that use or override deprecated members or classes.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t27" headers="r1c1-t27">
<p>Track Java Dependencies</p>
</td>
<td align="left" headers="r4c1-t27 r1c2-t27">The latest version of any project dependencies is used by the IDE every time you build or run your project. This full dependency check can make the build process significantly slower for large projects.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG389">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>If you leave this option unchecked, you can still have the full dependency check performed by building your project with the <b>Clean and Build</b> command.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t27" headers="r1c1-t27">
<p>Enable Annotation Processing</p>
</td>
<td align="left" headers="r5c1-t27 r1c2-t27">Enables annotation processing during building your project.
<p>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.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t27" headers="r1c1-t27">
<p>Enable Annotation Processing in Editor</p>
</td>
<td align="left" headers="r6c1-t27 r1c2-t27">Enables annotation processing in the IDE Editor. This means that any additional artifacts that are generated by processors (classes, methods, fields, and such) are visible through the IDE features, such as code completion, Navigator, GoTo Type, Find Usages, and other.
<p>Also, the Editor displays any diagnostic messages produced by annotation processors. In addition, completion suggestions for annotation attribute values produced by annotation processors becomes available in Java code completion.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t27" headers="r1c1-t27">
<p>Annotation Processors</p>
</td>
<td align="left" headers="r7c1-t27 r1c2-t27">Enables you to explicitly specify an annotation processor for your project when <b>Add</b> is clicked. In the <b>Add Annotation Processor</b> dialog box, enter a fully qualified name of the annotation processor. This setting corresponds to the <code dir="ltr">&ndash;processor</code> option of the compiler.
<p>To use the annotation processor, you must add it to the classpath or the processor path of your project on the Libraries tab.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t27" headers="r1c1-t27">
<p>Processor Options</p>
</td>
<td align="left" headers="r8c1-t27 r1c2-t27">Enables you to pass additional options to the annotation processor associated with your project.
<p>These options are made available for use by individual processors and not interpreted by the compiler. The options are specified in the form <code dir="ltr">-A[key[=val]]</code>. Click <b>Add</b> and specify the key and its value that are recognized by your annotation processor</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t27" headers="r1c1-t27">
<p>Additional Compiler Options</p>
</td>
<td align="left" headers="r9c1-t27 r1c2-t27">Enables you to enter any additional compiler options that you need in a space-separated list.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>For more information on compiler options, see: <code dir="ltr">
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html">
<param name="text" value="<html><u>http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</code>.</p>
<a id="NBCSH5305" name="NBCSH5305"></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=NBDAG1558">
<param name="text" value="<html><u>&quot;Creating Java ME Projects&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>