When I try to add a new Classpath variable in Eclipse for my build path configuration, and the path I add is a directory in which the current workspace is a subdirectory, Eclipse gives an 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 this ... I might want to put my JARs in C:\JavaStuff\libsand have my workspace in C:\JavaStuff\workspace, and then reference the libs (on my machine) through JAVASTUFF_DIR\libswhere JAVASTUFF_DIR C:\JavaStuff. This limitation prevents me from doing this.
C:\JavaStuff\libs
C:\JavaStuff\workspace
JAVASTUFF_DIR\libs
JAVASTUFF_DIR
C:\JavaStuff
, , , - Classpath... , Java, , Java Build Path " ". , , .
, Eclipse , JAR , " ", , , OK, " Java", (.. MY_BASE_DIR MY_BASE_DIR/libs/library.jar. .
MY_BASE_DIR
MY_BASE_DIR/libs/library.jar
Source: https://habr.com/ru/post/1755707/More articles:How to debug ExtJS in IE8 - debuggingHow to change .doc or .docx file in php - phpHow to preload a large image? - javascriptParallel programming using python multiprocessing and process processing - pythonhow to use the QT graphic view for drawing - qtSSL_connect () calls certificate verification - c ++Атрибуты проверки MVC 2 - проверка одного из двух значений - validationIs there a Try agreement? - .netClear Uninit Memory Read (UMR) when filling a class / structure - c ++DataTable.Select and performance in C # - c #All Articles