views:

25

answers:

1

I'd like to set some autorun task to Eclipse, or simply set the command with path, how to run my Apache while starting Eclipse.

My point is, that I don't want webserver (Apache) to be running after OS start, because it's useless load for my laptop. I usually want webserver use when I start Eclipse, so I think there could be an option, when can I do that to save my OS load and my time.

How can I set this?

A: 

In the Run-menu, chose Run Configurations...

There you can configure your Apache webserver.

Then you can simply start your webserver from the Run-menu (Green, round play-button).

Added:

You could find out if Eclipse is started from a batch file/script. Then you should be able to add a line to this file to start Apache.

edwin
Thanks for advice, that could make it easier, but not really automatic. I want Apache run just after Eclipse start (with no action needed from me).
Radek Šimko