This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 59246

Summary: Warn user when adding folder with JAR files to classpath
Product: javaee Reporter: zikmund <zikmund>
Component: Web ProjectAssignee: Radko Najman <rnajman>
Status: RESOLVED INCOMPLETE    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
URL: http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=53631
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 59244, 59245    
Bug Blocks:    

Description zikmund 2005-05-25 15:19:55 UTC
4.1 FCS

1) Have a web app
2) Open project's Properties | Libraries
3) Add JAR/Folder
4) Add a folder with JAR files (e.g. Struts library)
5) ERROR:
JAR files will be packaged into WEB-INF/classes and therefore won't be used by
server. We should check directory and if it contains JAR files, warn the user
that he/she should rather use Library manager or add JAR files, not their parent
directory.
(Based on nbusers feedback)

See similar Library Manager issue 59244 and Java project issue 59245.