Re: Exclude some classes when package a jar.

2007-07-11 Thread John Redden
I often exclude classes by redefining their scope as in test Includes jars that I need for junit that don't end up in the war file. hope this helps. -John R. On Wed, 2007-07-11 at 12:12 -0600, Tommy Knowlton wrote: > I have a class that is a specialized implementation of a given > inter

Re: Exclude some classes when package a jar.

2007-07-11 Thread Tommy Knowlton
I have a class that is a specialized implementation of a given interface, and this specialized implementation cannot be distributed to all customers. I wasn't able to find a way to exclude the class from the jar, but I was able to exclude it from compilation, by reflectively loading it if i

Re: Exclude some classes when package a jar.

2007-04-30 Thread Jerome Lacoste
On 4/25/07, Trevor Torrez <[EMAIL PROTECTED]> wrote: How would you "post process" a jar and what phase would that process be bound to? using the assembly plugin during the package phase ? J - To unsubscribe, e-mail: [EMAIL PR

Re: Exclude some classes when package a jar.

2007-04-25 Thread Trevor Torrez
How would you "post process" a jar and what phase would that process be bound to? On 4/11/07, Jerome Lacoste <[EMAIL PROTECTED]> wrote: On 4/11/07, JesseLiu <[EMAIL PROTECTED]> wrote: > All, > I have a jar project. When packaging, I want some specified class excuded from the jar file. How sh

Re: Exclude some classes when package a jar.

2007-04-11 Thread Jerome Lacoste
On 4/11/07, JesseLiu <[EMAIL PROTECTED]> wrote: All, I have a jar project. When packaging, I want some specified class excuded from the jar file. How should I do ? Thanks for any suggestions! not sure if this is possible before the packaging. You can always post-process your jar to remove

Exclude some classes when package a jar.

2007-04-11 Thread JesseLiu
All, I have a jar project. When packaging, I want some specified class excuded from the jar file. How should I do ? Thanks for any suggestions!