Grouping projects [message #197955] |
Tue, 08 March 2005 04:59  |
Eclipse User |
|
|
|
Originally posted by: t.por.gmx.net
Hi,
I'm looking for a way to group projects logical.
The reason is, that we have projects which are depending on other
projects, but instead of selecting all the needed projects we want to
select a "group" of projects.
The first idea was to create a classpath variable and assign the path of
the regarding projects to it. But unfortunately you can asign only a
single path to a variable.
The second approach was to create jars from each project and group them
as user library. This would basically work, but the triggering of the
ant file to create them is not working as I would expect and so it gives
problem with "build all".
Any suggestions or other approaches?
Regards
Thomas
|
|
|
|
|
|
|
|
|
|
|
|
Re: Grouping projects [message #199421 is a reply to message #198205] |
Thu, 24 March 2005 16:36   |
Eclipse User |
|
|
|
Wolf Siberski wrote:
> Thomas Porocnik wrote:
>> Sam Mesh wrote:
>>
>>> Can you please provide an example of your "non-linear dependencies"?
>>
>>
>> Hi Sam,
>>
>> simple example: Project A needs Project B and C.
>> (B and C belong to one logical group)
>> Eric assumed that B is depending on C and so he suggested to export C
>> out of B so that I only have to import B into A.
> No, he suggested to create a dummy project D which depends on B&C
> and contains nothing. D is only there to manage the dependencies.
> Now in C, select D as project you depend on, and you're done.
>> But if there is no dependency between B and C this would be confusing.
>> So I have to import both B and C into A.
>>
>> What I wanted was to define a "group" B&C and than import only this
>> group as single reference into A.
> That would be the new dummy project D.
> --Wolf
Hi folks,
I have a question about using a dummy project this way.
I have PlatformV1.0 now, made up of 10 components, each in its own project.
Soon I'll have PlatformV2.0, including those 10 and probably 3 more. (13)
Later I'll have PlatformV3.0, including those 13 and probably 4 more. (17)
I want to solve these problems:
- In this scenario, I have to have 40 projects.
- Worse yet, to work on V1.0, I have to open 10 different projects. Then
if I want to switch to V3.0, I have to open 17 other projects.
What I want is a grouping mechanism that will open/close/build all the
project components that compose the group.
A dummy project won't help will it?
|
|
|
Re: Grouping projects [message #199498 is a reply to message #199421] |
Fri, 25 March 2005 09:53  |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
David Witherspoon wrote:
> I have a question about using a dummy project this way.
>
> I have PlatformV1.0 now, made up of 10 components, each in its own project.
> Soon I'll have PlatformV2.0, including those 10 and probably 3 more. (13)
> Later I'll have PlatformV3.0, including those 13 and probably 4 more. (17)
>
> I want to solve these problems:
> - In this scenario, I have to have 40 projects. - Worse yet, to work on
> V1.0, I have to open 10 different projects. Then if I want to switch to
> V3.0, I have to open 17 other projects.
>
> What I want is a grouping mechanism that will open/close/build all the
> project components that compose the group.
>
> A dummy project won't help will it?
>
No, but this is where I would employ separate workspaces. If you need to
switch between multiple versions of multiple projects on a regular
basis, using a different workspace for each "platform" version makes it
manageable.
If, however, that switching is rare (IOW, you work on only one version
of the platform for a long time without needing to go to the others),
then one workspace and good use of CVS modules and branching is enough.
That is what I am doing currently - the system I'm working on has 3
projects, each with its own module in CVS. When I want to work on the
"in-development" version I just switch to that branch. If there were
more than a handful of Projects or I was switching between them
frequently, I would create a separate workspace for each platform version.
HTH,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.04959 seconds