List Info

Thread: Strange Eclipse error: cannot change the .php file size to smaller, cannot cut content




Strange Eclipse error: cannot change the .php file size to smaller, cannot cut content
country flaguser name
Hungary
2008-05-11 21:35:19
Dear Eclipse developers!


My problem is:

Any version of Eclipse (newest, old 3.2, easyeclipse, AptanaStudio, etc... ) cannot change the PHP's file size to smaller - only to bigger!

my php file 1000 byte and I delete 500 byte and save: I see good the saved file in eclipse... but saved file don't changed... only ?> chars at 500 byte... but other 500 byte unchanged and still 1000 byte the file.

If I add new content to 1000 byte and will 1200 byte = ALL OK. But if I delete content = will 1200 byte again and buggy file from this point...

file is UTF8 but tried with ASCII file too... all same...

Help me! I think it's java or eclipse bug but maybe about java...

Seems like file handle cannot allowed to cut file, only to append content... It's all about java?
If I edit with this file with notepad / any other editor = can cut the file content...

Enviroment:

Hardware: Intel Core 2 Duo E6550, 2 GB RAM, SATA, desktop PC

Software: Windows XP SP2 English, IE7, Firefox 2 + 3 beta

jre-1_5_0_11-windows-i586-p
but tried with:
jre-1_5_0_14-windows-i586-p
jre-1_5_0_06-windows-i586-p
j2re-1_4_2_16-windows-i586-p
j2sdk-1_4_2_17-windows-i586-p

And all same...

Last version checked:

pdt-all-in-one-S20080505_RC1-win32.zip


So... I can't belive it's common bug becuase no developer can use eclipse by this big bug. What is the solution?

Thanks!
Mr. Hama

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )