Search code examples
javaeclipsegoogle-app-engineobjectifygoogle-plugin-eclipse

What is the syntax for Project Relative Path in Eclipse Resource Filter?


I want to filter a source code directory from the Objectify 3.1 library I'm including in my Google App Engine project that uses the Google Plugin for Eclipse. Most likely I imported their library incorrectly but I'd like to see if I can just "hide" this source directory from Eclipse so it doesn't try to compile it.

I'm trying to use the a Resource Filter. The Project Relative Path seems most appropriate but I can't figure out the syntax. Which way do slashes go? Do I put a slash at the beginning?


Solution

  • The syntax that I found to work for the Project Relative Path was lib/objectify-3.1/src/* to hide the source code directory under the objectify-3.1 folder under lib. No slash was required at the beginning and the slashes are / not \.

    See screenshot for more context:

    enter image description here