Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » rar file deployment
rar file deployment [message #203410] Wed, 31 October 2007 17:18 Go to next message
Eclipse UserFriend
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 ">
<dependent-object>RarModule_1193758093889</dependent-object >
<dependency-type>uses</dependency-type>
</dependent-module>

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,
Luca
Re: rar file deployment [message #203433 is a reply to message #203410] Thu, 01 November 2007 20:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.10.sgfan.spamgourmet.com

Luca wrote:
> 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,

why do you use rar at all?

This isn't an open format. If you are looking for a strong compression
fortmat, consider 7-Zip!
Re: rar file deployment [message #203465 is a reply to message #203433] Thu, 01 November 2007 21:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chris.lieb.gmail.com

Michael wrote:
> Luca wrote:
>> 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,
>
> why do you use rar at all?
>
> This isn't an open format. If you are looking for a strong compression
> fortmat, consider 7-Zip!

RAR is a Resource ARchive in the J2EE world. It is used to make
resource bundles (like groups of XML files). For instance, you can use
a RAR in Geronimo to define a datasource.

It is still a basic zip file, just like a JAR, WAR, or EAR.
Re: rar file deployment [message #203473 is a reply to message #203465] Thu, 01 November 2007 22:07 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.10.sgfan.spamgourmet.com

Chris Lieb wrote:
> Michael wrote:
>> Luca wrote:
>>> 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,
>> why do you use rar at all?
>>
>> This isn't an open format. If you are looking for a strong compression
>> fortmat, consider 7-Zip!
>
> RAR is a Resource ARchive in the J2EE world. It is used to make
> resource bundles (like groups of XML files). For instance, you can use
> a RAR in Geronimo to define a datasource.
>
> It is still a basic zip file, just like a JAR, WAR, or EAR.

Wow, this is confusing. I thought he was talking about
http://en.wikipedia.org/wiki/RAR_%28file_format%29
Previous Topic:Deploy WAR with WTP
Next Topic:eclipse update : wtp and europa
Goto Forum:
  


Current Time: Fri Apr 26 05:46:23 GMT 2024

Powered by FUDForum. Page generated in 0.02696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top