blob: d6a20cc1a1db2f189de193692e31baac5dcd4fa7 [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>New Libraries Wizard: Actions</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.spi.java.project.support.ui.MakeSharableVisualPanel2" name="org.netbeans.spi.java.project.support.ui.MakeSharableVisualPanel2"></a></p>
<div id="NBCSH2205"><!-- infolevel="all" infotype="General" --><a id="sthref299" name="sthref299"></a>
<h1>New Libraries Wizard: Actions</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to set a folder to hold your Java classpath libraries or to hold references to those libraries. Setting a libraries folder makes it easier to share libraries among different users and projects.
<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>
</p>
<p>On the Actions page, you determine how each library is referenced. The simplest case is to have the libraries copied to that folder. You can also refer to the libraries in their existing location (with a relative path or an absolute path). If you have specified an existing folder, you also have the option of using copies of libraries that are already in that folder instead of the copies that are contained in the IDE's Ant Library Manager. For each library, the wizard tries to select the most suitable action.</p>
<table summary="Descriptions of New Libraries wizards actions." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="38%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t26">Element</th>
<th align="left" valign="bottom" id="r1c2-t26">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t26" headers="r1c1-t26">
<p>Library JAR Files to New Libraries Folder</p>
</td>
<td align="left" headers="r2c1-t26 r1c2-t26">Places library JAR files in the selected libraries folder.
<p>Use this option if the library is not in the folder that you have selected and you want to have the library JAR files placed there.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t26" headers="r1c1-t26">
<p>Use Relative Path to Library JAR Files</p>
</td>
<td align="left" headers="r3c1-t26 r1c2-t26">Accesses a library that is not in the libraries folder using a relative path.
<p>Use this option if the library is not in the libraries folder and you need to access the library in its existing location using a relative path. An entry with a relative reference is added for the library in the libraries folder's <code dir="ltr">nblibraries.properties</code> file.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t26" headers="r1c1-t26">
<p>Use Absolute Path to Library JAR Files</p>
</td>
<td align="left" headers="r4c1-t26 r1c2-t26">Accesses a library that is not in the libraries folder using an absolute path.
<p>Use this option if the library is not in the libraries folder and you need to access the library in its existing location using an absolute path. An entry with an absolute reference is added for the library in the libraries folder's <code dir="ltr">nblibraries.properties</code> file.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t26" headers="r1c1-t26">
<p>Use Existing Library in Libraries Folder</p>
</td>
<td align="left" headers="r5c1-t26 r1c2-t26">Uses the copy of the library that already exists in the libraries folder.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH2210" name="NBCSH2210"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE,
<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>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG455">
<param name="text" value="<html><u>&quot;Sharing Libraries a Library with Other Users&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>