Technology hub‎ > ‎Developer Handy‎ > ‎

Add jar to atg ear without assembling or build

To add Jar to ATG Commerce without a build follow the instructions below

Below is for Jboss but it would work for any server since we are only changing contents under MyEAR.ear file

Add required classentry to atg_bootstrap_ejb.jar 's Manifest

/local/opt/jboss-eap-4.3/jboss-as/server/xxx/deploy/MyEAR.ear/atg_bootstrap_ejb.jar/META-INF/MANIFEST.MF

========== (Append jar to existing entries with space. If next line is used follow the MANIFEST.mf rules to add space on next line before entry)
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
ATG-Module-Uri: atg_bootstrap_ejb.jar
Class-Path: ./atglib/test.jar ./atglib/test1.jar

=============

Drop the new jar (test1.jar) in atglib

/local/opt/jboss-eap-4.3/jboss-as/server/xxx/deploy/MyEAR.ear/atglib
Comments