3.4Lib Def
3.4.1General
This element defines the libraries which are referenced in the « Project Type ».
A library definition points to only one directory. Once referenced it will be part of the project "classpath". At deployment, these libraries are packaged with the application.
This element is used in one or more Project Types (Libs).
3.4.1.1Properties
Two properties are necessary to setup a Lib Def (see Figure 1):
- Name: a symbolic name
- Path: the path

Figure 1: Resource Model – Lib Def - Properties
3.4.1.2Child
A Lib Def may contain several children (Lib). Each one defines a library.
Only the Jar property must be setup. It corresponds to the name of the jar (see Figure 2).

Figure 2: Resource Model – Lib Def – Child
3.4.2Set up for each Lib Def
3.4.2.1BluageCommons
Usually refers to the libraries:
- bluage-common-1
3.4.2.2Service
Usually refers to the libraries:
- dom4j-1.6
- jdom
3.4.2.3ApacheCommons
Usually refers to the libraries:
- commons-collections-3.1
- commons-beanutils-1.7.0
- commons-el-1.0
- commons-logging-1.0.4
- log4j-1.2.8
3.4.2.4View
3.4.2.4.1JSF
3.4.2.4.1.1myfaces
Usually refers to the libraries:
- myfaces-api-1.1.4
- myfaces-impl-1.1.4
- tomahawk-1.1.3
3.4.2.4.2Struts
Usually refers to the libraries:
- bluage-struts-tags-1.0
- ajax4struts-1.0
- displaytag-1.1.1
- displaytag-export-poi-1.1
- displaytag-portlet-1.1
- struts.jar
- standard
- commons-validator-1.3.1
- jakarta-oro
3.4.2.5Ajax
3.4.2.5.1JSF
Usually refers to the libraries:
- ajax4jsf-1.1.0.
- richfaces-3.0.0
3.4.2.5.2Struts
Usually refers to the libraries:
- ajax4struts-1.0
3.4.2.6Servlet
Usually refers to the libraries:
- Servlet
3.4.2.7Utilities
Usually refers to the libraries:
- acegi-security-1.0.4
- clientvalidators-0.9.1
- commons-codec-1.3
- commons-dbcp-1.2.2
- commons-digester-1.6
- commons-fileupload-1.0
- commons-lang-2.1
- commons-pool-1.5.3
- jstl-1.1.0
- jstl_el
- oscache-2.3.2
- xalan-2.6.0
- xstream-1.1.2
3.4.2.8Hibernate
Usually refers to the libraries:
- hibernate3.2.5
- asm
- asm-attrs
- cglib-nodep-2.1_3
- antlr-2.7.6
- jta
- ehcache-1.4.1
3.4.2.9DBDriver
Usually refers to the libraries:
- postgresql-8.3-603.jdbc3 (for example, if the DBMS is Postgres)