Skip to main content



      Home
Home » Newcomers » Newcomers » run configuration
run configuration [message #90592] Fri, 29 July 2005 16:29 Go to next message
Eclipse UserFriend
Originally posted by: yxutech.yahoo.com

I have to write this message again because the one I wrote two days ago
was deleted.

In the run configuration: Run --> Run... --> Java Application, the name
of the "Main class" has to be specified. Is there anyway so that a
configuration can be used to run any java class?

A large application may have thounds of java classes. To make a run
configuration for each class is simply too much. I have been using
JBuilder. In JBuilder, you can make several configurations that can be
used by any class. I am totally new to eclipse. I believe there must be
the similar way. How to do it?
Re: run configuration [message #91204 is a reply to message #90592] Mon, 01 August 2005 10:49 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

mark wrote:
> I have to write this message again because the one I wrote two days ago
> was deleted.
>
> In the run configuration: Run --> Run... --> Java Application, the name
> of the "Main class" has to be specified. Is there anyway so that a
> configuration can be used to run any java class?
> A large application may have thounds of java classes. To make a run
> configuration for each class is simply too much. I have been using
> JBuilder. In JBuilder, you can make several configurations that can be
> used by any class. I am totally new to eclipse. I believe there must be
> the similar way. How to do it?
>

Even though applications have many classes, not all of them are runnable
(have a main() method) - in fact, usually only a small number of classes
are runnable.
The best thing you can do in Eclipse right now is to create a
"prototype" run configuration the way you want it, then you can
duplicate it (via right-click in the Launch configs dialog) for each
class that you want to run - you'll only have to edit the class name.

HTH,
Eric
Previous Topic:VE Installation
Next Topic:Bulk Quick Fix?
Goto Forum:
  


Current Time: Sun Jul 27 16:10:06 EDT 2025

Powered by FUDForum. Page generated in 0.07851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top