Bug 336851 - using a symbolic link breaks PHP syntax checker
Summary: using a symbolic link breaks PHP syntax checker
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 12:39 EST by Andrea CLA
Modified: 2020-05-14 10:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea CLA 2011-02-10 12:39:05 EST
Build Identifier: Version: Helios Service Release 1 Build id: 20100917-0705

If, inside a PHP project, I put a symbolic link to another PHP project, after the first save of a page,
the PHP syntax checker doesn't work anymore.

Reproducible: Always

Steps to Reproduce:
1. Create new PHP project 'test1'. Inside the project put a PHP file 'file1.php'
2. Create new PHP project 'test2'. Inside the project put a PHP file 'file2.php'
3. Edit file2.php and cause some syntax error; the red error icon will appear
4. Now click right mouse over project test2 and choose 'build path' ->link source
5. choose linked folder location: workspace/test1; type foldername: 'test1alias'
6: edit file2 (any edit) and save the file
7: from this moment any editing inside test2 project will not anymore checked
8: deleting the symbolic link doesn't replace the correct situation
Comment 1 Andrea CLA 2011-02-11 07:29:06 EST
Other tests done:
Eclipse Galileo on Mac OSX Leopard 10.5.8 has NOT this bug. 
Eclipse Helios (same version tested on OSX) on Linux HAS the same bug


Workaround before doing the symbolic link:

When you build the symbolic link, if you click on:
"Update exclusion filters in other source folders to solve nesting".
In this way the bug is NOT triggered.

Workaround after doing the buggy symbolic link:
click right mouse on the 'broken' project: Build Path->Configure Build Path...
Edit the following rules:
  included:(All)
  excluded: select the path referred by the symbolic link

The bug seems related to DTLK.