开发者

Add static files like resources in Java eclipse project

I have couple .c files in my java project. How to achieve in Eclipse to project see this .c files like 开发者_JAVA技巧resources ?


Define an additional src folder that points to the file system folder which contains those files.

Or, inside your src folder, create a new file/folder which is a link to the external file/folder.


if it is maven project then simplyput all c file in /resource/c/

if it is simple java project , put all C file in a different package.

if it is a web project put it in WEB-INF/C/


Are your .c files C programs?.

You can install c/c++ eclipse plugin named CDT to view the source.

CDT site.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜