Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » create a java project(trouble with using source and bin directories)
create a java project [message #510870] Thu, 28 January 2010 16:50
Eclipse UserFriend
I'm fairly new to eclipse so this might be a pretty easy question. From what I can tell, everyone says that I should establish a single workspace for all my work and just use working sets to limit what I am working with at any one time. So, I have created a workspace in my documents directory to hold my preferences etc.

However, the java source I need to work on isn't a subdirectory of my workspace. It comes from a completely different directory that is linked into a source control system.

When I try to create a new project in my workspace, and add the source folder to it...I've tried both the "Create new source folder" and "Link additional source" options...it keeps interspersing the class files with the source files.

If I try to create a project from existing source, it greay out all the options and won't even let me pick the project layout to use...

Any suggestions would be appreciated.

thanks
Re: create a java project [message #510875 is a reply to message #510870] Thu, 28 January 2010 12:42 Go to previous message
Eclipse UserFriend
<mccorb@cox.net> wrote in message news:hjt0rp$7ap$1@build.eclipse.org...
> I'm fairly new to eclipse so this might be a pretty easy question. From
> what I can tell, everyone says that I should establish a single workspace
> for all my work and just use working sets to limit what I am working with
> at any one time. So, I have created a workspace in my documents directory
> to hold my preferences etc.
> However, the java source I need to work on isn't a subdirectory of my
> workspace. It comes from a completely different directory that is linked
> into a source control system.
> When I try to create a new project in my workspace, and add the source
> folder to it...I've tried both the "Create new source folder" and "Link
> additional source" options...it keeps interspersing the class files with
> the source files.
> If I try to create a project from existing source, it greay out all the
> options and won't even let me pick the project layout to use...
>
> Any suggestions would be appreciated.
> thanks

Sounds like you need to define a separate output folder for your project.
Select Project->Properties->Java Build Path. On the Source tab, you can
define the default output folder. You can also use the allow output folders
for source check box to define output folders for individual source folders.
Previous Topic:Text formatting problem: Missing context menu and max line length parm
Next Topic:Need Sample Java Eclipse Project/Program code
Goto Forum:
  


Current Time: Thu Mar 27 17:12:09 EDT 2025

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

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

Back to the top