« Return to Thread: How To Includes a Simple Jar File?

Re: How To Includes a Simple Jar File?

by Girish_Patil :: Rate this Message:

Reply to Author | View in Thread

Did you try adding the Jar to your EJB project's library. If is part
of EJB project's library and Project properties-> library -> library
package is checked, jar will be packaged inside the EJB jar.
-Girish

On Tue, Feb 17, 2009 at 11:38 AM, jsexton0 <jsexton0@...> wrote:

>
> Hello, I hope this is an easy question.
>
> I have an EJB that is part of an SA.  It uses a simple Java class that I
> need to have in a separate project.  I made a Java project, with this class
> and a jar target.  Everything builds fine.
>
> But how can I include the simple jar in something deployable?  I can't
> include it in an EJB module, because it is not an EJB.  There does not
> appear to be a way to add a simple jar project to an SA either.
>
> This all works if I place the simple class in the EJB project, and so it
> ends up in the SA, but I need it to be separate.
>
> Am I missing something?
>
> Thanks
> --
> View this message in context: http://www.nabble.com/How-To-Includes-a-Simple-Jar-File--tp22064685p22064685.html
> Sent from the NetBeans - EntPack mailing list archive at Nabble.com.
>
>

 « Return to Thread: How To Includes a Simple Jar File?