How to set source files and outputted classes outside of Eclipse directories [message #19316] |
Tue, 27 August 2002 08:56  |
Eclipse User |
|
|
|
Originally posted by: speterson.frontierproductions.net
Hi all:
I just installed Eclipse and the whole thing looks great except
that I cannot seem to set the source path or the outputted class path to
anything outside of the eclipse "workspace" directory. When I create a
new project, the project is created as a folder underneath the
'Workspace' directory. Then I can modify the 'Java Build Path/Source'
and the
'outputted classpath to any directory I want -- just so long as they are
underneath eclipses 'Workspace' directory.
I would like to be able use more than Eclipse as my development
environment. But it seems that if I use Eclipse, I would have to have
two versions of the source code, one where I normally keep it and one
under the Eclipse 'Workspace' directory. Even worse -- after doing a
build, the classes are all under the workspace directory, meaning I have
to take an extra step to move them to where I want them.
I am sure this is not the way it was intended. Do you know how I might
be able to designate a source directory and a class output directory
that is outside of the Eclipse directory structure?
- Steve
--
Steven Peterson, President
Frontier Productions, Inc.
310 Wesley Drive
Chapel Hill, NC 27516
http://www.frontierproductions.net
Tel: 919-942-1386
Fax: 919-933-2677
|
|
|
Re: How to set source files and outputted classes outside of Eclipse directories [message #19363 is a reply to message #19316] |
Tue, 27 August 2002 11:33  |
Eclipse User |
|
|
|
Originally posted by: harald.theco.de
Steve,
you should actually have asked this question in eclipse.tools (it's
explained on the eclipse.org website and I have set Followup-To to
eclipse.tools).
But anyway:
"Steven Peterson" <speterson@frontierproductions.net> wrote in message
news:3D6B76E3.BE69F37C@frontierproductions.net...
> I just installed Eclipse and the whole thing looks great except
> that I cannot seem to set the source path or the outputted class path to
> anything outside of the eclipse "workspace" directory.
No, a project cannot refer to folders outside the project (at least not for
the source and output path).
> When I create a
> new project, the project is created as a folder underneath the
> 'Workspace' directory. Then I can modify the 'Java Build Path/Source'
> and the 'outputted classpath to any directory I want -- just so long as
> they are underneath eclipses 'Workspace' directory.
You can create the project anywhere you like, just uncheck the "default
location" checkbox and navigate to a folder of your choice. The only things
Eclipse needs there are the .project and .classpath files.
> I would like to be able use more than Eclipse as my development
> environment. But it seems that if I use Eclipse, I would have to have
> two versions of the source code, one where I normally keep it and one
> under the Eclipse 'Workspace' directory. Even worse -- after doing a
> build, the classes are all under the workspace directory, meaning I have
> to take an extra step to move them to where I want them.
I was able to create my Eclipse projects on top of existing project folders
using the steps outlined above, if that's not possible for you I'd be
curious to know what prevents it from working. :-)
Usually I create the Eclipse project at the top of my CVS modules and then
adjust source and output paths to point at the right places in the
structure.
Harald
|
|
|
Re: How to set source files and outputted classes outside of Eclipse directories [message #573917 is a reply to message #19316] |
Tue, 27 August 2002 11:33  |
Eclipse User |
|
|
|
Steve,
you should actually have asked this question in eclipse.tools (it's
explained on the eclipse.org website and I have set Followup-To to
eclipse.tools).
But anyway:
"Steven Peterson" <speterson@frontierproductions.net> wrote in message
news:3D6B76E3.BE69F37C@frontierproductions.net...
> I just installed Eclipse and the whole thing looks great except
> that I cannot seem to set the source path or the outputted class path to
> anything outside of the eclipse "workspace" directory.
No, a project cannot refer to folders outside the project (at least not for
the source and output path).
> When I create a
> new project, the project is created as a folder underneath the
> 'Workspace' directory. Then I can modify the 'Java Build Path/Source'
> and the 'outputted classpath to any directory I want -- just so long as
> they are underneath eclipses 'Workspace' directory.
You can create the project anywhere you like, just uncheck the "default
location" checkbox and navigate to a folder of your choice. The only things
Eclipse needs there are the .project and .classpath files.
> I would like to be able use more than Eclipse as my development
> environment. But it seems that if I use Eclipse, I would have to have
> two versions of the source code, one where I normally keep it and one
> under the Eclipse 'Workspace' directory. Even worse -- after doing a
> build, the classes are all under the workspace directory, meaning I have
> to take an extra step to move them to where I want them.
I was able to create my Eclipse projects on top of existing project folders
using the steps outlined above, if that's not possible for you I'd be
curious to know what prevents it from working. :-)
Usually I create the Eclipse project at the top of my CVS modules and then
adjust source and output paths to point at the right places in the
structure.
Harald
|
|
|
Powered by
FUDForum. Page generated in 0.05568 seconds