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.
精彩评论