| <!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> |
| <p> |
| To create or update a JSF Library, |
| <b>Window -> Preferences... -> Web and XML -> JavaServer Faces Tools -> Libraries</b> |
| </p> |
| <img alt="JSF Libraries Preference Page" src="./images/jsflibs_prefs.png"> |
| <p>Initially your list of libraries may be empty unless there is a plugin-provided library present.</p> |
| |
| <h3>New Library</h3> |
| <p>To create a new JSF Library, select "New..." button.</p> |
| <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> |
| </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> |
| </p> |
| <p>Click "Finish" button to create your new JSF Library</p> |
| |
| <h3>Update JSF Library</h3> |
| <p>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> |
| </p> |
| <p>To update the selected JSF Library, choose "Edit..."</p> |
| <img alt="Update JSF Library" src="./images/jsflibsmissingjarsedit.png" > |
| <p>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.</p> |
| <p>Changes will be saved after you click "Finish" button.</p> |
| |
| <img src="../../images/ngrelc.png" alt="Related concepts" border="0"> |
| <p> |
| <a href="../concepts/jsf_facets.html">JSF Facets</a> |
| </p> |
| |
| <p> |
| <img src="../../images/ngrelr.png" alt="Related reference" border="0"> |
| </p> |
| <p> |
| <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">Tutorial</a></p> |
| |
| </body> |
| </html> |