Eclipse Unix Windows [message #267405] |
Tue, 30 December 2008 05:57  |
Eclipse User |
|
|
|
Hi,
I have eclipse project in the CVS which has .project files specific
for Windows. For eg the libraries are hardcoded to U:/lib/...
But U: is specific to windows and when the developers in the Unix
checkout the project it does not work for them. They have to manually
change the lib paths to Unix specific.
Can you suggest a common way for giving the paths for independent of
the Windows/Linux. My libraries on Windows are on U: wheresas on Linux
are /home/sbcimp/ng/lib.
Thanks in advance
Nick
|
|
|
|
|
|
|
Re: Eclipse Unix Windows [message #267425 is a reply to message #267417] |
Wed, 31 December 2008 09:35  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 12/30/2008 2:48 PM, Nick wrote:
> Thanks Eric. But I have windows dependent paths in the .project files as
> copied below :
> <linkedResources>
> <link>
> <name>tas_commonservices</name>
> <type>2</type>
> <location>U:/pkg/1.107.0.1</location>
> </link>
> </linkedResources>
>
> I want to get ri of the U: which only works in windows and not in unix.
Ah, I forgot about linked resources using absolute paths (that's why I
said "almost" in my message :-)
I tend to avoid linked resources whenever possible; as Dave already
said, it is usually best to have such things as projects in your
workspace and under source control (CVS, SVN, whatever). However, if you
must use linked resources, use a Path Variable to define its location.
See
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/concepts/cpathvars.htm
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.08597 seconds