Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » workspace or project? 3-mercurials + n-parts inside
workspace or project? 3-mercurials + n-parts inside [message #765373] Tue, 13 December 2011 23:28 Go to next message
Xavier Montero is currently offline Xavier MonteroFriend
Messages: 2
Registered: December 2011
Junior Member
Hi. I wonder which workspace/project structure should I use:

I have 3 projects. Each hosted into mercurial repos, in a different server, and each has nothing in common with the others. Each project has several subprojects of different natures (php, shell-scripts, etc)

WHAT IS BETTER?

* A single workspace, and an eclipse-project for each of my projects, dirs inside?
* Or 3 workspaces, one for each project; and then each subproject being an eclipse project?

Thanks.
Re: workspace or project? 3-mercurials + n-parts inside [message #765379 is a reply to message #765373] Tue, 13 December 2011 23:44 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 13-Dec-11 16:28, Xavier Montero wrote:
> Hi. I wonder which workspace/project structure should I use:
>
> I have 3 projects. Each hosted into mercurial repos, in a different
> server, and each has nothing in common with the others. Each project has
> several subprojects of different natures (php, shell-scripts, etc)
>
> WHAT IS BETTER?
>
> * A single workspace, and an eclipse-project for each of my projects,
> dirs inside?
> * Or 3 workspaces, one for each project; and then each subproject being
> an eclipse project?
>
> Thanks.

Neither is more correct than the other except that, if you're going to
be working in more than one on a daily basis, you may grow tired of
switching between three workspaces and wish you had put them all into
one. You can close the other two to keep down the workbench clutter
while you're working on one. Closing and opening projects is
lightning-fast, especially as compared to switching workspaces.

Hope this helps.
Re: workspace or project? 3-mercurials + n-parts inside [message #765386 is a reply to message #765379] Wed, 14 December 2011 00:12 Go to previous messageGo to next message
Xavier Montero is currently offline Xavier MonteroFriend
Messages: 2
Registered: December 2011
Junior Member
Thanks Russell. Yes I will work on all of them during the same day. I wonder now the following:

If I setup the 3 projects in the same workspace, and each "subproject" has different natures... Q: may I specify the "project type" for a "subdir" instead of for the whole project?

Suppose:

- Project A
--- Frontend (PHP in symfony2)
--- Backend (plan PHP)
--- Installer (bash-scripts)

- Project B
--- Web (PHP in symfony2)
--- Windows-client (VisualBasic)

- Project C {...}

My doubts:

If my-projects were eclipse-workspaces and my code-subprojects were root-eclipse-projects, I might give each a "nature" (for example "Frontend" would be of type "symfony2 project" and "Installer" of type "shell script project").

But if I set "Project A" as a project, then can I "mark" the types in a per "subdir" basis?

Thnks.

[Updated on: Wed, 14 December 2011 00:15]

Report message to a moderator

Re: workspace or project? 3-mercurials + n-parts inside [message #765392 is a reply to message #765386] Wed, 14 December 2011 00:31 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 13-Dec-11 17:12, Xavier Montero wrote:
> Thanks Russell. Yes I will work on all of them during the same day. I
> wonder now the following:
>
> If I setup the 3 projects in the same workspace, and each "subproject"
> has different natures... Q: may I specify the "project type" for a
> "subdir" instead of for the whole project?
>
> Suppose:
>
> - Project A
> - Frontend (PHP in symfony2)
> - Backend (plan PHP)
> - Installer (bash-scripts)
>
> - Project B
> - Web (PHP in symfony2)
> - Windows-client (VisualBasic)
>
> - Project C {...}
>
> My doubts:
>
> If my-projects were eclipse-workspaces and my code-subprojects were
> root-eclipse-projects, I might give each a "nature" (for example
> "Frontend" would be of type "symfony2 project" and "Installer" of type
> "shell script project").
>
> But if I set "Project A" as a project, then can I "mark" the types in a
> per "subdir" basis?
>
> Thnks.

I'm pretty certain that Eclipse PDT doesn't support a "project type" for
a subdirectory. I'm not conversant with coding PHP or VisualBasic in
Eclipse, but I'd be really surprised to discover such functionality.

Your question might find more expertise in the Eclipse PDT forum.
Previous Topic:Launching projects
Next Topic:I get this and stopped when went install some js/jquery plugins
Goto Forum:
  


Current Time: Fri May 10 22:51:35 GMT 2024

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

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

Back to the top