Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 182887

Summary: [PropertiesDialog] Cannot modify project properties
Product: [Eclipse Project] Platform Reporter: Clement Mathieu <clement.mathieu>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 Keywords: helpwanted
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Clement Mathieu CLA 2007-04-18 04:22:02 EDT
I tried to move my workspace, created on a Linux machine by eclipse 3.3M6 x86_64, to the Desktop of a Windows machines. The workspace is now located at "C:\Document and Settings\cmathieu\Bureau\workspace".

I'm able to open and modify the code. Classes are correctly builded. 

But run targets are all broken. When starting a run a "NoClassDefFoundError: and" is throwed. Obviously this 'and' comes form 'Documents and Settings'. I believe something is not protected in the command line.

I addition I can't edit project properties anymore. Eclise tells me the .classpath can't be written.

I haven't been able to find the same issue on google/bugzilla. I can provide more information if needed.

Thanks.
Comment 1 Clement Mathieu CLA 2007-04-18 04:29:12 EDT
If I put the workspace into "D:\workspace" everything is fine. 

Something needs to be protected in the command line !
Comment 2 Jerome Lanneluc CLA 2007-04-18 04:53:24 EDT
Moving to JDT/Debug for the command line protection.
(note I don't think that moving a workspace from one platform to another is supported)
Comment 3 Clement Mathieu CLA 2007-04-18 05:03:53 EDT
I found why run targets were broken.

I use as VM argument -Djava.security.policy=${resource_loc:/Project/xxx.java.policy}. ${resource_loc} does not protect the file name and users have to do it manually. I didn't know, it's my bad ;-/

However I still can't modify project properties. For example if perform modification inside the "order and export" pannel and click "Ok". I'm getting
"Could not write file C:\Documents and Settings\....\Poject\.classpath".

Since the summary is now misleading should I close this bug ?
Comment 4 Darin Wright CLA 2007-04-18 09:17:44 EDT
Moving to platform UI for problem modifying project properties.
Comment 5 Tod Creasey CLA 2007-04-19 08:01:11 EDT
Are uou having this problem because of write protection on your metadata?
Comment 6 Clement Mathieu CLA 2007-04-19 08:30:09 EDT
After a quick look, .metadata and all subdirectory are listed as rwx.
 
I can provide the workspace if needed. 
Comment 7 Susan McCourt CLA 2009-07-09 19:36:39 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 8 Eclipse Webmaster CLA 2019-09-06 16:04:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 9 Eclipse Genie CLA 2021-10-17 09:13:59 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.