Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jbrownlee
Post subject: Problems With Saving JSPs  PostPosted: Jun 30, 2005 - 08:32 PM



Joined: Apr 22, 2005
Posts: 9

First, congrats on the 4.0 beta. I was using 3.7M1 and the corresponding 3.8.4 and I must say that it seems improved to me after one day of use.

I am running a fresh install of Eclipse 3.1 (final) and the corresponding 4.0 MyEclipse on Windows XP. I've been having a problem in the 3.7M1 version with saving which has continued in the new version. I notice it most in JSPs, but it seems to happen in all of the MyEclipse editors (for example, on struts-config.xml and so forth).

When I save a file, I can save it one time. After that, I always get an error dialog that says:

Save could not be completed.
Reason:
Has been changed on the file system

I can use Save As and save the file successfully, but this is somewhat annoying because the position in the file is lost and the editor resets to the top of the file. However, while inconvenient, I can still work this way and save my files.

One thing that might be of interest is that my fiels are on a shared drive, but I never had problems with that in Eclipse 3.0x and MyEclipse 3.8.x. Something changed with the 3.1x versions of Eclipse and the corresponding versions of MyEclipse.

I should also note that I am not having any problems like this with the Eclipse editors; they are working normally.

I've been reading the forums and have not seen anyone else report a similar problem, but perhaps I just missed it.
 
 View user's profile Send private message  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 01, 2005 - 02:00 PM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6798

Quote:

One thing that might be of interest is that my fiels are on a shared drive, but I never had problems with that in Eclipse 3.0x and MyEclipse 3.8.x. Something changed with the 3.1x versions of Eclipse and the corresponding versions of MyEclipse.

That's really peculiar, and some interaction with the shared drive is certainly the culprit. Strangely, nothing in our low-level editor implementations changed. I suppose it could be an Eclipse 3.1 interaction, but it's odd that their editors aren't affected. When the problem occurs, can you see if the mod date on the files is actually changing on the drive between your saves? Also, can you refresh the project in the Package Explorer view (rt-click > Refresh) and then edit more successfully? Can you refresh just the single file when the issue occurs and what does this do?

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jbrownlee
Post subject: response  PostPosted: Jul 11, 2005 - 02:49 PM



Joined: Apr 22, 2005
Posts: 9

Scott:

Sorry for the delay in responding -- I was off last week.

To answer your questions:

* The timestamp on the file is updated when the file is saved. The odd thing is the first save works correctly; only subsequent saves give the error message.

* A refresh of the file has no effect, you still get the error.

* A refresh of the project has no effect.

* The only thing that makes save work properly is to close the file and re-open it. At that point, you get one save again, then all subsequent saves get the error.

Once again, this seems to be the case in any MyEclipse editor, such as JSP, XML, etc.

I note that someone else was getting the same error in another report, although their scenario sounded a little different than mine.
 
 View user's profile Send private message  
Reply with quote Back to top
jbrownlee
Post subject:   PostPosted: Jul 20, 2005 - 05:40 PM



Joined: Apr 22, 2005
Posts: 9

Just curious if anyone has looked at this and whether the answers above are helpful.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jul 21, 2005 - 03:24 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

jbrown,
Please create a workspace on your local driver, and then import your project and try and work on it. Does it behave as it should? I am, as is Scott, convinced that there is something going on with this shared drive or possibly a utility that is run on it that is causing this issue to constantly popup.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
quig06107
Post subject: I'm having same problem - Can't save after first save  PostPosted: Jan 30, 2006 - 01:38 AM



Joined: Jan 30, 2006
Posts: 1

Hi,

I'm new to Eclipse and having the same issue. Once I save a file and continue working, I am unable to save on subsequent tries. I, too, am using mapped drives to a remote file system.

I want to use Eclipse because our shop is working with both CF and Java and I think it would be good to use the same IDE, but this is productivity prohibitive.

Thanks,
quig
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jan 30, 2006 - 06:13 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2281

quig,

I agree it would be impossible to use anything under these circumstances.

If you would please follow the instructions Riyad posted above and let us know what happens?
We'd like to make sure that this is an issue caused due to the fact that the file you are editing is on remote file system.

Best,
Brian.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ben.robert
Post subject: Eclipse - File Save error  PostPosted: Feb 14, 2006 - 02:40 PM



Joined: Feb 14, 2006
Posts: 1

I get the same thing. When I copied my project from the network drive to a local, the problem cleared up.

Also, I can use Save As after getting the error, and that will work.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits