Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » upgrade from 1.0.5 to 2.0.0RC1
upgrade from 1.0.5 to 2.0.0RC1 [message #85911] Wed, 10 December 2008 14:52 Go to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Hi,

I have upgraded to 2.0.0RC1 and I want to ask you if it's needful somehow upgrade metadata
for PDT projects, because I have problem e.g. with classic PHP functions in Code assist,
because code assist isn't showing up for this functions e.g. session_*, fopen, fwrite, ...

What I must to do ? Because all this functions are in the PHP Language Library include path.

Thank for advices
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #85961 is a reply to message #85911] Wed, 10 December 2008 15:50 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
PDT 2.0 introduces settings called "PHP Include path" and "Build path"
that should help you better manage your project.

PHP Include path items (right click on project -> PHP Include path) are
used by the
1. include() statement resolvers
2. help you include extra libraries and other projects and
3. set the php_includepath (used also when running a script as include
path
entries as part of php.ini).

Build path (right click on project -> Build path) items are used to
declare what are the sources (application) and resources (public) of your
project. A source is a php folder / file that should be built by Eclipse
builders and then Eclipse will provide code assist for its content. a
resource is a file / folders that contains images, clean htmls, css,
javascripts that should not be included in the list of "built" resources.

refer to http://wiki.eclipse.org/PDT/2.0_Plan for more details about it
(dev2qa about include path / build path and new project wizard).

Hoe this helps,




sNop wrote:

> Hi,

> I have upgraded to 2.0.0RC1 and I want to ask you if it's needful somehow
upgrade metadata
> for PDT projects, because I have problem e.g. with classic PHP functions in
Code assist,
> because code assist isn't showing up for this functions e.g. session_*,
fopen, fwrite, ...

> What I must to do ? Because all this functions are in the PHP Language
Library include path.

> Thank for advices
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #85976 is a reply to message #85911] Wed, 10 December 2008 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.zend.com

What version are you upgrading from?
Can you try to create a new project and see whether code assist for PHP
function works there?
If it doesn't help, can you try to switch your workspace to a new location
and try there?

Thanks a lot.

"sNop" <snop3@seznam.cz> wrote in message
news:ghol20$j76$1@build.eclipse.org...
> Hi,
>
> I have upgraded to 2.0.0RC1 and I want to ask you if it's needful somehow
> upgrade metadata
> for PDT projects, because I have problem e.g. with classic PHP functions
> in Code assist,
> because code assist isn't showing up for this functions e.g. session_*,
> fopen, fwrite, ...
>
> What I must to do ? Because all this functions are in the PHP Language
> Library include path.
>
> Thank for advices
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86036 is a reply to message #85976] Wed, 10 December 2008 16:22 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Hi, Michael Spector napsal(a):
> What version are you upgrading from?

From last PDT 1.0.5

> Can you try to create a new project and see whether code assist for PHP
> function works there?

doesn't work.

> If it doesn't help, can you try to switch your workspace to a new location
> and try there?

doesn't work as well

>
> Thanks a lot.
>

http://tinyurl.com/6h4pqy
http://tinyurl.com/6m3twj


I want to warn, that I have problem with upgrade from PDT 1.0.5 to PDT 2.0.0RC1, I have
got warnnig that PDT is already installed, so I have to uninstall PDT 1.0.5 and then
install PDT 2.0.0RC1, but not all-in-one, but from download site
http://download.eclipse.org/tools/pdt/updates/2.0/milestones /

I don't know why it doesn't work :(
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86051 is a reply to message #86036] Wed, 10 December 2008 16:38 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
I have installed DLTK from http://download.eclipse.org/technology/dltk/updates-dev/1.0 but
in my configuration is DLTK 1.0.0-v2008109.

So i download last integration build dltk-core-I-I200812080720-200812080720-incubation and
after installtion is still the same so DLTK 1.0.0-v2008109
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86065 is a reply to message #86051] Wed, 10 December 2008 17:00 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
but isset, echo, return and possible few other functions works properly.
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86109 is a reply to message #86036] Wed, 10 December 2008 18:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.zend.com

Hi,

Let me understand:

1. You open PDT 2.0 with new workspace.
2. Create new PHP project.
3. Create new PHP file inside the project.
4. Open the file in the editor.
5. Try to Code-Assist some PHP function, like: pr|, and you don't see
printf() ?

If this scenario doesn't work for you, then the upgrade process was wrong,
probably.
Can you explain you upgraded it?

Thanks!

"sNop" <snop3@seznam.cz> wrote in message
news:ghoqb1$68a$1@build.eclipse.org...
> Hi, Michael Spector napsal(a):
>> What version are you upgrading from?
>
> From last PDT 1.0.5
>
>> Can you try to create a new project and see whether code assist for PHP
>> function works there?
>
> doesn't work.
>
>> If it doesn't help, can you try to switch your workspace to a new
>> location
>> and try there?
>
> doesn't work as well
>
>>
>> Thanks a lot.
>>
>
> http://tinyurl.com/6h4pqy
> http://tinyurl.com/6m3twj
>
>
> I want to warn, that I have problem with upgrade from PDT 1.0.5 to PDT
> 2.0.0RC1, I have
> got warnnig that PDT is already installed, so I have to uninstall PDT
> 1.0.5 and then
> install PDT 2.0.0RC1, but not all-in-one, but from download site
> http://download.eclipse.org/tools/pdt/updates/2.0/milestones /
>
> I don't know why it doesn't work :(
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86124 is a reply to message #86109] Wed, 10 December 2008 18:34 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Michael Spector napsal(a):
> Hi,
>
> Let me understand:
>
> 1. You open PDT 2.0 with new workspace.
> 2. Create new PHP project.
> 3. Create new PHP file inside the project.
> 4. Open the file in the editor.
> 5. Try to Code-Assist some PHP function, like: pr|, and you don't see
> printf() ?
>

I have done this exactly as you write and as you can see in images which I have posted in
previous post any code assist.

> If this scenario doesn't work for you, then the upgrade process was wrong,
> probably.
> Can you explain you upgraded it?
>

As I wrote I tried upgrade throught ganymede update from site
http://download.eclipse.org/tools/pdt/updates/2.0/milestones / but eclipse showed that PDT
is already installed (PDT 1.0.5 was installed). So I switch up Classic update and I
uninstalled PDT 1.0.5 and Zend Debugger, restart I added dltk update site and PDT update
site and install this two plugins. Restart and throught classic update I installed Zend
debugger, restart.

> Thanks!
>

I try reinstall PDT and DLTK and I send if it was success.
Re: upgrade from 1.0.5 to 2.0.0RC1 [message #86183 is a reply to message #86109] Wed, 10 December 2008 20:41 Go to previous message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Hi Michael Spector napsal(a):

so I have reinstall eclipse and now it works good, i don't know why it didn't work
Previous Topic:[Announce] PDT 2.0.0RC1 is available
Next Topic:Can't use custom DTD with PDT?
Goto Forum:
  


Current Time: Sat Jul 27 15:30:13 GMT 2024

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

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

Back to the top