Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345460 - Error writing .classpath adding a library in Build Path
Summary: Error writing .classpath adding a library in Build Path
Status: CLOSED DUPLICATE of bug 194216
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 12:07 EDT by Alessio Pollero CLA
Modified: 2011-05-16 05:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessio Pollero CLA 2011-05-11 12:07:07 EDT
Build Identifier: 20110301-1815

I've imported a project in an Eclipse installation on Windows from a project folder of Eclipse copied from my Mac, then when i try to add some library into the buld path, Eclipse give me an error like this : 

Impossibile add library to the buld path ! Could not write into .classpath file .

If i change the .classpath file with notepad and manually add the xml row of the library the library is loaded correctly, hence my user have the permission for write the file ...

The problem is that if the file .classpath have the hidden attribute, Eclipse give the error could not write .classpath, if i manually remove the hidden attribute to the .classpath file the problem dissapear.

Reproducible: Always

Steps to Reproduce:
1.Mark .classpath with hidden attribute
2.try to load a library in build path (with right click un jar and add to build path)
Comment 1 Dani Megert CLA 2011-05-16 05:28:40 EDT

*** This bug has been marked as a duplicate of bug 194216 ***