Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » classpath issue(How to configure classpath?)
classpath issue [message #835571] Tue, 03 April 2012 12:10 Go to next message
Jay krish is currently offline Jay krishFriend
Messages: 2
Registered: April 2012
Junior Member
.classpath file is NOT read-only and checked out in Clear Case. Even then I get the error message that the file is read only, while trying to add/remove jars in "java build path"

I am new to Eclipse environment, Can anyone please help me know the importance of .classpath file. How it will be useful? Very Happy


Re: classpath issue [message #835584 is a reply to message #835571] Tue, 03 April 2012 12:27 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.04.03 6:11, Jay krish wrote:
> classpath file is NOT read-only and checked out in Clear Case. Even then
> I get the error message that the file is read only, while trying to
> add/remove jars in "java build path"
>
> I am new to Eclipse environment, Can anyone please help me know the
> importance of .classpath file. How it will be useful? :d

This file lists all the JARs that support your project and performs some
other tasks such as supply links to Javadoc for those JARs that you set
up if in coding you wish to see more usefully the interfaces therein or,
when debugging, wish to step debug down inside them.

The JARs are thereby considered to be "on your class path" for the
purpose of compilation, but as I noted above, also for the Editor's use
(Content Assist, what Visual Studio calls Intellisense) and the
debugger's use.

When you are in Build Path -> Configure Build Path -> Libraries (tab)
and making changes, Eclipse needs write access to this file.
Re: classpath issue [message #835696 is a reply to message #835571] Tue, 03 April 2012 15:05 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Jay krish wrote on Tue, 03 April 2012 08:10
.classpath file is NOT read-only and checked out in Clear Case. Even then I get the error message that the file is read only, while trying to add/remove jars in "java build path"

Is it merely in a project loaded from ClearCase or actually checked out for write access? IIRC, ClearCase uses a pessimistic model where you have to, at some point, explicitly declare you want to modify a file before you can make any changes to it, and that may supersede any filesystem-level notion of readonlyness.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Where do general Eclipse questions go?
Next Topic:Why this complaint in web.xml.. no issues building. no error in IDEA
Goto Forum:
  


Current Time: Fri Mar 29 07:12:07 GMT 2024

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

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

Back to the top