简体   繁体   English

在war文件myeclipse中排除文件

[英]Exclude files in war file myeclipse

How to exclude specific files (eg, files in source folder src/test/java) while doing Export to WAR file? 在导出到WAR文件时,如何排除特定文件(例如,源文件夹src / test / java中的文件)?

I tried doing export to war in myeclipse, but it doesn't provide me any option to choose files to remove. 我尝试在myeclipse中进行导出以进行战争,但是它没有提供任何选择删除文件的选项。

Go to the WAR Project 转到WAR项目

Click on Properties==>Deployment Assembly. 单击属性==>部署程序集。 Here you can perform the add/remove/edit. 您可以在此处执行添加/删除/编辑。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM