create a java project [message #510870] |
Thu, 28 January 2010 16:50 |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
<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.
|
|
|
Powered by
FUDForum. Page generated in 0.03040 seconds