It's all about the answers!

Ask a question

How to convert wrongly imported files into a java project?


Daniel Ruebush (9715987) | asked Sep 10 '15, 3:13 p.m.
I have mistakenly imported files via import/general file system. But they are Java files and needed to be treated as a Java project.


1. Is there a way to convert that into a Java project?
2. How do you import a project as a Java project?

Unable to compile project as the files are not in the form of a java project. Multiple of my users are impacted.


One answer



permanent link
Kevin Ramer (4.5k9186201) | answered Sep 10 '15, 4:24 p.m.
This is more Eclipse related.  I think that if one person converts the "general" project into a Java project and then delivers, the other folks can accept the changes and you'd be off and running.   Google has multitude of hits for "convert eclipse project to java"

But the UI should allow.   Right click on the eclipse project in Project Explorer or Navigator view, choose Properties. 
Click "Project Facets".  It should give an option to "convert to faceted..." or similar.  


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.