Where are Application Libraries defined?
I have 2 workspaces for the same codebase and I copied my project files from
one to the other. Since paths are not relative now, I need to update the Jar
paths, but I can't find in the iml, ipr and iws the definitions of the
Application libraries.
Please help,
Amnon
Please sign in to leave a comment.
Look in config/options/applicationLibraries.xml. The app libraries are above
the project level (they are the same for all projects, defined for an IDEA
installation).
HTH,
Andrei
"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:bqm0s0$2o3$1@is.intellij.net...
from
Jar
>
>
>
So Project libraries are saved in the project files but application
libraries are not, right?
"Andrei Oprea" <andrei.oprea@rogers.com> wrote in message
news:bqmafl$gpi$1@is.intellij.net...
above
>
>
>
>
Amnon I. Govrin wrote:
Right. Application libraries are saved in the application configuration
files.
--
MB
applicationLibraries.xml in config/options dir.
I observed the following difference between 3.x and Aurora:
In 3.x adding Jars or directories to the classpath doesn't show these
classes in the GoTo dialog, but in Aurora the GoTo class shows them.
Is that intentional? Is there a way to define extra libraries that won't
show up in GoToClass?\
Thanks,
Amnon
"Marcus Brito" <pazu@animegaiden.com.br> wrote in message
news:bqnoff$nee$1@is.intellij.net...
>
>
>
Where have you declared the libraries? Are you sure you haven't selected the
"Include non-project classes" option in the Ctrl+N dialog?
I've just checked it and 977 works OK with all three library types (module,
project and application): it shows the classes in the libraries only if the
above mentioned option is selected.
Andrei
"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:bqq7ov$cea$1@is.intellij.net...
>
The "include non-project classes" checkbox is not checked.
I just looked at it again and found out the following:
1. Click Ctrl+N. Start writing a pattern that covers classes both from the
project and from libraries. When the checkbox is disabled, you'll get only
the ones from the project. Click the checkbox. You get the project and
library classes. Click (uncheck) the checkbox. The list stays the same
instead of reverting back to the project only list.
2. If the named library is a directory and not a Jar, Ctrl+N will "see" the
classes that are in the library. Jars work fine.
3. In the same case as 2, if you click the checkbox, then it reverts to
correct work and shows them only once (from the source).
I will send a bug report on that now that I understand it better.
Amnon
"Andrei Oprea" <andrei.oprea@rogers.com> wrote in message
news:bqqag8$3ig$1@is.intellij.net...
the
>
(module,
the
>
>
>
>
>
I noticed that, too. It does go back, though, once you start typing.
>
the
>
>
All my libraries are in jars, so that must be why I haven't seen the
problem. Glad you could pin it down.
Andrei