Sunday, February 15, 2009

Converting normal folder to source folder in Eclipse

I created another source folder to hold my test cases (unit test) and to separate it from my src folder. This will ease build new jar files without the need to uncheck / deselect it. Especially when using export to jar feature.

I lost that configuration for some reason and Eclipse started to show my test folder as normal folder. The issue solved by;
Opening Java perspective
Right click on the project
Select new source folder
Give the new folder the same name as the old one
That is it.

No comments: