library settings documentation?

Hello,

I would like information about the settings for libraries in Aurora.

I have added some libraries with "Add Global Library" on the Order tab (why
there?)(Main module, default project properties).
I was hoping that this would allow me to use these libraries in any of my
projects. But it doesn't.
What else do I need to do?
I don't want to add them to my normal project properties, because someone
else who use this project should be able to have his libraries on a
different location.

What is exactly this functionality of global libraries for?
And what about project libraries? How is that different than adding them to
the Libraries tab?
What are named libraries?

Why is there not something simple like project properties and global
properties like in Visual Studio, Delphi, etc...

Hope you can help me :)

Robert.



8 comments
Comment actions Permalink

My understanding is that the library GUI will be replaced as part of the
multi-module support, so no improvements are being done to the existing one
at the moment. I agree that the "Order" tab is a silly place for the "Add
Global Library" and "Add Project Library" buttons.

As far as I'm aware the default project properties are only used when you
create a new project. Changing them will not affect projects you've already
created.

Regarding the different types of library, I think a lot of the confusion
comes because we don't yet have multi-module support. The difference between
some of the types becomes more clear when you think in terms of multiple
modules within a project. As a rough guide, though:

  • Global libraries can be added to any module of any project you create.

They are stored with your other IDEA settings.

  • Project libraries can be added to any module of the project they were

created in. They are stored with your project.

  • Named libraries are specific to a single module of a project and are

basically just a way of associating source and/or javadoc with a Jar file.

Where the confusion sets in at the moment is that projects can only have a
single module, so Project and Named libraries are equivalent. This will
change when the multi-module support arrives though[*].

Hope that helps,
Vil.

I've read elsewhere on this list that IDEA already supports multiple
modules and it's just the GUI that's missing.

Robert wrote:

Hello,

I would like information about the settings for libraries in Aurora.

I have added some libraries with "Add Global Library" on the Order tab (why
there?)(Main module, default project properties).
I was hoping that this would allow me to use these libraries in any of my
projects. But it doesn't.
What else do I need to do?
I don't want to add them to my normal project properties, because someone
else who use this project should be able to have his libraries on a
different location.

What is exactly this functionality of global libraries for?
And what about project libraries? How is that different than adding them to
the Libraries tab?
What are named libraries?

Why is there not something simple like project properties and global
properties like in Visual Studio, Delphi, etc...

Hope you can help me :)

Robert.



--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0
Comment actions Permalink

"Robert" <robert@pls.reply.here> wrote in message
news:bkergs$dcg$1@is.intellij.net...

Don't multi-post please.


0
Comment actions Permalink

What are multiple modules in a project?

So how would i go about sharing a project file so it can be compiled on
different computers?
The libraries are at different locations.




"Vilya Harvey" <vilya.harvey@digitalsteps.com> wrote in message
news:bkevfs$bac$1@is.intellij.net...

My understanding is that the library GUI will be replaced as part of the
multi-module support, so no improvements are being done to the existing

one

at the moment. I agree that the "Order" tab is a silly place for the "Add
Global Library" and "Add Project Library" buttons.

>

As far as I'm aware the default project properties are only used when you
create a new project. Changing them will not affect projects you've

already

created.

>

Regarding the different types of library, I think a lot of the confusion
comes because we don't yet have multi-module support. The difference

between

some of the types becomes more clear when you think in terms of multiple
modules within a project. As a rough guide, though:

>

  • Global libraries can be added to any module of any project you create.

They are stored with your other IDEA settings.

>

  • Project libraries can be added to any module of the project they were

created in. They are stored with your project.

>

  • Named libraries are specific to a single module of a project and are

basically just a way of associating source and/or javadoc with a Jar

file.
>

Where the confusion sets in at the moment is that projects can only have a
single module, so Project and Named libraries are equivalent. This will
change when the multi-module support arrives though[*].

>

Hope that helps,
Vil.

>

I've read elsewhere on this list that IDEA already supports multiple
modules and it's just the GUI that's missing.

>

Robert wrote:

Hello,

>

I would like information about the settings for libraries in Aurora.

>

I have added some libraries with "Add Global Library" on the Order tab

(why

there?)(Main module, default project properties).
I was hoping that this would allow me to use these libraries in any of

my

projects. But it doesn't.
What else do I need to do?
I don't want to add them to my normal project properties, because

someone

else who use this project should be able to have his libraries on a
different location.

>

What is exactly this functionality of global libraries for?
And what about project libraries? How is that different than adding them

to

the Libraries tab?
What are named libraries?

>

Why is there not something simple like project properties and global
properties like in Visual Studio, Delphi, etc...

>

Hope you can help me :)

>

Robert.

>
>
>

>

--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

>

Disclaimer

>

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

>


0
Comment actions Permalink

Robert wrote:
> What are multiple modules in a project?

A module is a subproject within your top level project. It's one of the
features planned for Aurora.

So how would i go about sharing a project file so it can be compiled on
different computers?
The libraries are at different locations.


I believe you can share the .ipr and .iml file, while the .iws file contains
information specific to your setup (window positions, etc.). The .iml file
references libraries by their name not their location, so as long as the
others have given identical names to their libraries you shouldn't have a
problem.

Vil.
--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0
Comment actions Permalink


"Vilya Harvey" <vilya.harvey@digitalsteps.com> wrote in message
news:bkme2p$tfh$1@is.intellij.net...

Robert wrote:

So how would i go about sharing a project file so it can be compiled on
different computers?
The libraries are at different locations.

>

I believe you can share the .ipr and .iml file, while the .iws file

contains

information specific to your setup (window positions, etc.). The .iml file
references libraries by their name not their location, so as long as the
others have given identical names to their libraries you shouldn't have a
problem.


Is this possible with the released IDEA too, or just Aurora?


0
Comment actions Permalink

It's been ages since I've used the release version, so I'm not sure.
Probably your best bet is to try it and see!

Vil.

Robert wrote:

"Vilya Harvey" <vilya.harvey@digitalsteps.com> wrote in message
news:bkme2p$tfh$1@is.intellij.net...

>>Robert wrote:
>>
>>>So how would i go about sharing a project file so it can be compiled on
>>>different computers?
>>>The libraries are at different locations.
>>
>>I believe you can share the .ipr and .iml file, while the .iws file


contains

>>information specific to your setup (window positions, etc.). The .iml file
>>references libraries by their name not their location, so as long as the
>>others have given identical names to their libraries you shouldn't have a
>>problem.


Is this possible with the released IDEA too, or just Aurora?


--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

Disclaimer

This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

0
Comment actions Permalink

Robert wrote:


"Vilya Harvey" <vilya.harvey@digitalsteps.com> wrote in message
news:bkme2p$tfh$1@is.intellij.net...

>> Robert wrote:
>> > So how would i go about sharing a project file so it can be compiled on
>> > different computers?
>> > The libraries are at different locations.
>>
>> I believe you can share the .ipr and .iml file, while the .iws file

contains

>> information specific to your setup (window positions, etc.). The .iml
>> file references libraries by their name not their location, so as long as
>> the others have given identical names to their libraries you shouldn't
>> have a problem.


Is this possible with the released IDEA too, or just Aurora?


In released IDEA there is a notion of "Project Libraries" which are not
really per-project but stored in IDEA config dir. Your project in version
control could then reference them by name.

Friendly,
Dmitry

--
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Dmitry Lomov (JetBrains) wrote:

Robert wrote:

>

In released IDEA there is a notion of "Project Libraries" which are not
really per-project but stored in IDEA config dir. Your project in version
control could then reference them by name.



Okay, thanks everyone for your help!
It is clear to me now.


0

Please sign in to leave a comment.