Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Newbie Question about "Projects"
Newbie Question about "Projects" [message #68704] Tue, 06 May 2003 11:46 Go to next message
Eclipse UserFriend
Originally posted by: thomas.leglise.tradeware.be

Hi all,

I just started using Eclipse, migrating from Microsoft Visual Studio. I've
some troubles
understanding how the workspace concept is handled. In VS you can define a
project as a
collection of files and a workspace as a collection of projects, whatever
the relative location
of the projects and the files are. I don't see how to do that in eclipse.

I have the following setup: a first "collection" of projects
workspace/dev/Libs/Lib1 ->a first project
workspace/dev/Libs/Lib2 ->a second project
workspace/dev/Srv/Srv1 ->a third project
workspace/dev/Gtw/Gtw1 ->a fourth project

and a second collection of projects (which corresponds to a global branch
into my cvs)
workspace/v1.0/Libs/Lib1 ->a first project
workspace/v1.0/Libs/Lib2 ->a second project
workspace/v1.0/Srv/Srv1 ->a third project
workspace/v1.0/Gtw/Gtw1 ->a fourth project

How should I set up my file system (and perhaps my repository or module
definition) so it can
handle this?

Thanks a lot

Thomas
Re: Newbie Question about "Projects" [message #68894 is a reply to message #68704] Wed, 07 May 2003 04:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: billhao.hotmail.com

I also want to KNOW:)
It is a bit different with VS studio

bill
--
e-mail: billhao@hotmail.com
MSN Messenger: billhao@hotmail.com
Web: http://www.minivoice.com


"Thomas L'Eglise" <thomas.leglise@tradeware.be> ????
news:b987ab$1kr$1@rogue.oti.com...
> Hi all,
>
> I just started using Eclipse, migrating from Microsoft Visual Studio. I've
> some troubles
> understanding how the workspace concept is handled. In VS you can define a
> project as a
> collection of files and a workspace as a collection of projects, whatever
> the relative location
> of the projects and the files are. I don't see how to do that in eclipse.
>
> I have the following setup: a first "collection" of projects
> workspace/dev/Libs/Lib1 ->a first project
> workspace/dev/Libs/Lib2 ->a second project
> workspace/dev/Srv/Srv1 ->a third project
> workspace/dev/Gtw/Gtw1 ->a fourth project
>
> and a second collection of projects (which corresponds to a global branch
> into my cvs)
> workspace/v1.0/Libs/Lib1 ->a first project
> workspace/v1.0/Libs/Lib2 ->a second project
> workspace/v1.0/Srv/Srv1 ->a third project
> workspace/v1.0/Gtw/Gtw1 ->a fourth project
>
> How should I set up my file system (and perhaps my repository or module
> definition) so it can
> handle this?
>
> Thanks a lot
>
> Thomas
>
Re: Newbie Question about "Projects" [message #68958 is a reply to message #68894] Wed, 07 May 2003 08:04 Go to previous message
Eclipse UserFriend
Originally posted by: thomas.leglise.tradeware.be

Hi,

I did some tests yesterday and came to the conclusion that eitheir each
"project" has to be checked-out in /workspace, without any directory
structure betweeen those, so they can be "seen" in eclipse as C/C++
projects. Of course this is easy to do with the CVS explorator embedded in
eclipse (which by the way does seem to beahve strangely with modules): just
"CheckOut as Project"

Eitheir you chekout the projects with the "structure", into a dummy project
that you convert to a C/C++ project afterwards: just "CheckOut Into". The
subfolders are not considered as indepedent projects but you can build them
separately if you have the makefiles and create for the binaries run
environements as well.

So with this setup I can more or less mimic VS. Now I wonder what's the
difference between the two, as in the first solution each project is a
C++project and in the second each project is a subfolder of a C++project.
So I suppose in the second case I "miss" something???

Thomas

bill wrote:

> I also want to KNOW:)
> It is a bit different with VS studio
>
> bill
> --
> e-mail: billhao@hotmail.com
> MSN Messenger: billhao@hotmail.com
> Web: http://www.minivoice.com
>
>
> "Thomas L'Eglise" <thomas.leglise@tradeware.be> ????
> news:b987ab$1kr$1@rogue.oti.com...
>> Hi all,
>>
>> I just started using Eclipse, migrating from Microsoft Visual Studio.
>> I've some troubles
>> understanding how the workspace concept is handled. In VS you can define
>> a project as a
>> collection of files and a workspace as a collection of projects, whatever
>> the relative location
>> of the projects and the files are. I don't see how to do that in eclipse.
>>
>> I have the following setup: a first "collection" of projects
>> workspace/dev/Libs/Lib1 ->a first project
>> workspace/dev/Libs/Lib2 ->a second project
>> workspace/dev/Srv/Srv1 ->a third project
>> workspace/dev/Gtw/Gtw1 ->a fourth project
>>
>> and a second collection of projects (which corresponds to a global branch
>> into my cvs)
>> workspace/v1.0/Libs/Lib1 ->a first project
>> workspace/v1.0/Libs/Lib2 ->a second project
>> workspace/v1.0/Srv/Srv1 ->a third project
>> workspace/v1.0/Gtw/Gtw1 ->a fourth project
>>
>> How should I set up my file system (and perhaps my repository or module
>> definition) so it can
>> handle this?
>>
>> Thanks a lot
>>
>> Thomas
>>
Previous Topic:Outline
Next Topic:CVS support in eclipse
Goto Forum:
  


Current Time: Sun Dec 22 06:29:27 GMT 2024

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

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

Back to the top