Hi guys - I'm using Netbeans IDE for developing the web applications and I've some JARs available in the application server which doesn't need to be with WAR but we needed them to compile and run locally. Is there an option in Netbeans to exclude the JAR file while building the WAR file?
Hi guys - I found the problem myself. I've all the libraries under my lib folder and added them to the project class path. Since the build is copying the entire content in the project, my library is also copying even though I've unchecked the package check box against the library.
So, don't put the library in your lib folder if you want to exclude that in the WAR built.
subject: Netbeans web application - excluding the JAR while building the WAR