| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <link rel="stylesheet" href="../../book.css" type="text/css"/> |
| <title>Creating and Updating JSF Libraries</title> |
| </head> |
| <body> |
| <h1>Creating and Updating JSF Libraries</h1> |
| <br> |
| To create or update a JSF Library, |
| <b>Windows -> Preferences -> Web and XML -> JSF Libraries</b> |
| <img alt="Preferences -> Web and XML -> JSF Libraries" src="./images/jsflibs_prefs.png"> |
| <br> |
| <br> |
| Initially your list of libraries may be empty unless there is a plugin-provided library present. |
| <br><br> |
| <h3>New Library</h3> |
| <br> |
| To create a new JSF Library, select "New..." button. |
| <br> |
| <img alt="New JSF Library" src="./images/newjsflib.png"/><br><br> |
| <p>On this dialog you must: |
| <ul> |
| <li>provide a workspace unique name for the library</li> |
| <li>using the "Add..." button choose one or more JAR files to be included in this library</li> |
| </ul> |
| <br> |
| </p> |
| <p>Optionally you may: |
| <ul> |
| <li>specify the JSF version that this collection of jars supports <i>(At this time this is unused)</i></li> |
| <li>mark this as an implementation using the "is JSF Implementation" checkbox </li> |
| </ul> |
| <br></p> |
| |
| <p>Click "Finish" button to create your new JSF Library</p> |
| <br> |
| <h3>Update JSF Library</h3> |
| <p><br> |
| There may be a need to update the jars associated with this library. This can occur if: |
| <ul> |
| <li>you want to add or remove libraries, or,</li> |
| <li>you need to update the location of a jar reference</li> |
| </ul> |
| <br></p> |
| <p> |
| To update the selected JSF Library, choose "Edit..."<br> |
| <br> |
| <img alt="Update JSF Library" src="./images/jsflibsmissingjarsedit.png" /> |
| <br> |
| There is currently no way to update a jar entry to locate a missing jar. You must first remove the missing jar and then add it back. |
| <br><br> |
| Changes will be saved after you click "Finish" button. |
| <br> |
| </p> |
| <img src="../../images/ngrelc.png" alt="Related concepts" border="0"/> |
| <p> <br></p> |
| |
| <p> <img src="../../images/ngrelr.png" alt="Related reference" border="0"> |
| </p> |
| <p> <a href="../reference/jsf_facets.html">JSF Facets</a><br> |
| <a href="../reference/jsf_libraries.html">JSF Libraries</a><br> |
| </p> |
| |
| <p> <img src="../../images/ngrelt.png" alt="Related tasks" border="0"> |
| </p> |
| <p> |
| <a href="../gettingstarted/tutorial/JSFTools_tutorial.html#reglibs">Tutorial</a></p> |
| |
| </body> |
| </html> |