Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Relative Paths
Relative Paths [message #324779] Thu, 31 January 2008 20:48 Go to next message
Eclipse UserFriend
Hi All,

I'm working on new distro of eclipse may working at any path (portable
distro) specially for C/C++ developing, so I chose some plug-ins which
need some paths to configure them (like eclipseNSIS), but I faced big
problem with paths of these plug-ins because they use absolute paths,
where portable distro must use relative paths, so:

How I can store relative paths for plug-ins?

Another question:

How I can force eclipse to use a specific relative path for its workspace?


--
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

My Blog مدونتي
http://mbnoimi.net/
Re: Relative Paths [message #324794 is a reply to message #324779] Fri, 01 February 2008 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

What's not clear is what you mean by "store relative paths for plug-ins"
or what plug-ins need what paths. Many dialogs can use variables. For
example, have a look at a run configuration dialog at the "Arguments"
tab and see what "Varaibles..." brings up a dialog so you can use
${workspace_loc}, for example. Of course the workspace used by Eclipse
when you start it can be specified by a -data argument and I'm pretty
sure that the argument can be a relative path that will be relative to
the current directory for where you've launched...

M. Bashir Al-Noimi wrote:
> Hi All,
>
> I'm working on new distro of eclipse may working at any path (portable
> distro) specially for C/C++ developing, so I chose some plug-ins which
> need some paths to configure them (like eclipseNSIS), but I faced big
> problem with paths of these plug-ins because they use absolute paths,
> where portable distro must use relative paths, so:
>
> How I can store relative paths for plug-ins?
>
> Another question:
>
> How I can force eclipse to use a specific relative path for its
> workspace?
>
>
Re: Relative Paths [message #324816 is a reply to message #324794] Fri, 01 February 2008 10:42 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote:
> What's not clear is what you mean by "store relative paths for plug-ins"
> or what plug-ins need what paths.

look at this[1] picture, you'll find that NSIS home path point to
absolute path (C:\eclipse\nsis), where I want to use relative path, so
when I tried to put relative path by using eclipse variables as shown in
this[2] picture, eclipseNSIS didn't accept eclipse variable!

> you start it can be specified by a -data argument and I'm pretty
> sure that the argument can be a relative path that will be relative to
> the current directory for where you've launched...

thanks, it's working well.


---
[1] http://img209.imageshack.us/img209/2788/captureck4.jpg
[2] http://img209.imageshack.us/img209/662/capture2gl6.jpg


--
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

My Blog مدونتي
http://mbnoimi.net/
Re: Relative Paths [message #324817 is a reply to message #324816] Fri, 01 February 2008 10:49 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

I see. Where does EclipseNSIS come from? It would be best to chat with
those folks...


M. Bashir Al-Noimi wrote:
> Ed Merks wrote:
>> What's not clear is what you mean by "store relative paths for
>> plug-ins" or what plug-ins need what paths.
>
> look at this[1] picture, you'll find that NSIS home path point to
> absolute path (C:\eclipse\nsis), where I want to use relative path, so
> when I tried to put relative path by using eclipse variables as shown
> in this[2] picture, eclipseNSIS didn't accept eclipse variable!
>
>> you start it can be specified by a -data argument and I'm pretty sure
>> that the argument can be a relative path that will be relative to the
>> current directory for where you've launched...
>
> thanks, it's working well.
>
>
> ---
> [1] http://img209.imageshack.us/img209/2788/captureck4.jpg
> [2] http://img209.imageshack.us/img209/662/capture2gl6.jpg
>
>
Previous Topic:StructuredSelection
Next Topic:Managing external files in the local history
Goto Forum:
  


Current Time: Fri Sep 19 07:49:13 EDT 2025

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

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

Back to the top