Eclipse War Export:针对特定服务器运行时进行优化 [英] Eclipse war export: optimize for a specific server runtime
问题描述
在日食中,当将Web项目导出到 war / ear
文件时,具有此选项
In eclipse, when exporting a web project to war/ear
file there is this option
针对特定服务器运行时进行优化
"Optimize for a specific server runtime"
选择此选项后,幕后发生了什么?
What does happen under the hood when this option is selected? Couldn't find an explanation about that so far.
我正在运行 Eclipse Indigo 3.7
。
推荐答案
Eclipse本身对该选项不执行任何操作。发生的情况取决于特定的服务器适配器。许多适配器也不会对此选项做任何事情,但是将来可能会做。
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.
例如,在定位WebLogic Server时,您将看到以下内容:
For instance, when targeting WebLogic Server, you will see this:
这篇关于Eclipse War Export:针对特定服务器运行时进行优化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!