changing "Problems" path [message #235280] |
Mon, 29 June 2009 13:58 |
Eclipse User |
|
|
|
Originally posted by: marco.binz.annax.ch
Hi,
I'm using Eclipse / CDT on Windows, my source files however are on a
linux server. We access the files with a network drive connecting to the
server using samba. Compilation is done on the server, using plink (a
"command line PuTTY".
Paths to files with errors or warnings are of corse returned by the
compiler in linux style, e.g. /home/Projects/Projectx/main.cpp
Since these paths are not known to Windows, I can't doubelick on a error
/ warning in the "Problems" view to jump to the problem.
Is there a way to tell Eclipse (or the error parser, or make, or...) to
change the path from /home/Projects/... to Q:\Projects\...?
Thanks
Marco
|
|
|
|
Re: changing "Problems" path [message #235299 is a reply to message #235294] |
Tue, 30 June 2009 08:56 |
Eclipse User |
|
|
|
Originally posted by: marco.binz.annax.ch
Unfortunately, we're still working with Eclipse 3.4.1 / CDT 5.0.1 here,
so I tried to do it in the Project itself, not in a special "LinuxFiles"
project. But eclipse doesn't allow this, it says "Cannot create a link
to 'Q:\Projects' because it overlaps the location of the project that
contains the linked resource."
So guess I'm out of luck until we update to the new eclipse / cdt,
unless anyone has another idea?
Btw, F3 code navigation works, guess that relies on the data collected
by the indexer and not the compiler.
Marco
Andrew Gvozdev wrote:
> Doubleclick will work only for paths which are in eclipse workspace. In
> CDT 6.0 eclipse can find absolute path in any workspace folder as long
> as it ends with it (gotta be full path). I.e. you can create a project
> "LinuxFiles" and link your Q:Projects/ folder to
> LinuxFiles/home/Projects/ (using
> New-Folder/Advanced/Link-to-folder-in-the-file-system) so you get
> /home/Projects/Projectx/main.cpp in LinuxFiles project. If this is C++
> project you'll get F3 code navigation to there as well. But beware that
> network folder like that can slow things down as eclipse is eager to
> refresh the whole workspace on builds.
>
> Andrew
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03352 seconds