Sourcepath entries vs Libraries

Hi all,

What difference is there between Sourcepath entries and Library entries
in the Project Settings? Are the source files found in Sourcepath
entries treated differently to source files found in libraries?

Thanks,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

6 comments
Comment actions Permalink

There are not treated in any special way. Library is a way to group a set of
related jars/paths into one logical group which may be easily reused in any
project.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"


"Gordon Tyler" <gordon.tyler@sitraka.com> wrote in message
news:as5h54$pv4$1@is.intellij.net...

Hi all,

>

What difference is there between Sourcepath entries and Library entries
in the Project Settings? Are the source files found in Sourcepath
entries treated differently to source files found in libraries?

>

Thanks,
Gordon

>

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

>


0
Comment actions Permalink

Where arw the library configurations stored. I am probably blind, but I cannot find the location.

Kind regards

Thomas G?lden
Munich, Germany

0
Comment actions Permalink

File -> (Default) Project Properties -> Paths -> Libraries -> Add -> Configure -> +

A bit long-winded.

I'd prefer...

Options -> Libraries

0
Comment actions Permalink

I meant, where are the library configurations stored on the local drive (in the configs directory) so that they can be distributed to other team members (provided that a unique directory structure is used).

Thomas G?lden
Munich, Germany

0
Comment actions Permalink

Sorry, I couldn't resist the chance to bleat about the cumbersome library configuration.

They are stored, on Linux at least...

.IntelliJIdea/config/options/library.table.xml

Where ".IntelliJIdea" is the system directory as configured during the install process.

0
Comment actions Permalink

Mark Lee wrote:

Sorry, I couldn't resist the chance to bleat about the cumbersome library configuration.

They are stored, on Linux at least...

IntelliJIdea/config/options/library.table.xml

Where ".IntelliJIdea" is the system directory as configured during the install process.



And since this directory is the settings for a single user, there is
really no effective way to share library definitions. Thus, we end up
just entering thirdparty jars in the classpath/sourcepath of the project
(ie, we find that the library definitions are not usable for a team
setting).

Constrast this with jbuilder, where each library definition is stored in
a .library file, as opposed to all library definitions in a single .xml
file. The jbuilder .library files can be stored anywhere on disk,
allowing for keeping them in CVS and sharing them across the team.

0

Please sign in to leave a comment.