Skip to main content



      Home
Home » Newcomers » Newcomers » sharing property files between projects
sharing property files between projects [message #233660] Wed, 19 September 2007 22:36 Go to next message
Eclipse UserFriend
Originally posted by: sreed.spamcop.net

I have a couple of projects that need to share the same properties files. What are some good ways to
set things up so I can have one copy of the property files shared between multiple projects. I would
like to avoid having to use absolute paths so the projects can be checked out of CVS and will build
and run without any tweaking.
Thanks,
Scott
Re: sharing property files between projects [message #233775 is a reply to message #233660] Thu, 20 September 2007 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sreed.spamcop.net

S Reed's message received 9/19/2007 10:36 PM:
> I have a couple of projects that need to share the same properties
> files. What are some good ways to set things up so I can have one copy
> of the property files shared between multiple projects. I would like to
> avoid having to use absolute paths so the projects can be checked out of
> CVS and will build and run without any tweaking.
> Thanks,
> Scott

Currently we are sharing the properties files via a user library, but this has two significant,
major drawbacks:

1. It requires re-jarring (via ant in our case) the files every time we make a modification.

2. The current implementation of user libraries employs absolute paths in the export/import format
and must be tweaked when the libraries are checked out of CVS. (Please see bug report 70417,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=70417, and vote for it.)
Re: sharing property files between projects [message #233780 is a reply to message #233775] Thu, 20 September 2007 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

It would seem best to have a common shared base project.

S Reed wrote:
> S Reed's message received 9/19/2007 10:36 PM:
>> I have a couple of projects that need to share the same properties
>> files. What are some good ways to set things up so I can have one
>> copy of the property files shared between multiple projects. I would
>> like to avoid having to use absolute paths so the projects can be
>> checked out of CVS and will build and run without any tweaking.
>> Thanks,
>> Scott
>
> Currently we are sharing the properties files via a user library, but
> this has two significant, major drawbacks:
>
> 1. It requires re-jarring (via ant in our case) the files every time
> we make a modification.
>
> 2. The current implementation of user libraries employs absolute paths
> in the export/import format and must be tweaked when the libraries are
> checked out of CVS. (Please see bug report 70417,
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=70417, and vote for it.)
Re: sharing property files between projects [message #233811 is a reply to message #233780] Thu, 20 September 2007 16:32 Go to previous message
Eclipse UserFriend
Originally posted by: sreed.spamcop.net

Ed Merks's message received 9/20/2007 12:48 PM:
> It would seem best to have a common shared base project.
Ed, can you explain how this would be done in detail? I have tried this
and have not been able to get the files loaded when they are not either
in a project or in jar file in a user library.
>
> S Reed wrote:
>> S Reed's message received 9/19/2007 10:36 PM:
>>> I have a couple of projects that need to share the same properties
>>> files. What are some good ways to set things up so I can have one
>>> copy of the property files shared between multiple projects. I would
>>> like to avoid having to use absolute paths so the projects can be
>>> checked out of CVS and will build and run without any tweaking.
>>> Thanks,
>>> Scott
>>
>> Currently we are sharing the properties files via a user library, but
>> this has two significant, major drawbacks:
>>
>> 1. It requires re-jarring (via ant in our case) the files every time
>> we make a modification.
>>
>> 2. The current implementation of user libraries employs absolute
>> paths in the export/import format and must be tweaked when the
>> libraries are checked out of CVS. (Please see bug report 70417,
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=70417, and vote for it.)
Previous Topic:debugger startup takes a long time
Next Topic:Redirecting a toc,xml link
Goto Forum:
  


Current Time: Wed Jun 18 12:13:52 EDT 2025

Powered by FUDForum. Page generated in 0.09058 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top