Problem setting up eclipse on workstations [message #73802] |
Fri, 13 June 2003 11:43  |
Eclipse User |
|
|
|
Originally posted by: mikael.petterson.era.ericsson.se
Hi,
I have installed Eclipse 2.1 on my workstation (Solaris 5.8). We use it
together with Rationals ClearCase.
I have to stand in my home directory and execute eclipse. I create a new
project for java. I name the project, MyProjectA. Then I select "project
content" to be my vob directory (clearcase), /vobs/product. I have a src
directory under there and it seems like Eclipse looks for a src directory.
In the next pane in the wizard, Java settings, I see the following as
"source folders for build path"
MyProjectA/src
When I lookinto clearcase I find that I get .classpath and .project files
as well as a classes/bin under /vobs/product. Like this:
/vobs/product/classes/
/vobs/product/.classpath
/vobs/product/.project
I think it is more appropriate to keep your project settings/class files
under a workspace directory in my home directory (since all my views in
clearcase seems to be cluttered with files). If I select that ( it is
default for "project content") I have problems to include the src
directory from the vobs. I get some other rubbish. Is there anyone out
there who could give me a hand.
Is it possible to share project settings in my workspace so not everyone
in my team has to configure their own project?
All help is very much appreciated.
//Mikael
|
|
|
|
|
Re: Problem setting up eclipse on workstations [message #75664 is a reply to message #75106] |
Mon, 16 June 2003 12:37  |
Eclipse User |
|
|
|
Originally posted by: d.wegener(spamblock).attbi.com
"Mikael Petterson" <mikael.petterson@era.ericsson.se> wrote in message
news:bcjule$k34$1@rogue.oti.com...
> Thanks Dave for your quick answer.
>
> When I have an existing java source tree in clearcase (not created in
> eclipse) and want to make it an eclipse project. How do I go about doing
> that?
>
> New Project --> Java, Project
> Next
> Project name: test
>
> *********** Here is the place for confusion ***********
>
> Project contents have two options:
> Checked checkbox:
> * "Use default" and a workspace is created under my home directory.
> * "Directory"
>
> *******************************************************
>
> When do I use either of them? Or is there another way to create an eclipse
> project from existing java source?
>
The project directory is where Eclipse will look for all resources (source
files, etc.) If you don't clear the Use Default checkbox, the directory
will be created in your workspace. You will then need to import source
files into it or create all files from scratch. If you clear the Use
Default, the project directory will be where ever you specify. Eclipse will
create 2 small files in this directory (.classpath and .project) These are
used by Eclipse to understand directory structures and what type of project
it is. If there are existing files in the directory, Eclipse will attempt
to add them to the project. You will probably need to specify source
folders to make sure that Eclipse knows the base of your package hierarchy.
See my other post also.
> All help is very much appreciated.
>
> //Mikael
>
>
>
> Dave Wegener wrote:
>
> > Mikael Petterson wrote:
>
> > > Hi,
>
> > > I have installed Eclipse 2.1 on my workstation (Solaris 5.8). We use
it
> > > together with Rationals ClearCase.
>
> > > I have to stand in my home directory and execute eclipse. I create a
new
> > > project for java. I name the project, MyProjectA. Then I select
"project
> > > content" to be my vob directory (clearcase), /vobs/product. I have a
src
> > > directory under there and it seems like Eclipse looks for a src
directory.
>
> > > In the next pane in the wizard, Java settings, I see the following as
> > > "source folders for build path"
>
> > > MyProjectA/src
>
> > > When I lookinto clearcase I find that I get .classpath and .project
files
> > > as well as a classes/bin under /vobs/product. Like this:
>
> > > /vobs/product/classes/
> > > /vobs/product/.classpath
> > > /vobs/product/.project
>
> > > I think it is more appropriate to keep your project settings/class
files
> > > under a workspace directory in my home directory (since all my views
in
> > > clearcase seems to be cluttered with files). If I select that ( it is
> > > default for "project content") I have problems to include the src
> > > directory from the vobs. I get some other rubbish. Is there anyone out
> > > there who could give me a hand.
>
> > > Is it possible to share project settings in my workspace so not
everyone
> > > in my team has to configure their own project?
>
> > Check the .classpath and .project files into ClearCase. This will allow
> > everyone on you team to access the information. Have them perform an
> > Import of an existing project.
>
> > You may also want to look at the ClearCase plugin from Rational:
> >
>
http://www.rational.com/support/downloadcenter/addins/clearc ase/plugins/index.jsp
> > > All help is very much appreciated.
>
> > > //Mikael
>
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04737 seconds