upgrade from 1.0.5 to 2.0.0RC1 [message #85911] |
Wed, 10 December 2008 09:52  |
Eclipse User |
|
|
|
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 10:50   |
Eclipse User |
|
|
|
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 #86109 is a reply to message #86036] |
Wed, 10 December 2008 13:08   |
Eclipse User |
|
|
|
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 :(
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03934 seconds