Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse IDE don't cut the file if I delete content only append it
Eclipse IDE don't cut the file if I delete content only append it [message #328000] Mon, 12 May 2008 12:02 Go to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

Hello!


Let me understand: you delete some part of file in Eclipse, press save
- the file contents remain the same? (i.e. you close Eclipse, and then
open it again - you see the original file)

YES, or sometimes I see the ORIGINAL file and where I deleted a file I
show ?> chars and all content same with original file BUT all times the
file size don't changed!

I think this is the biggest bug in ECLIPSE what make it useless :-(


> 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?
>


For example detailed description, original file:

<?
php code 1

php code 2

php code 3
?>

I delete php code 2 + php code 3 line, left only 1 line, this will be:

<?
php code 1
?>

BUT!!!!!!!!!! I show this with text editor or if reopen file:

<?
php code 1
?>
p code 2

php code 3
?>

And I show CORRECTLY the file if I press "SAVE" after first modification
(but really file size don't changed, only date updated). If I close file +
open again I see the bugged source -OR- I see the only 1 line source
correctly BUT the file bugged because Eclipse stop display after first ?> .
If I use ANY OTHER non JAVA based editor = ALL WORKS FINE and no this bug.

---------

BUT file size will 100% same, file date changed!
So... Eclipse and ALL JAVA IDE don't MODIFY TO FILE SIZE SMALLER.

If I add new lines = ALL OK, but if delete = this sh1t happends...

I don't belive with this bug somebody can use and JAVA IDE... Eclipse
useless with this bug...


Thanks!
Mr. Hama
Re: Eclipse IDE don't cut the file if I delete content only append it [message #328002 is a reply to message #328000] Mon, 12 May 2008 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

The original file: http://nopaste.info/a4107dc260.html
Buggy file: http://nopaste.info/473967ac9e.html
And what is correct: (made from original by notepad):
http://nopaste.info/0d21798c72.html
Re: Eclipse IDE don't cut the file if I delete content only append it [message #328005 is a reply to message #328000] Mon, 12 May 2008 13:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

More info about this with example:


The original file: http://nopaste.info/a4107dc260.html
Buggy file: http://nopaste.info/473967ac9e.html
And what is correct: (made from original by notepad):
http://nopaste.info/0d21798c72.html

Thank you!
jEDIT works good... EC bug! [message #328007 is a reply to message #328000] Mon, 12 May 2008 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

Hi!


More 1 example about this:

I see this at eclipse: http://nopaste.info/4f39d0a3b4.html
And the real file after editing or after reopen:
http://nopaste.info/1c9b090e9c.html

Need more example about this bug?

I tried jEDIT and works 100% correctly, so it's not fully JAVA bug.

Thanks.
Re: Eclipse IDE don't cut the file if I delete content only append it [message #328085 is a reply to message #328000] Tue, 13 May 2008 19:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

Eclipse developers!


After I'm using EC 3.3.0 this bug is starting again... and still don't
change the file size to smaller...

Good all for 1-3 times AFTER don't change file size to smaller again...

So = this bug still extist after full XP SP3 install + full clean Eclipse
install + full JRE install ...

I have clean, legal, fully reinstalled Widows XP SP3 PC and still this
bug...
(With SP2 100% same)

How can use other developers Eclipse with this fatal bug?!

I use Eclipse for editing PHP + eclipse-FTP-WebDAV for FTP support....
But without eclipse-FTP-WebDAV have this bug, the pure Eclipse do same bug.

I tested with test-framework and no error found...


I do:

1. format HDD
2. install Windows XP
3. install JRE what versions needed
4. download eclipse from www.eclipse.org, extract, run
5. this bug found.

PC: Intel Core 2 Duo, 2 GB ram, Asus motherboard

ALL PROGRAMS WORK CORRECTLY expect ECLIPSE!
Mr. Hama
Re: Eclipse IDE don't cut the file if I delete content only append it [message #328087 is a reply to message #328085] Tue, 13 May 2008 20:06 Go to previous messageGo to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 554
Registered: December 2017
Senior Member
I just repeated your test with a similar (though not exact)
configuration and it works fine for me.

Is anything else different?

Are you using a plug-in specifically for PHP development?

I've been using the PDT (http://www.eclipse.org/pdt) for a while now and
it works fine.

I recall hearing something about Windows XP handling some parts of the
disk specially. For example, if you try to write in the "Program Files"
directory, it actually writes the data in your user directory somewhere.
Maybe something like that is tripping you up. What directory is your
workspace in?

Wayne

On Tue, 2008-05-13 at 19:54 +0000, Mr. Hama wrote:
> Eclipse developers!
>
>
> After I'm using EC 3.3.0 this bug is starting again... and still don't
> change the file size to smaller...
>
> Good all for 1-3 times AFTER don't change file size to smaller again...
>
> So = this bug still extist after full XP SP3 install + full clean Eclipse
> install + full JRE install ...
>
> I have clean, legal, fully reinstalled Widows XP SP3 PC and still this
> bug...
> (With SP2 100% same)
>
> How can use other developers Eclipse with this fatal bug?!
>
> I use Eclipse for editing PHP + eclipse-FTP-WebDAV for FTP support....
> But without eclipse-FTP-WebDAV have this bug, the pure Eclipse do same bug.
>
> I tested with test-framework and no error found...
>
>
> I do:
>
> 1. format HDD
> 2. install Windows XP
> 3. install JRE what versions needed
> 4. download eclipse from www.eclipse.org, extract, run
> 5. this bug found.
>
> PC: Intel Core 2 Duo, 2 GB ram, Asus motherboard
>
> ALL PROGRAMS WORK CORRECTLY expect ECLIPSE!
> Mr. Hama
>
Re: Eclipse IDE don't cut the file if I delete content only append it [message #328276 is a reply to message #328087] Tue, 20 May 2008 16:22 Go to previous message
Eclipse UserFriend
Originally posted by: hamasaki.citromail.hu

No, I use fat32 and normal folders...
Previous Topic:Problem while accessing db2 from plugin project
Next Topic:How to add Help Content button to the toolbar
Goto Forum:
  


Current Time: Sat Nov 09 05:17:41 GMT 2024

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

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

Back to the top