Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Project not on build path
Project not on build path [message #312733] Sun, 18 February 2007 03:18 Go to next message
No real name is currently offline No real nameFriend
Messages: 38
Registered: July 2009
Member
I downloaded a couple of external libraries source code from CVS/SVN, and am
trying to browse through the source using things like "Open Declaration" and
"Open Call Hierarchy", but I'm getting the error "The resource is not on the
build path of a Java project."

A quick web search revealed it might be because the source code needs to be
in a source folder... I think I needed to check it out into a Java project
as opposed to a regular project, is this correct?

If so, is there any way to change project types? I tried doing a New ->
Project -> Java Project, "Create project from existing source", but it says
that I "Cannot create project content in workspace".

Is my only option here to download all those libraries from CVS/SVN from
scratch?

Thanks.
Re: Project not on build path [message #312743 is a reply to message #312733] Mon, 19 February 2007 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

Hi VK

You may try following steps:
1. Create new JAVA project.
2. Manually copy checked out files to the new project (into src if
exists). Do not forget CVS/SVN metadata.
3. Refresh workspace (F5).


HTH,
Chris
Re: Project not on build path [message #312751 is a reply to message #312733] Mon, 19 February 2007 12:30 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can manipulate what are source folders within a project using the
project properties>Java Build Path>Sources tab.

Later,
PW


Previous Topic:Refresh decorator
Next Topic:Customization of Actions in Project Explorer
Goto Forum:
  


Current Time: Fri Mar 29 11:19:13 GMT 2024

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

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

Back to the top