| 
| One plugin exporting packages from jars inside itself [message #330559] | Fri, 01 August 2008 14:59  |  | 
| Eclipse User  |  |  |  |  | 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 16:07  |  | 
| Eclipse User  |  |  |  |  | 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
 >>
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05264 seconds