开发者

Eclipse clean removes my config file

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜