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 192376 - copylibs task copies nothing if a directory is in runtime classpath
Summary: copylibs task copies nothing if a directory is in runtime classpath
Status: RESOLVED DUPLICATE of bug 70077
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2010-11-23 22:00 UTC by dgtombs
Modified: 2010-11-24 09:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description dgtombs 2010-11-23 22:00:24 UTC
I have a directory in my J2SE project's runtime classpath to grab some configuration files as a resource. Having this directory in the classpath means the copylibs task doesn't copy anything into dist/lib, which is a significant inconvenience. Copylibs should copy whatever it can and just skip what it can't.

To reproduce:
1) Create a Java Application project.
2) Add a jar to the compile-time classpath.
3) Add a directory to the runtime classpath.
4) Build the project.
5) Notice "X is a directory or can't be read. Not copying the libraries." in the output tab.
6) Notice that dist/lib is empty.

If this behavior is intentional, why?

Thanks in advance.
Comment 1 Tomas Zezula 2010-11-24 09:18:53 UTC

*** This bug has been marked as a duplicate of bug 70077 ***