Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] "Include mode must be the same for all locations" Tycho-specific restriction or not?

Hi Andreas,

As you already have figured out [1], the PDE doesn't support mixing planner and slicer.

If you mix them in a target file, the PDE will treat the file as if you consistently used one or the other (either picking the value from the first or the last location - I don't remember).

So you then have a target file that pretends to mix the modes, but it actually doesn't. So you gain nothing but confusion. That's why Tycho tells you to fix your target file before it continues.

Regards
Tobias


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=307146


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Andreas Sewe
> Sent: Montag, 19. Mai 2014 10:54
> To: Tycho user list
> Subject: [tycho-user] "Include mode must be the same for all locations"
> Tycho-specific restriction or not?
> 
> Hi,
> 
> I just came across an "Include mode must be the same for all locations"
> error for a .target file using both @includeMode="slicer" and
> @includeMode="planner". Is this a restriction specific to Tycho (at
> least the error message itself originates in its
> TargetDefinitionResolver) or a general restriction of p2? (Bug 307146
> seems relevant here.)
> 
> Best wishes,
> 
> Andreas
> 
> --
> Codetrails UG (haftungsbeschränkt)
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top