what does export source file mean. will it make it more stable and should i choose optimize for a specific run time
最佳答案
- 点击帖子中显示的 WAR 导出 屏幕左下角的问号,然后会打开一个帮助面板。
- 单击名为搜索 WAR 导出 的链接。
- 单击名为Exporting Web Archive (WAR) files 的链接。
显示以下文本,解决了您提出的有关导出源文件 和覆盖现有文件 的问题:
Optionally, supply WAR export Options, such as whether or not to include Java™ source files in the WAR, and whether to overwrite any existing resources during the export process. Source files are not usually included in a WAR file, because they are not necessary for the server to run the web application.
- Overwrite existing file 复选框的目的是防止您意外覆盖现有的 WAR 文件:如果在 Destination 字段中指定的文件已经存在并且 < strong>Overwrite existing files 复选框未选中,然后 Finish 按钮被禁用,并显示一条错误消息。
- 关于Optimize for a specific server runtime 复选框,如果您知道 WAR 文件将部署在哪个服务器上,则应选中它,在这种情况下,您将被迫从掉落 list 。
关于java - 将 webapp 转换为 war 文件时覆盖现有源文件意味着什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51325326/