aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans web application - excluding the JAR while building the WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans web application - excluding the JAR while building the WAR" Watch "Netbeans web application - excluding the JAR while building the WAR" New topic
Author

Netbeans web application - excluding the JAR while building the WAR

Santhosh Reddy Mandadi
Greenhorn

Joined: Apr 13, 2010
Posts: 11

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?


Thanks

Santhosh


Thanks

Santhosh
Santhosh Reddy Mandadi
Greenhorn

Joined: Apr 13, 2010
Posts: 11

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.


Thanks

Santhosh
 
 
subject: Netbeans web application - excluding the JAR while building the WAR