Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem setting up eclipse on workstations
Problem setting up eclipse on workstations [message #73802] Fri, 13 June 2003 11:43 Go to next message
Eclipse UserFriend
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 #74069 is a reply to message #73802] Fri, 13 June 2003 14:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

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
Re: Problem setting up eclipse on workstations [message #75106 is a reply to message #74069] Mon, 16 June 2003 04:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikael.petterson.era.ericsson.se

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?

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
Re: Problem setting up eclipse on workstations [message #75664 is a reply to message #75106] Mon, 16 June 2003 12:37 Go to previous message
Eclipse UserFriend
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
>
>
>
>
>
>
>
Previous Topic:java.lang.IncompatibleClassChangeError
Next Topic:How to obtain the branch name for a CVSTag object? [org.eclipse.team.cvs.core]
Goto Forum:
  


Current Time: Fri Jul 18 11:37:32 EDT 2025

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

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

Back to the top