| User Library does not support relative paths [message #226389] |
Thu, 23 March 2006 10:36  |
Eclipse User |
|
|
|
Hi!
Our project uses a whole bunch of different libraries. With this we have two
problems:
1. it makes it harder than necessary for new developers in our team to setup
their Eclipse environment since they need to add each individual library
manually
2. each time a jar file is upgraded, removed or added each developer has to
adjust his/hers project accordingly
Rejected solutions:
1. We cannot share .project and .classpath since our directory structure is
not the exact same
2. Maven and the Maven plugin for Eclipse could do the job for us but a) as
of now it's to big of a step to take b) the plugin is not fully functional
and c) we have stuff that Maven currently does not handle
So, we came to think of using a User Library (Project Properties -> Java
Build Path -> Libraries -> Add Library -> User Library) since it can be
exported/imported. However, the absolute path is saved for the jar files in
the User Library. I would like it to save the path relative to the project
root instead.
Is this possible to change in some way?
Regards,
Jimisola
|
|
|
| Re: User Library does not support relative paths [message #226657 is a reply to message #226389] |
Tue, 28 March 2006 01:39  |
Eclipse User |
|
|
|
Hi,
We have the libraries with the *.userlibraries files on a shared drive.
For performance reasons the libraries are synced with a local drive via
an ant-script. This script adjusts the path entries in *.userlibraries
files, too.
Regards,
Michael
Jimisola Laursen wrote:
> Hi!
>
> Our project uses a whole bunch of different libraries. With this we have two
> problems:
>
> 1. it makes it harder than necessary for new developers in our team to setup
> their Eclipse environment since they need to add each individual library
> manually
> 2. each time a jar file is upgraded, removed or added each developer has to
> adjust his/hers project accordingly
>
>
> Rejected solutions:
>
> 1. We cannot share .project and .classpath since our directory structure is
> not the exact same
> 2. Maven and the Maven plugin for Eclipse could do the job for us but a) as
> of now it's to big of a step to take b) the plugin is not fully functional
> and c) we have stuff that Maven currently does not handle
>
> So, we came to think of using a User Library (Project Properties -> Java
> Build Path -> Libraries -> Add Library -> User Library) since it can be
> exported/imported. However, the absolute path is saved for the jar files in
> the User Library. I would like it to save the path relative to the project
> root instead.
>
> Is this possible to change in some way?
>
> Regards,
> Jimisola
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05835 seconds