Reputation: 56249
I have couple .c files in my java project. How to achieve in Eclipse to project see this .c files like resources ?
Upvotes: 0
Views: 5245
Reputation: 168
Are your .c files C programs?.
You can install c/c++ eclipse plugin named CDT to view the source.
Upvotes: 1
Reputation: 114847
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.
Upvotes: 2
Reputation: 240996
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/
Upvotes: 1