When I try to add a new Classpath Variable in Eclipse for my Build Path configuration, and the path I add is a directory that the current workspace is a subdirectory of, Eclipse gives the error:
'C:\JavaStuff' is not a valid location for linked resources.
Why does Eclipse impose this restriction? I can't think of a good reason for it... I might want to put my JARs in C:\JavaStuff\libs
and have my workspace in C:\JavaStuff\workspace
, then reference libs (on my machine) via JAVASTUFF_DIR\libs
where JAVASTUFF_DIR
is C:\JavaStuff
. This restriction prevents me doing this.