Working with same workspace on Windows and Solaris [message #104807] |
Mon, 26 September 2005 06:41  |
Eclipse User |
|
|
|
Originally posted by: mcfall.hope.edu
I run Windows XP on my desktop, and Solaris in the labs where I teach. I
would like to be able to use the same workspace on both Windows and
Solaris. We use samba to provide access to the Solaris file system to
Windows boxes. I've mounted my Solaris home directory as drive H: on
windows.
The problem is that JAR files added to the build path have paths like
H:\lib in them when I create a project from Windows, while they have
/home/mcfall/lib as the path when created from Solaris.
Ideally it would make the most sense to reference the workspace and/or
project's home directory as a variable when defining the paths. I have
tried prepending a user defined variable to the path to the file in the
Add Jar dialog brought up by selecting "Add external jar", but this just
sticks the variable after the path selected in the file dialog.
Any help would be appreciated.
|
|
|
Re: Working with same workspace on Windows and Solaris [message #105108 is a reply to message #104807] |
Mon, 26 September 2005 21:21  |
Eclipse User |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Ryan McFall wrote:
> I have
> tried prepending a user defined variable to the path to the file in the
> Add Jar dialog brought up by selecting "Add external jar", but this just
> sticks the variable after the path selected in the file dialog.
>
> Any help would be appreciated.
>
You could also create a lib folder in your project, copy in the external
jars, and then add them to the project. That was it'll be referenced
relative to the project root, thus avoiding your path problems.
Hope this helps,
- Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.07981 seconds