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: | Running Main Class from library jar | ||
---|---|---|---|
Product: | java | Reporter: | rgw21 <rgw21> |
Component: | Project | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | mkleint |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rgw21
2008-08-18 10:03:22 UTC
Hi, could you please describe some steps how to reproduce? Something like create project A, library B, cerate main class in A, set dependency in project A on library B...something that we may reproduce (and try to fix). Thanks in advance... rgw21: it would be great, if you could create a sample project setup demonstrating the problem. Thanks. jlahoda: could this be related to compile on save? Pasting steps to reproduce from reporter: ------------------------------------------- Hi, To Duplicate My Case, please follow the next steps: - Create new java Project A. - Create main class in project A - Build Project A - Create a new Project "B" without adding main class - Go to Project "B" properties and add project "A" jar - On Project B properties go to Run--> Main Class=a.main - On Netbeans 6.5 beta, a message appear that a.main wasn't found in B project This used to work fine on Netbeans 6.1, but didn't work on netbeans 6.5 beta -Thanks, Raed btw can't be the problem that in 6.5 beta is by default Build action disabled because of compile on save? therefore classes are compiled, but jar itself (needed for project B) is not built? we got another info from reporter: Yes, it worked fine when i unchecked(disable) "compile on save" from project "B". -> jlahoda *** This issue has been marked as a duplicate of 139404 *** |