Community
Participate
Working Groups
1) Create two Java projects Project1 and Project2 2) Make the .classpath file for Project1 read-only (RMB on .classpath file, choose Properties, check read only) 3) Update Project1's Java Build Path to include Project2 (RMB on Project1, choose Properties, choose Java Build Path, choose Projects tab) 4) To the user it looks like this has occurred without problem (it's still in Project1's Java Build Path, and calls to the JavaModel return the correct information) but since the .classpath file is read-only, this change has never occured). At this point we believe the user should have been told that the file could not be updated. 5) Bring down the workbench and bring it back up, and it is no longer in Project1's Java Build Path. They need a message to remind them that they need to check out the .classpath file. NOTES:
Martin, please investigate if we swallow an exception or if Core doesn't handle this case.
cant reproduce in 20109: When trying to change the classpath and pressing OK, a error dialog comes up and reports about the read-only state.