开发者

Eclipse clean removes my config file

开发者 https://www.devze.com 2023-03-06 06:59 出处:网络
In my Eclipse Java Build Path, I set Source Output Folders to: WEB-INF/classes and I put the config file globals.conf in this folder.

In my Eclipse Java Build Path, I set Source Output Folders to:

WEB-INF/classes

and I put the config file globals.conf in this folder.

When I run Project - Clean, my config file globals.conf is gone

How can I keep my config file when I run Clean开发者_如何学运维?


globals.conf should be putted under source folder, not source output folder.

Eclipse will copy all resource files(not *.java) in source folder into output folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消