Help - Using Path Variables in Global Library defnition?

Hi,

I am evaling version 8 and would like to set up my global libraries with a Path Variable. I know this must be easy but I am at a loss as to how to actually make it work when defining the path to the library jar file. The docs show how to create the path variable but now how to use it.

1. I can define a path variable: 3rdParty C:\Java\3rdParty

2. I want to create a new Global Library for JUnit 3.8.1, which resides within the 3rdParty directory at:
$3rdParty$\junit\version_3.8.1\lib\junit-3.8.1.jar

When I try to do step two and 'attach classes' it never works. I cannot find documemtation on how define that path variable when I try to use this: $3rdParty$\junit\version_3.8.1\lib\junit-3.8.1.jar

Can somebody explain the right way to do this?
Thanks in advance,

M.

1 comment
Comment actions Permalink

Hello.

In IDEA user does not need to explicitly write variable name in the path to a library jar. You need to specify the actual path like:

C:\Java\3rdParty\junit\version_3.8.1\lib\junit-3.8.1.jar

and since you have defined the variable before, it will be stored in your settings as

$3rdParty$\junit\version_3.8.1\lib\junit-3.8.1.jar

GUI will still show the actual path.

Alexander.

0

Please sign in to leave a comment.