| <!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>Adding and Removing JSF Library References from a Project</h1> |
| <br> |
| JSF Library References for a project are managed as Java Build Path Libraries and J2EE Module Dependencies. |
| |
| <h2>Adding a JSF Library Reference</h2> |
| <p><b>Project -> Properties -> Java Build Path</b></p> |
| <img src="./images/jsflibref_javabuildpath.png" alt="Project -> Properties -> Java Build Path"> |
| <p>Click "Add Library..." button.</p> |
| <img src="./images/jsflibref_addlibrary.png" alt="Add Library"> |
| <p>Select "JSF Libraries" and click "<u>N</u>ext >" button.</p> |
| <img src="./images/jsflibref_addlibrary_2.png" alt="Add Library"> |
| <p>Select desired JSF Library and click "<u>F</u>inish" button.</p> |
| |
| <h2>Removing a JSF Library Reference</h2> |
| <p><b>Project -> Properties -> Java Build Path</b></p> |
| <img src="./images/jsflibref_javabuildpath.png" alt="Project -> Properties -> Java Build Path"> |
| <p>Select desired JSF Library and click "<u>R</u>emove" button.</p> |
| |
| <h2>Selecting JSF Library Deployment Options</h2> |
| <p> |
| To control which JSF Libraries are deployed to the web application and which |
| are not, use the "J2EE Module Dependencies" functionality. |
| </p> |
| <p><b>Project -> Properties -> J2EE Module Dependencies</b></p> |
| <img src="./images/jsflibref_j2eemoddeps.png" alt="Project -> Properties -> J2EE Module Dependencies"> |
| <p>Select/deselect JSF Libraries as desired (selected means deploy, deselected means do not deploy).</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_libraries.html">JSF Libraries</a><br> |
| </p> |
| |
| <p> <img src="../../images/ngrelt.png" alt="Related tasks" border="0"> |
| </p> |
| <p> |
| <a href="../tasks/jsf_libs.html">Create and Update JSF Libraries</a></p> |
| |
| </body> |
| </html> |