开发者

Add static files like resources in Java eclipse project

开发者 https://www.devze.com 2023-02-03 15:13 出处:网络
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 w

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

精彩评论

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

关注公众号