From: Lew on 7 May 2010 13:23 Tim Slattery wrote: > So I have NB show the list of JARs. I right-click struts-faces, and > select "Remove" and the entire list of Struts libraries disappears. I > guess there must be a way to control that somewhere. If nothing else, > I can just remove that library from the WAR before I deploy it. > NetBeans libraries are unitary. You get all the JARs in a library or none. You can set up your own libraries for finer-grained control. For example, MyFaces requires a number of Apache Commons libraries. I have a library that contains the MyFaces JARs plus all the Commons JARs, but that has risks. I may want a newer version of a Commons JAR and I might have another library that also includes Commons JARs, causing double inclusion. I also might put some of these JARs into, say, my common Tomcat lib/ directory, also causing redundant inclusion. To solve this, I have a custom library with just the MyFaces JARs and others for each of the Commons JARs, and I use (or don't use) those in lieu of the all-in-one library. -- Lew
From: Roedy Green on 7 May 2010 14:08 On Thu, 06 May 2010 15:21:39 -0400, Tim Slattery <Slattery_T(a)bls.gov> wrote, quoted or indirectly quoted someone who said : >Failed to initialize the application 'NCS' due to error >java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag. Do a grep on all your source code and configuration files for "Faces". -- Roedy Green Canadian Mind Products http://mindprod.com What is the point of a surveillance camera with insufficient resolution to identify culprits?
From: Tim Slattery on 7 May 2010 16:10 Lew <lew(a)lewscanon.com> wrote: >Tim Slattery wrote: >> So I have NB show the list of JARs. I right-click struts-faces, and >> select "Remove" and the entire list of Struts libraries disappears. I >> guess there must be a way to control that somewhere. If nothing else, >> I can just remove that library from the WAR before I deploy it. >> > >NetBeans libraries are unitary. You get all the JARs in a library or >none. You can set up your own libraries for finer-grained control. It turns out you can tweak that. Project properties/Libraries. Select (in this case) Struts 1.3.8, click the "Edit" button. It shows a list of jar files in a list box. Click the ones you don't want in your project and click "Remove". Poof, they're gone. -- Tim Slattery Slattery_T(a)bls.gov http://members.cox.net/slatteryt
From: Lew on 7 May 2010 16:59 Lew wrote: >> NetBeans libraries are unitary. You get all the JARs in a library or >> none. You can set up your own libraries for finer-grained control. > Tim Slattery wrote: > It turns out you can tweak that. Project properties/Libraries. Select > (in this case) Struts 1.3.8, click the "Edit" button. It shows a list > of jar files in a list box. Click the ones you don't want in your > project and click "Remove". Poof, they're gone. > Sure, and ruin its use for other projects where you want the full boat. -- Lew
From: Tim Slattery on 10 May 2010 10:24 Lew <lew(a)lewscanon.com> wrote: >Lew wrote: >>> NetBeans libraries are unitary. �You get all the JARs in a library or >>> none. �You can set up your own libraries for finer-grained control. >> > >Tim Slattery wrote: >> It turns out you can tweak that. Project properties/Libraries. Select >> (in this case) Struts 1.3.8, click the "Edit" button. It shows a list >> of jar files in a list box. Click the ones you don't want in your >> project and click "Remove". Poof, they're gone. >> > >Sure, and ruin its use for other projects where you want the full >boat. Hmm...looks like you're right. In my case it doesn't matter, we won't be needing that library. Seems like there should be a way to tailor that for a particular project but... I know that it's *not* expanding "libraries" under your project, selecting the offending library, right-click and "remove". When you do that the entire package disappears! -- Tim Slattery Slattery_T(a)bls.gov http://members.cox.net/slatteryt
First
|
Prev
|
Pages: 1 2 Prev: ejbPostCreate() to define operations Next: Calling .NET exec from Java |