Saturday, April 3, 2010

Eclipse ${project_loc} errors

When setup this ${project_loc} var in the run configuration- Arguments tab. You may have received the Eclipse error message “Variable references empty selection: ${project_loc}”.


This is caused by the fact that certain actions can cause Eclipse to loose focus of the current project. To resolve the issue, simply select your current project in the Package Explorer or Navigator and repeat task that caused the error. This can get annoying so another alternative is to replace ${project_loc} with ${workspace_loc}\project_name if your project in your workspace directory.

No comments: