Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse war export: optimize for a specific server runtime

Tags:

java

eclipse

war

In eclipse, when exporting a web project to war/ear file there is this option

"Optimize for a specific server runtime"

optimize for specific server runtime

What does happen under the hood when this option is selected? Couldn't find an explanation about that so far.

I am running Eclipse Indigo 3.7.

like image 985
Yuri Ghensev Avatar asked Aug 01 '12 12:08

Yuri Ghensev


1 Answers

Eclipse itself doesn't do anything with that option. What happens is dependent on a particular server adapter. Many of the adapters don't do anything with this option either, but they might in the future.

If a server adapter does support export optimization, it has the option of displaying custom options beneath that pop-up list of runtimes, so that's a good cue to use to see if something will actually happen.

For instance, when targeting WebLogic Server, you will see this:

enter image description here

like image 88
Konstantin Komissarchik Avatar answered Sep 19 '22 18:09

Konstantin Komissarchik