Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » One plugin exporting packages from jars inside itself
One plugin exporting packages from jars inside itself [message #330559] Fri, 01 August 2008 18:59 Go to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
Hi,

I have a plugin where I put the jboss client jars that my application uses.
I then export the packages from this jars.

But today, looking at the help documentation of the Manifest / Runtime page,
I saw this:

"Since JAR'd plug-ins are the recommended format for Eclipse 3.1 and up
built plug-ins, it is recommended to leave this section blank."

Is it a bad practice to have one plugin exporting packages from jars inside
it?

If yes, somebody can tell me the best way to do this?

Thanks in advance,

Marcelo
Re: One plugin exporting packages from jars inside itself [message #330607 is a reply to message #330559] Tue, 05 August 2008 12:45 Go to previous messageGo to next message
Marcelo Alcantara is currently offline Marcelo AlcantaraFriend
Messages: 48
Registered: July 2009
Member
Anybody?

Thanks.

"Marcelo Alcantara" <marcelo.alcantara@cshg.com.br> escreveu na mensagem
news:g6vme3$e6c$1@build.eclipse.org...
> Hi,
>
> I have a plugin where I put the jboss client jars that my application
> uses. I then export the packages from this jars.
>
> But today, looking at the help documentation of the Manifest / Runtime
> page, I saw this:
>
> "Since JAR'd plug-ins are the recommended format for Eclipse 3.1 and up
> built plug-ins, it is recommended to leave this section blank."
>
> Is it a bad practice to have one plugin exporting packages from jars
> inside it?
>
> If yes, somebody can tell me the best way to do this?
>
> Thanks in advance,
>
> Marcelo
>
Re: One plugin exporting packages from jars inside itself [message #330619 is a reply to message #330607] Tue, 05 August 2008 20:07 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
I'm not sure if it is "bad practice" or not, but there are a couple of
things to consider:
1) The JDT compiler can't compile against nested jars, therefor you may
have issues at build time. (One of the bugs here is :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157375)

2) The nested jars will be extracted at runtime by the OSGi framework
and place in a cache. This could potentially impact startup performance.

-Andrew

Marcelo Alcantara wrote:
> Anybody?
>
> Thanks.
>
> "Marcelo Alcantara" <marcelo.alcantara@cshg.com.br> escreveu na mensagem
> news:g6vme3$e6c$1@build.eclipse.org...
>> Hi,
>>
>> I have a plugin where I put the jboss client jars that my application
>> uses. I then export the packages from this jars.
>>
>> But today, looking at the help documentation of the Manifest / Runtime
>> page, I saw this:
>>
>> "Since JAR'd plug-ins are the recommended format for Eclipse 3.1 and up
>> built plug-ins, it is recommended to leave this section blank."
>>
>> Is it a bad practice to have one plugin exporting packages from jars
>> inside it?
>>
>> If yes, somebody can tell me the best way to do this?
>>
>> Thanks in advance,
>>
>> Marcelo
>>
>
>
Previous Topic:How to get Project Path from File in Editor?
Next Topic:Text Compare - Hightlight Individual Changes
Goto Forum:
  


Current Time: Sun Sep 01 07:20:04 GMT 2024

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

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

Back to the top