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 47158 - extra-compilation-unit should support empty classpath
Summary: extra-compilation-unit should support empty classpath
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 42680
  Show dependency tree
 
Reported: 2004-08-12 15:57 UTC by Jiri Skrivanek
Modified: 2006-03-24 09:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch of ClassPathProviderImpl. (1.37 KB, patch)
2004-08-12 15:58 UTC, Jiri Skrivanek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-08-12 15:57:45 UTC
It can happen that extra compilation unit don't
need an extra classpath. In such a case it throws
an exception when empty classpath element is used.
I suugest to support also empty classpath.
Comment 1 Jiri Skrivanek 2004-08-12 15:58:31 UTC
Created attachment 16778 [details]
Patch of ClassPathProviderImpl.
Comment 2 Jesse Glick 2004-08-12 17:28:17 UTC
In the future please use diff -u for all patches. Non-context diffs
are difficult to read and not safe to apply. You can set up CVS to use
this option by default for all diff commands; see docs on the .cvsrc file.
Comment 3 Jesse Glick 2004-08-12 19:42:27 UTC
committed     Up-To-Date  1.33       
apisupport/project/src/org/netbeans/modules/apisupport/project/ClassPathProviderImpl.java
Comment 4 Jiri Skrivanek 2004-08-13 08:30:42 UTC
Thanks.
To produce the patch I used NetBeans where -u was not set as default.
Next time I will use -u.