|rar file deployment [message #203410]
||Wed, 31 October 2007 13:18
Originally posted by: ldallolio.unimaticaspa.it|
I need to add an (already packaged) RAR file (I would prefer not to import
it in a Resource Connector project because it is not part of my project
but just a datasource I need to connect to), but I could not do it by
using the "Properties->J2EE Module Dependencies" window since the "Add
Variable..." button is filtered for jars only.
So I tried to modify the .settings/org.eclipse.wst.common.component
configuration file by hand (by the way, is there any documentation about
it somewhere?), by adding the following lines :
<dependent-module archiveName="jackrabbit-jca.rar" deploy-path="/"
handle=" module:/classpath/var/M2_REPO/org/apache/jackrabbit/jackrabb it-jca/1.3.3/jackrabbit-core-1.3.3.jar ">
The RAR file is correctly deployed inside the EAR, but it is zipped twice.
This would not happen with JAR files, only RARs seem to be zipped twice.
Can you think of any way to accomplish this,
thanks in advance,