[ phpeclipse-Bugs-1478298 ] Include file warning

"SourceForge.net" <[email protected]> Thu, 10 May 2007 15:40:14 -0700
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1478298, was opened at 2006-04-28 05:10
Message generated for change (Comment added) made by emann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1478298&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: hayy (sduman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Include file warning

Initial Comment:
When a file is included in another file, an
include_once declaration in included file is
considering a Warning by php editor, even working
perfect at runtime.

for Instance:

file hiearvhy:
.
..
login.php
include/mssql_conn_open.php
form/relation_form.php
form/relation.php


login.php: ok
----
include_once "form/relation_form.php";
----

relation_form.php: ! ok
----
include_once "include/mssql_conn_open.php"; //this is
considered as warninig
----




----------------------------------------------------------------------

>Comment By: Edward Mann (emann)
Date: 2007-05-10 17:40

Message:
Logged In: YES 
user_id=430467
Originator: NO

Cannot reproduce in 1.1.8. Closing bug. If you can reproduce it with 1.1.8
please re-open the bug.

Thanks.

----------------------------------------------------------------------

Comment By: Luis Bernardo (lmpmbernardo)
Date: 2006-07-29 00:15

Message:
Logged In: YES 
user_id=137011

you should not code that way. use full paths or relative
paths. the editor cannot know how you will use the code and
assumes the most logical thing. if there is no include
directory inside your form directory then you should get an
warning.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1478298&group_id=57621

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/