Remote System Explorer + Include Path [message #65319] |
Wed, 30 January 2008 16:26 |
Eclipse User |
|
|
|
Originally posted by: filipe.f.carvalho.gmail.com
Hello,
I've already a ongoing PHP project and I've started to use PDT to
continue the work.
I've installed Remote System Explorer (the files are in a remote
server by ssh/sftp).
I've configure RSE to the remote server and choosing the remote
directory I have done "Create Remote Project".
Because Eclipse doesn't recognize as PHP project I've change
..project file to:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MyProj</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name >
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.php.core.PHPNature</nature>
</natures>
</projectDescription>
But now, when I try to add himself to the include path I don't have
nothing to add.
In this screen cast (http://www.screencast.com/t/IpKZCZYPlme) it's
possible.
I'm using PDT version 1.0.2.v20080102 and RSE SSH Services Version:
2.0.1.v20070926 in Eclipse M20071023-1652.
Someone can help me?
Thanks
Filipe Carvalho
|
|
|
|
Re: Remote System Explorer + Include Path [message #65450 is a reply to message #65429] |
Thu, 31 January 2008 16:25 |
Eclipse User |
|
|
|
Originally posted by: filipe.f.carvalho.gmail.com
Either in the present or a fresh new installation* I've the same
problem. I never see the project himself in the include path... only the
other php projects created.
In a fresh project org.eclipse.php.core.projectOptions.prefs contains:
$ cat org.eclipse.php.core.projectOptions.prefs
#Thu Jan 31 15:19:28 GMT 2008
eclipse.preferences.version=1
org.eclipse.php.core.contextRoot=
org.eclipse.php.core.defaultEncoding=
org.eclipse.php.core.includePath=<?xml version\="1.0"
encoding\="UTF-8"?>\r\n<includepath>\r\n</includepath>\r\n
In my php project... I've already try to trick eclipse with no sucess :(
#Wed Jan 30 16:37:07 GMT 2008
eclipse.preferences.version=1
org.eclipse.php.core.includePath=<?xml version\="1.0"
encoding\="UTF-8"?>\r\n<includepath>\r\n\t<includepathentry
createdReference\="true" resource\="MyProj" path\="/MyProj"
contentKind\="source"
kind\="prj">\r\n</includepathentry>\r\n</includepath>\r\n
Thanks for your help
Regards,
Filipe Carvalho
* eclipse-platform-3.3.1.1-win32 + Software Updates (PDT update site +
Europa Discover Site)
Dave Kelsey wrote:
> Adding a nature and build command is probably not enough. For example on
> my system a very simple php project has a .settings and .cache
> directory. The .settings directory has a file called
> org.eclipse.php.core.projectOptions.prefs
>
> You could trying copying one from an empty php project and see if that
> helps
>
> Dave Kelsey
|
|
|
|
Re: Remote System Explorer + Include Path [message #65516 is a reply to message #65495] |
Fri, 01 February 2008 09:54 |
Eclipse User |
|
|
|
Originally posted by: filipe.f.carvalho.gmail.com
When I open a project, I've always to refresh to be able to see the files.
Toshihiro wrote:
> Did you Refresh(press F5) the project?
>
> (I'm not using RSE though)
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03979 seconds