Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [Eclipse Installer] Select project twice (with different streams)
[Eclipse Installer] Select project twice (with different streams) [message #1721999] Tue, 02 February 2016 08:09 Go to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Hi,

currently it's not possible to select a project twice with different streams.

You have to install one stream first and then you can add another stream of the same project in your previously installed Eclipse application.

Is this just a "missing feature" in the Eclipse Installer?

Kind regards
Oliver
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722002 is a reply to message #1721999] Tue, 02 February 2016 08:26 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Oliver,

No, it just doesn't match the intent of streams. They're generally
expected to correspond to streams/branches in a version control system,
and of course from that point of view, you can only check out one
stream/branch at a time.

It sounds like you should design this perhaps using projects with
subprojects because of course you can choose as many projects as you
want, but only one stream from each.

On 02.02.2016 09:09, Oliver Libutzki wrote:
> Hi,
>
> currently it's not possible to select a project twice with different
> streams.
>
> You have to install one stream first and then you can add another
> stream of the same project in your previously installed Eclipse
> application.
>
> Is this just a "missing feature" in the Eclipse Installer?
>
> Kind regards
> Oliver


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722007 is a reply to message #1722002] Tue, 02 February 2016 08:50 Go to previous messageGo to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Ed Merks wrote on Tue, 02 February 2016 03:26
Oliver,

No, it just doesn't match the intent of streams. They're generally
expected to correspond to streams/branches in a version control system,
and of course from that point of view, you can only check out one
stream/branch at a time.

Hi Ed,

I do not agree as it's very common to develop different branches of a project in the same Eclipse installation. The m2e tooling (and Oomph's Maven Import task) provides possibilities to derive the project names by using a template like [artifactId]-${scope.project.stream.label}.

So, imho, it's quite common to use the same installation for different branches of the same project.

If you think about Plugin-development with a target platform your statement is correct, but not generally.

Kind regards
Oliver
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722033 is a reply to message #1722007] Tue, 02 February 2016 11:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Oliver,

Comments below.

On 02.02.2016 09:50, Oliver Libutzki wrote:
> Ed Merks wrote on Tue, 02 February 2016 03:26
>> Oliver,
>>
>> No, it just doesn't match the intent of streams. They're generally
>> expected to correspond to streams/branches in a version control
>> system, and of course from that point of view, you can only check out
>> one stream/branch at a time.
>
> Hi Ed,
>
> I do not agree as it's very common to develop different branches of a
> project in the same Eclipse installation. The m2e tooling (and Oomph's
> Maven Import task) provides possibilities to derive the project names
> by using a template like [artifactId]-${scope.project.stream.label}.
I'm very doubtful. I'm not sure how the PDE can cope with two different
projects that have the same bundle ID. How can dependencies be resolved
if there is more than one bundle with a given ID. So I get the sense
that this is a manufactured scenario, not a real one. Certainly a
single clone can only have one checkout, at least right now, and I can't
imagine how PDE can cope with multiple versions of the same bundle at
the same time in the workspace.
>
> So, imho, it's quite common to use the same installation for different
> branches of the same project.
All in the same workspace and at the same time? I don't get it at all.
It makes no sense to me.
>
> If you think about Plugin-development with a target platform your
> statement is correct, but not generally.
Yes, that's mostly what I think about. And even without that, it seems
to me you'd need multiple clones to have different branches active at
the same time. It all seems not common at all.
>
> Kind regards
> Oliver


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722037 is a reply to message #1722033] Tue, 02 February 2016 12:04 Go to previous messageGo to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
hi Ed,

think about a "simple" Java project (no PDE). Why not developing different branches of this project in one workspace / installation?

You just have to make sure the Eclipse project names do not collide. I understand that many Eclipse users organize there installations / workspaces in a way "One stream - one installation", but imho this is nothing Oomph should prescribe.

Do you see any problems activating the possibility to select projects twice (or more)?

Kind regards
Oliver
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722052 is a reply to message #1722037] Tue, 02 February 2016 13:52 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Oliver,

Comments below.

On 02.02.2016 13:04, Oliver Libutzki wrote:
> hi Ed,
>
> think about a "simple" Java project (no PDE). Why not developing
> different branches of this project in one workspace / installation?
Because a git clone can have only one working tree for the current and
only checkout.
> You just have to make sure the Eclipse project names do not collide.
Yes, that's yet another problem. And only with m2e does one not
generally keep the .project file in the source code repository. And only
if not developing bundles does one not run into the issue of duplicate
bundle IDs.
> I understand that many Eclipse users organize there installations /
> workspaces in a way "One stream - one installation", but imho this is
> nothing Oomph should prescribe.
It's hard to imagine this ever working with git. It's also hard to
imagine more than a handful of people ever wanting what you describe.
> Do you see any problems activating the possibility to select projects
> twice (or more)?
Are we taking projects now or streams still? If streams then, yes, I
have a big problem entertaining the associated complexity of allowing
users to choose several streams from the same project simultaneously.
It doesn't generally make any sense, and it would require a great deal
of redesign work...
>
> Kind regards
> Oliver


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Eclipse Installer] Select project twice (with different streams) [message #1722657 is a reply to message #1722052] Mon, 08 February 2016 06:46 Go to previous message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 40
Registered: September 2011
Member
Ed Merks wrote on Tue, 02 February 2016 08:52

Are we taking projects now or streams still? If streams then, yes, I
have a big problem entertaining the associated complexity of allowing
users to choose several streams from the same project simultaneously.
It doesn't generally make any sense, and it would require a great deal
of redesign work...


Hi Ed,

thanks for your answer. I will recommend to use one installation per branch.
Previous Topic:Preferences are recorded, but not loaded (!)
Next Topic:Managing different (Oomph-installed) Eclipse Instances
Goto Forum:
  


Current Time: Thu Apr 25 04:00:17 GMT 2024

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

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

Back to the top