Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP M4 and PHP?
WTP M4 and PHP? [message #113385] Thu, 23 June 2005 15:29 Go to next message
Eclipse UserFriend
Originally posted by: beuys.wolfgang-egger.de

Servus,

I just have upgraded to eclipse 3.1 and have installed WTP M4. Before
that, I have used phpeclipse for the PHP-stuff i had to work on, but it
seems, that it can not coexist with wtp.

I'm happy about the features of wtp, so I would lik to keep it using,
but I have to write PHP-code too. So has anybody any experience on
editing PHP-Files while have installed wtp?

Have a nice and peacfully day

Wolfgang
Re: WTP M4 and PHP? [message #113423 is a reply to message #113385] Thu, 23 June 2005 17:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

What is the specific problem that tells you phpeclipse doesn't coexist?
Is it that you can't open the PHP editor?

Bob Foster

Wolfgang Egger wrote:
> Servus,
>
> I just have upgraded to eclipse 3.1 and have installed WTP M4. Before
> that, I have used phpeclipse for the PHP-stuff i had to work on, but it
> seems, that it can not coexist with wtp.
>
> I'm happy about the features of wtp, so I would lik to keep it using,
> but I have to write PHP-code too. So has anybody any experience on
> editing PHP-Files while have installed wtp?
>
> Have a nice and peacfully day
>
> Wolfgang
Re: WTP M4 and PHP? [message #113544 is a reply to message #113423] Fri, 24 June 2005 02:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beuys.wolfgang-egger.de

Servus Bob,

Bob Foster wrote:
> What is the specific problem that tells you phpeclipse doesn't coexist?
> Is it that you can't open the PHP editor?
Yes, thats the problem. I can't assign the PHP-Editor to PHP-Files and
the WTP-HTML-Editor isn't able to handle Files with suffix PHP.

Thanx in advance ;-)

Wolfgang
Re: WTP M4 and PHP? [message #113558 is a reply to message #113544] Fri, 24 June 2005 03:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

You've got three different editors installed all of which want to edit
..php files?

Did you try to open the file with an explicit command, e.g., right-click
on the file name in the explorer and select Open With > editor of your
choice?

Bob

Wolfgang Egger wrote:
> Servus Bob,
>
> Bob Foster wrote:
>
>> What is the specific problem that tells you phpeclipse doesn't
>> coexist? Is it that you can't open the PHP editor?
>
> Yes, thats the problem. I can't assign the PHP-Editor to PHP-Files and
> the WTP-HTML-Editor isn't able to handle Files with suffix PHP.
>
> Thanx in advance ;-)
>
> Wolfgang
Re: WTP M4 and PHP? [message #113609 is a reply to message #113558] Fri, 24 June 2005 07:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beuys.wolfgang-egger.de

Servus Bob,
Bob Foster wrote:
> You've got three different editors installed all of which want to edit
> .php files?
oh no, one would be enaugh ;-)

There is this preferences/file associations Dialog, where you can define
what editor handles wich FileType.
If I have only PHPEclipse installed, I can associate *.php wit PHP
Editor, one of the editors from PHPEclipse.
If I have installed WTP too, the entry for the PHP Editor is not there
anymore.

> Did you try to open the file with an explicit command, e.g., right-click
> on the file name in the explorer and select Open With > editor of your
> choice?
yes, but there is only the HTML Source Page Editor from WTP and this one
can't handle PHP-Files. "Can't handle" means, there is no
Syntax-Hihglighting, no Code-Completion .... no anything ....

Now I'm looking for a possibility to have WTP installed AND have this
nice features editing *.php

Wolfgang
Re: WTP M4 and PHP? [message #113691 is a reply to message #113609] Fri, 24 June 2005 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

This is not really a shot in the dark, though it sounds like one. Get to
the latest 3.1 version, which will be 3.1RC4 sometime later today and
the latest WTP integration build. (To do one you need to do the other;
WTP M4 won't run in the RC-series.) The earlier Eclipse milestones had
some bugs in the new content type stuff; that may be what you're seeing.

Bob

Wolfgang Egger wrote:
> Servus Bob,
> Bob Foster wrote:
>
>> You've got three different editors installed all of which want to edit
>> .php files?
>
> oh no, one would be enaugh ;-)
>
> There is this preferences/file associations Dialog, where you can define
> what editor handles wich FileType.
> If I have only PHPEclipse installed, I can associate *.php wit PHP
> Editor, one of the editors from PHPEclipse.
> If I have installed WTP too, the entry for the PHP Editor is not there
> anymore.
>
>> Did you try to open the file with an explicit command, e.g.,
>> right-click on the file name in the explorer and select Open With >
>> editor of your choice?
>
> yes, but there is only the HTML Source Page Editor from WTP and this one
> can't handle PHP-Files. "Can't handle" means, there is no
> Syntax-Hihglighting, no Code-Completion .... no anything ....
>
> Now I'm looking for a possibility to have WTP installed AND have this
> nice features editing *.php
>
> Wolfgang
Re: WTP M4 and PHP? [message #113703 is a reply to message #113544] Fri, 24 June 2005 13:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavery.us.ibm.com

Wolfgang Egger wrote:
> Servus Bob,
>
> Bob Foster wrote:
>
>> What is the specific problem that tells you phpeclipse doesn't
>> coexist? Is it that you can't open the PHP editor?
>
> Yes, thats the problem. I can't assign the PHP-Editor to PHP-Files and
> the WTP-HTML-Editor isn't able to handle Files with suffix PHP.
>
> Thanx in advance ;-)
>
> Wolfgang

If you want to open a php file with the WTP HTML editor, you might try
adding "*.php" extension for HTML content type.

window > preferences > general > content types
then under HTML add the *.php extension.

-phil
Re: WTP M4 and PHP? [message #113874 is a reply to message #113691] Sat, 25 June 2005 04:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: beuys.wolfgang-egger.de

Servus Bob,

Bob Foster wrote:
> This is not really a shot in the dark, though it sounds like one. Get to
> the latest 3.1 version, which will be 3.1RC4 sometime later today and
> the latest WTP integration build. (To do one you need to do the other;
> WTP M4 won't run in the RC-series.) The earlier Eclipse milestones had
q> some bugs in the new content type stuff; that may be what you're seeing.

Thanx a lot for that hint!! Now everything works well.

I did the mistake to follow exactly the steps described at the wtp-page ;-)

Have a nice and peacefully day

Wolfgang
Re: WTP M4 and PHP? [message #116697 is a reply to message #113385] Wed, 06 July 2005 10:58 Go to previous message
Eclipse UserFriend
Originally posted by: zen.rem.this.debian.linux.org.pl

Wolfgang Egger napisał(a):
> Servus,
>
> I just have upgraded to eclipse 3.1 and have installed WTP M4. Before
> that, I have used phpeclipse for the PHP-stuff i had to work on, but it
> seems, that it can not coexist with wtp.
>
> I'm happy about the features of wtp, so I would lik to keep it using,
> but I have to write PHP-code too. So has anybody any experience on
> editing PHP-Files while have installed wtp?
>
Accordingo to PHPEclipse webpage, this plugin has problems working in
3.1 release.

--
Tomasz 'Zen' Napierala
JID: tzn@jabber.org | GSM: 509694518
http://debian.linux.org.pl | http://www.alrauna.org
RLU: 312924 | Debian SID | Firefox 1.0
Previous Topic:Remote JSP debugging with non-J2EE project
Next Topic:context parameters
Goto Forum:
  


Current Time: Wed May 07 18:14:09 EDT 2025

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

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

Back to the top