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 65076

Summary: multiple applications in a project cannot be run or debugged at one time
Product: projects Reporter: jdbenitez <jdbenitez>
Component: Generic InfrastructureAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: mmirilovic
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description jdbenitez 2005-09-24 23:40:01 UTC
multiple applications in a project cannot be runed or debugged.  is it a design
error?  Mixed projecs like a client-server development cannot assign run-time
parameters easily to two classes with main funcion at time.

In Eclipse is more easiest do this.
Comment 1 Marian Mirilovic 2006-01-22 11:03:06 UTC
Well, in Java Projects, you have to assigne just one Main class (per the
project). From this point of view it is not neccessary to allow multiplies in
this case. Anyway reassigne to appropriate component...
Comment 2 Marian Mirilovic 2006-01-22 12:35:37 UTC
comments from reporter :
--------------------------
Projects can have but of a main class.  For example in a client server project.
To force just one  main class is not practical.  In addition this possibility
was present in previous versions of netbeans.
--------------------------
Comment 3 Jan Lahoda 2006-01-22 15:20:08 UTC
Would be I think solved by the build/run configurations, see issue #49636.

Thanks for the report.


*** This issue has been marked as a duplicate of 49636 ***