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.
|Summary:||Cannot set main class that is in jar or zip|
|Component:||Project||Assignee:||Jiri Rechtacek <jrechtacek>|
|Issue Type:||DEFECT||Exception Reporter:|
Description bstan 2004-09-30 15:08:13 UTC
If a main class is in a jar or zip file, they cannot be set as a main class. This occurs even if the archive file is part of the compile or run classpath. Entering the main class by hand appears to be ignored. Using the browse button to find the main class fails. *** This is important feature that is works in Netbeans v3.6 and also in Eclipse. Without it, v4.0 is unusable for our development work ***
Comment 1 Milan Kubec 2004-10-01 08:45:46 UTC
Reassigning for evaluation.
Comment 2 Tomas Zezula 2004-10-26 14:59:11 UTC
It is easy to fix if it is really needed. The J2SEActionProvider should check for the main class on ClassPath.EXECUTE rather than on ClassPath.SOURCE. But the selection in the project customizer should be done with ClassPath.SOURCE.
Comment 3 Jesse Glick 2004-10-27 20:41:23 UTC
*** This issue has been marked as a duplicate of 44271 ***