AppFuseAddLibrary |
|
| Your trail: |
Difference between
version 2
and
version 1:
| At line 5 changed 3 lines. |
| # Create a new folder for your library in {{/lib}} using the pattern ''libname-version'' (e.g. {{/lib/iText-1.1}}). |
| # Add all required {{.jar}}'s into the folder you created. (e.g. {{/lib/iText-1.1/iText.jar}}) |
| # Edit {{/lib/lib.properties}} to include a section like the following for your library. It is best to add it into its alphabetical location for easy locating in the future. |
| __1.__ Create a new folder for your library in {{/lib}} using the pattern ''libname-version'' (e.g. {{/lib/iText-1.1}}). |
| __2.__ Add all required {{.jar}}'s into the folder you created. (e.g. {{/lib/iText-1.1/iText.jar}}) |
| __3.__ Edit {{/lib/lib.properties}} to include a section like the following for your library. It is best to add it into its alphabetical location for easy locating in the future. |
| At line 16 changed 1 line. |
| # Add library to the necessary classpaths in {{/properties.xml}}. If you have only one {{.jar}} in your library you can add it to the classpath directly. |
| __4.__ Add library to the necessary classpaths in {{/properties.xml}}. If you have only one {{.jar}} in your library you can add it to the classpath directly. |
| At line 25 changed 2 lines. |
| %%note __NOTE:__ Several of the classpaths are included in others. For example the {{test}} classpaths extend the {{compile}} classpaths, and the {{service}} classpaths extend the {{dao}} classpaths. |
| # The last step is making sure the library gets added to your deployed webapp. In the {{package-web}} target of {{/build.xml}} look for the {{<war>}} element and add another {{<lib>}} element. |
| %%note __NOTE:__ Several of the classpaths are included in others. For example the {{test}} classpaths extend the {{compile}} classpaths, and the {{service}} classpaths extend the {{dao}} classpaths. %% |
| __5.__ The last step is making sure the library gets added to your deployed webapp. In the {{package-web}} target of {{/build.xml}} look for the {{<war>}} element and add another {{<lib>}} element. |
Back to AppFuseAddLibrary,
or to the Page History.
|