File: f1_web_apps026.htm

package info (click to toggle)
libnb-platform18-java 12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 729,624 kB
  • sloc: java: 5,058,967; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (169 lines) | stat: -rwxr-xr-x 8,580 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!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>Standard Web Project Properties Dialog Box: Libraries</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>

<body>
<p><a id="CHDDJHFE" name="CHDDJHFE"></a><a id="org.netbeans.modules.web.project.ui.customizer.CustomizerLibraries" name="org.netbeans.modules.web.project.ui.customizer.CustomizerLibraries"></a></p>
<div id="NBCSH3975"><!-- infolevel="all" infotype="General" -->
<h1>Standard Web Project Properties Dialog Box: Libraries</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to specify the classpath for the project, by setting the following properties. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG386">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</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-t34">Property</th>
<th align="left" valign="bottom" id="r1c2-t34">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t34" headers="r1c1-t34">
<p>Java Platform</p>
</td>
<td align="left" headers="r2c1-t34 r1c2-t34">Specifies the target Java platform against which all source files are compiled and run. Available Java platforms are those that have been registered in the Java Platform Manager. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1557">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t34" headers="r1c1-t34">
<p>Libraries Folder</p>
</td>
<td align="left" headers="r3c1-t34 r1c2-t34">To make it easier to share libraries among different users and projects, you can set a folder to hold those libraries (or references to those libraries). You can create a new folder or specify an existing folder that already contains copies of the libraries on which your project depends. 
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG456">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t34" headers="r1c1-t34">
<p>Compile</p>
</td>
<td align="left" headers="r4c1-t34 r1c2-t34">Specifies the library used at compilation time to resolve symbols and the like when the Java code is converted into classes.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t34" headers="r1c1-t34">
<p>Processor</p>
</td>
<td align="left" headers="r5c1-t34 r1c2-t34">Specifies where to find annotation processors; if this option is missing, the classpath is searched for processors.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t34" headers="r1c1-t34">
<p>Compile Tests</p>
</td>
<td align="left" headers="r6c1-t34 r1c2-t34">Specifies the test libraries used at compile time.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t34" headers="r1c1-t34">
<p>Run Tests</p>
</td>
<td align="left" headers="r7c1-t34 r1c2-t34">Specifies entries that are on each of the classpaths. You can add any of the three listed below entries.
<p>By default, all items that are on the classpath are packaged in the WAR file. Deselect the Package checkbox for each classpath item that you want to exclude from the WAR file.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t34" headers="r1c1-t34">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Project</p>
</td>
<td align="left" headers="r8c1-t34 r1c2-t34">The build output, source files, and Javadoc files of another IDE project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t34" headers="r1c1-t34">
<p>&nbsp;&nbsp;&nbsp;&nbsp;Library</p>
</td>
<td align="left" headers="r9c1-t34 r1c2-t34">A collection of binary files, source files, and Javadoc files.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t34" headers="r1c1-t34">
<p>&nbsp;&nbsp;&nbsp;&nbsp;JAR/Folder</p>
</td>
<td align="left" headers="r10c1-t34 r1c2-t34">A JAR file or folder containing classes. The folder must contain classes. If the folder does not contain classes but, for example, images instead, use the Packaging page to add them to the project.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r11c1-t34" headers="r1c1-t34">Build Required Projects (Libraries and additional WAR content)</td>
<td align="left" headers="r11c1-t34 r1c2-t34">By default, the projects required by the current project are built when the current project is built. Required projects are projects on the classpath as well as projects defined in the Packaging page. Deselect the Build Required Projects checkbox if you do not want the required projects to be built when the current project is built.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p><b>Notes:</b></p>
<ul>
<li>If you want to include a resource in the project, but not on the classpath, use the Packaging page instead.</li>
<li>If a JAR file is registered as a Java Class Library and has attached source code and Javadoc documentation, you can just add the JAR file to the classpath and the IDE finds the Javadoc documentation and source code automatically. You should use the Add Library button if you want to add a library that contains several JAR files. Adding a Java Class Library rather than a regular JAR file also makes it easier for other developers you share the project with to fix broken references to Javadoc documentation and source code.</li>
<li>Adding a free-form project to the classpath of a standard project does nothing unless you have declared the free-form project's build outputs in the Output page of its Project Properties dialog box.</li>
</ul>
<a id="NBCSH3985" name="NBCSH3985"></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>
<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=NBDAG1111">
<param name="text" value="<html><u>&quot;Configuring a Web Application&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>