WebLogic Portal et weblogic.appmerge

WebLogic Server 9 a introduit un nouvel outil : « weblogic.appmerge »

Cet outil permet de créer l’application finale résultante de la fusion d’une application (war ou ear) avec ses dépendances (Shared Libraries). Le résultat de cette fusion est stocké sur le disque dur sous la forme d’une arborescence de répertoires et de fichiers.

Cette opération est réalisée automatiquement par chaque serveur WebLogic lors du déploiement d’une application, mais elle a lieu en mémoire. Certains résultats sont toutefois visibles dans les répertoires temporaires de chaque serveur.

Cet outil est donc particulièrement utile quand on cherche à résoudre des problèmes de class loading dans des applications avec plusieurs dépendances vers des shared libs. On ne sait jamais trop comment tout ceci est digéré par le serveur. Avec cet outil, plus de place au doute, tout est clairement affiché dans les résultats de la fusion.

A noter également que l’outil gère les plans de déploiement.

L’outil se présente sous la forme d’un CLI (ligne de commande) ou d’une tâche ANT.

Personnellement je préfère la tâche ANT, plus facile à configurer avec son fichier XML.

Si l’outil est très pratique à utiliser, la documentation laisse un peu à désirer quand on souhaite l’utiliser sur une application WebLogic Portal. Beaucoup de dépendances doivent être ajoutées afin que la fusion puisse se faire sans encombre.

L’exemple ci-dessous présente un script DOS (Windows) de lancement de l’outil ainsi que le fichier build.xml de configuration de la tâche.

Shell de lancement
setlocal
set CURRENT_DIR=%CD%
@REM fixer le classpath à partir d'un domaine
call \domains\mydomain\bin\setDomainEnv.cmd
cd %CURRENT_DIR%
SET WLPORTAL_HOME=%BEA_HOME%\wlportal_10.3
set CLASSPATH=%WLPORTAL_HOME%\portal\lib\system\netuix_system-full.jar;%WLPORTAL_HOME%\light-portal\lib\system\wsrp-common.jar;%WLPORTAL_HOME%\info-mgmt\lib\system\wps_system.jar;%WLPORTAL_HOME%\light-portal\lib\system\wlw-system.jar;%WLPORTAL_HOME%\p13n\lib\system\p13n_system.jar;%WLPORTAL_HOME%\info-mgmt\lib\system\wlp_content_system.jar;%CLASSPATH%

call ant -k -buildfile build.xml test


Endlocal
build.xml
<project name="MyProject" default="test" basedir=".">
    <description>simple example build file</description>
	
	<property environment="env"/>
	<property name="bea_home" value="${env.BEA_HOME}"/>

<taskdef name="appmerge" classname="weblogic.ant.taskdefs.j2ee.AppMergeTask"  />

  <target name="test">
    <!-- Create the time stamp -->
    <tstamp/>
	<echo message="${env.CLASSPATH}"/>
	<appmerge 	verbose="true" 
				source="myApp.ear" 
				plan="\plan.xml"
				output=".\result" 
				libraryDir="\SHAREDLIBS"
				>

	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/p13n-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.p13n_10.3.2.0/p13n-app-lib-base.ear"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/p13n-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/p13n-rest-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/maintenance/1032/default/p13n-rest-web-lib.war"/>
	<library file="${bea_home}/modules/oracle.webcenter.jaxrs_10.3.2.0/jaxrs-framework-web-lib.war"/>
	<library file="${bea_home}/modules/com.sun.jersey_1.0.2.0/jersey-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/maintenance/1032/default/p13n-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.p13n_10.3.2.0/maintenance/1032/default/p13n-app-lib-base.ear"/>
	<library file="${bea_home}/modules/com.bea.p13n_10.3.2.0/p13n-core-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.p13n_10.3.2.0/maintenance/1032/default/p13n-core-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/maintenance/1032/default/p13n-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/vcr-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/maintenance/1032/default/vcr-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/content-management-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/maintenance/1032/default/content-management-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/content-management-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/maintenance/1032/default/content-management-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/content-management-faces-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.vcr_10.3.2.0/maintenance/1032/default/content-management-faces-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/webdav-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/maintenance/1032/default/webdav-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/wlp-webdav-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/maintenance/1032/default/wlp-webdav-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/webdav-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/maintenance/1032/default/webdav-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/wlp-webdav-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/content-mgmt/lib/j2ee-modules/maintenance/1032/default/wlp-webdav-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0/content-management-cmis-rest-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0/maintenance/1032/default/content-management-cmis-rest-app-lib.ear"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0/content-management-cmis-base-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0\maintenance/1032/default/content-management-cmis-base-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0/content-management-cmis-rest-web-lib.war"/>
	<library file="${bea_home}/modules/com.bea.content.cmis.rest_10.3.2.0\maintenance/1032/default/content-management-cmis-rest-web-lib.war"/>
	<library file="${bea_home}/modules/oracle.content.ucm.spi_10.3.2.0/oracle-ridc-client-app-lib.ear"/>
	<library file="${bea_home}/modules/oracle.content.ucm.spi_10.3.2.0/maintenance/1032/default/oracle-ridc-client-app-lib.ear"/>
	<library file="${bea_home}/modules/oracle.content.ucm.spi_10.3.2.0/oracle-ucm-spi-app-lib.ear"/>
	<library file="${bea_home}/modules/oracle.content.ucm.spi_10.3.2.0/maintenance/1032/default/oracle-ucm-spi-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/analytics/lib/j2ee-modules/wlp-analytics-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/analytics/lib/j2ee-modules/wlp-analytics-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/propagation/lib/j2ee-modules/wlp-propagation-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/propagation/lib/j2ee-modules/wlp-propagation-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-framework-struts-1.1-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-framework-struts-1.2-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-framework-struts-1.3-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-struts-1.3-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-beehive-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-framework-common-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-light-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-lookandfeel-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/deprecated/lib/j2ee-modules/wlp-lookandfeel-deprecated-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/deprecated/lib/j2ee-modules/wlp-light-deprecated-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-wsrp-producer-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-jsf-portlet-bridge-2.0-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/wlp-collab-portlets-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/wlp-collab-api-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/wlp-collab-portlets-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/wlp-services-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/wlp-controls-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/wlp-services-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/wlp-framework-full-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/wlp-framework-full-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-framework-rest-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/wlp-rest-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/wlp-rest-full-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/wlp-clipper-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-visitor-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-admin-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-common-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-common-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-framework-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-framework-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-custom-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-custom-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-analytics-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-analytics-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-full-console-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-full-console-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-content-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-content-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-im-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-im-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-portal-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-portal-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-serviceadmin-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-serviceadmin-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-ugm-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-ugm-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/wlp-tools-dvt-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/wlp-commonui-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/wlp-content-ui-framework-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/wlp-tools-support-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-full-console-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-full-console-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-analytics-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-analytics-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/analytics/lib/j2ee-modules/maintenance/1032/default/wlp-analytics-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/analytics/lib/j2ee-modules/maintenance/1032/default/wlp-analytics-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/propagation/lib/j2ee-modules/maintenance/1032/default/wlp-propagation-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/propagation/lib/j2ee-modules/maintenance/1032/default/wlp-propagation-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-struts-1.1-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-struts-1.2-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-struts-1.3-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-struts-1.3-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-beehive-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-common-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-light-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-lookandfeel-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-wsrp-producer-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-jsf-portlet-bridge-2.0-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/maintenance/1032/default/wlp-collab-portlets-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/maintenance/1032/default/wlp-collab-api-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/maintenance/1032/default/wlp-collab-portlets-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/maintenance/1032/default/wlp-services-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/maintenance/1032/default/wlp-services-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-full-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-full-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-framework-rest-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/maintenance/1032/default/wlp-rest-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/maintenance/1032/default/wlp-rest-full-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/light-portal/lib/j2ee-modules/maintenance/1032/default/wlp-clipper-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-visitor-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-admin-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-common-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-common-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-framework-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-framework-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-custom-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-custom-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-content-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-content-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-im-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-im-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-portal-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-portal-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-serviceadmin-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-serviceadmin-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-ugm-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-ugm-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal-admin/lib/j2ee-modules/maintenance/1032/default/wlp-tools-dvt-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/portal/lib/j2ee-modules/maintenance/1032/default/wlp-commonui-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/apps/lib/j2ee-modules/maintenance/1032/default/wlp-content-ui-framework-web-lib.war"/>
	<library file="${bea_home}\wlportal_10.3/info-mgmt/lib/j2ee-modules/maintenance/1032/default/wlp-tools-support-app-lib.ear"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/wlp-compat/beehive-controls-1.0.1.100.ear"/>
	<library file="${bea_home}\wlportal_10.3/p13n/lib/j2ee-modules/wlp-compat/weblogic-controls-10.0.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/weblogic-controls-10.2.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/weblogic-controls-1.0.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/wls-commonslogging-bridge-1.1.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-controls-1.0.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-controls-1.0.2.2.ear"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/weblogic-controls-1.0.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/weblogic-controls-10.2.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/wls-commonslogging-bridge-1.1.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-controls-1.0.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-controls-1.0.2.2.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-netui-1.0.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-netui-1.0.2.2.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-netui-resources-1.0.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/beehive-netui-resources-1.0.2.2.war"/>
	<library file="${bea_home}\wlserver_10.3/common/deployable-libraries/jstl-1.1.2.war"/>
	<library file="${bea_home}\wlserver_10.3/common/deployable-libraries/jsf-ri-1.1.1.war"/>
	<library file="${bea_home}\wlserver_10.3/common/deployable-libraries/jsf-myfaces-1.1.1.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/struts-1.1.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/struts-1.2.war"/>
	<library file="${bea_home}\wlportal_10.3/workshop/common/deployable-libraries/struts-1.2.9.war"/>
	<library file="${bea_home}\wlserver_10.3/common/deployable-libraries/jsf-1.2.war"/>
	<library file="${bea_home}\wlserver_10.3/common/deployable-libraries/jstl-1.2.war"/>

	<!-- ajouter ses propres librairies ci-dessous -->
	<library file="..."/>
	<library file="..."/>
	<library file="..."/>
	
	</appmerge>

	</target>	
	
</project>

 

Attention, les noms des librairies de WebLogic Portal peuvent changer d’une version à une autre, il faut donc adapter le fichier build.xml en fonction. L’exemple est basé sur la version 10.3.2 de WebLogic Portal.