Hello Yaron,
There is a general conceptual problem with external
applications and
remote files shared through EFS - because on "Eclipse
internal" clients
which understand IFileStore will be able to interpret the
URIs and get
the remote files.
You can do IFileStore.toLocalFile() to get a local cached
file which you
can pass into your external application; but as you've said
yourself,
PHP files can require other PHP files, which would still
reside remotely,
and your external application can not get
them.
In this situation, I see two
possibilities:
a) Make your PHP debugger completely eclipse
internal such that
it can understand EFS as
much as it needs to; the Debugter's
source path locator
should understand EFS.
b) Synchronize all the remote files you potentially
need to the local
disk and then specify the
local files in the debugger's source path.
RSE's Import/Export wizard can help you get a local
copy of the remote
files; or, you could use rsync; we've also thought about
implementing an
rsync-backed "remote filesystem" at some
point.
I'll happily dicuss this more with you if you
like.
Cheers, -- Martin Oberhuber Wind River Systems,
Inc. Target Management Project Lead, DSDP PMC Member http://www.eclipse.org/dsdp/tm
Hi
all.
In one of the user scenarios we
try to debug a PHP script which actually is located on an FTP
path.
Let’s say that I have a.php and I
create a link to it from one of the Eclipse
projects.
Now I want to debug it, but… the
local PHP.exe (external to eclipse env.) is not familiar with paths like
rse://…
and I don’t have a local
file.
Is there some way using RSE to
retrieve the file locally just for the debug process
?
Take into account that a.php might
require other php files…
Thank’s,
Yaron
|