[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] Re: Making p2 repos with PDE structured with categories and IUs
|
I have built the attached example manually and it does what you are looking
for wrt to the nesting.
However it does not get rid of the uncategorized category
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227675
If you feel like hacking something around this last bug please dont'
hesitate
"Francis Upton (News)" <francisu@xxxxxxxx> wrote in message
news:g5q28t$5ba$1@xxxxxxxxxxxxxxxxxxxx
>I have a headless build, and I want to make a p2 repos to do
> installations from.
>
> I want it to look like this:
>
> Category1
> Product1 IU
> Product2 IU
> Category1a
> Feature1 IU (not an executable product)
> Feature2 IU (as above)
> Category1c
> ...
>
> I tried the default p2 metadata generation and was not able to get
> something like Category1a, I tried making Category1a as a product with
> the Feature1 and Feature2, but show features did not show through in the
> categories.
>
> It also creates this very unsatisfying "Uncategorized" category where it
> puts all of the features. I don't want this category at all. And I
> don't consider most of my features as separate IUs.
>
> I guess what I want is some more flexibility in the p2 metadata
> generation to specify my own categories and specify the IUs that go
> under them (which may or may not be based on products). As far as I
> know there does not seem to be a way to do this. I'm considering
> patching the p2 metadata generator to allow this flexibility.
>
> I guess an alternative is to use the old update site stuff and then
> generate the p2 data from that, but I want to avoid that if possible
> (when I tried to generate an update site a while ago, I had trouble with
> that -- I think mainly due to my ignorance).
>
> Are there other alternatives?
>
>
> --
> *new* Common Navigator Framework section in:
> 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf.htm
> http://dev.eclipse.org/blogs/francis
> http://wiki.eclipse.org/Common_Navigator_Framework
> http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
>
>
> You have brains in your head.
> You have feet in your shoes.
> - Dr Seuss, Oh the Places You'll Go
begin 666 content.xml
M/#]X;6P@=F5R<VEO;CTG,2XP)R!E;F-O9&EN9STG551&+3@G/SX-"CP_;65T
M861A=&%297!O<VET;W)Y(&-L87-S/2=O<F<N96-L:7!S92YE<75I;F]X+FEN
M=&5R;F%L+G R+FUE=&%D871A+G)E<&]S:71O<GDN3&]C86Q-971A9&%T85)E
M<&]S:71O<GDG('9E<G-I;VX])S$N,"XP)S\^#0H\<F5P;W-I=&]R>2!N86UE
M/2=497-T)R!T>7!E/2=O<F<N96-L:7!S92YE<75I;F]X+FEN=&5R;F%L+G R
M+FUE=&%D871A+G)E<&]S:71O<GDN3&]C86Q-971A9&%T85)E<&]S:71O<GDG
M('9E<G-I;VX])S$N,"XP)SX-"B @/'5N:71S('-I>F4])S,G/B @#0H@(" @
M/'5N:70@:60])V-A=&5G;W)Y,2<@=F5R<VEO;CTG,"XP+C G/@T*(" @(" @
M/'!R;W!E<G1I97,@<VEZ93TG,B<^#0H@(" @(" @(#QP<F]P97)T>2!N86UE
M/2=O<F<N96-L:7!S92YE<75I;F]X+G R+FYA;64G('9A;'5E/2=#871E9V]R
M:64@,2<O/@T*(" @(" @(" \<')O<&5R='D@;F%M93TG;W)G+F5C;&EP<V4N
M97%U:6YO>"YP,BYT>7!E+F-A=&5G;W)Y)R!V86QU93TG=')U92<O/@T*(" @
M(" @/"]P<F]P97)T:65S/@T*(" @(" @/'!R;W9I9&5S('-I>F4])S$G/@T*
M(" @(" @(" \<')O=FED960@;F%M97-P86-E/2=O<F<N96-L:7!S92YE<75I
M;F]X+G R+FEU)R!N86UE/2=C871E9V]R>3$G('9E<G-I;VX])S N,"XP)R\^
M#0H@(" @(" \+W!R;W9I9&5S/@T*(" @(" @/')E<75I<F5S('-I>F4])S$G
M/@T*(" @(" @(" \<F5Q=6ER960@;F%M97-P86-E/2=O<F<N96-L:7!S92YE
M<75I;F]X+G R+FEU)R!N86UE/2=O<F<N96-L:7!S92YS9&LN:61E)R!R86YG
M93TG,"XP+C G+SX-"B @(" @(" @/')E<75I<F5D(&YA;65S<&%C93TG;W)G
M+F5C;&EP<V4N97%U:6YO>"YP,BYI=2<@;F%M93TG8V%T96=O<GDR)R!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P)R!S
M979E<FET>3TG,"<O/@T*(" @(" @/'!R;W!E<G1I97,@<VEZ93TG,B<^#0H@
M(" @(" @(#QP<F]P97)T>2!N86UE/2=O<F<N96-L:7!S92YE<75I;F]X+G R
M+FYA;64G('9A;'5E/2=%8VQI<'-E(%-$2S$G+SX-"B @(" @(" @/'!R;W!E
M<G1Y(&YA;64])VQI;F55<"<@=F%L=64])W1R=64G+SX-"B @(" @(" @/'!R
M;W!E<G1Y(&YA;64])V]R9RYE8VQI<'-E+F5Q=6EN;W@N<#(N='EP92YG<F]U
M<"<@=F%L=64])W1R=64G+SX-"B @(" @(#PO<')O<&5R=&EE<SX-"B @(" @
M(#QP<F]V:61E<R!S:7IE/2<Q)SX-"B @(" @(" @/'!R;W9I9&5D(&YA;65S
M<&%C93TG;W)G+F5C;&EP<V4N97%U:6YO>"YP,BYI=2<@;F%M93TG;W)G+F5C
M;&EP<V4N<V1K+FED92<@=F5R<VEO;CTG,"XP+C G+SX-"B @(" @(#PO<')O
M=FED97,^#0H@(" @/"]U;FET/@T*#0H@(" @/'5N:70@:60])V]R9RYE8VQI
M<'-E+G-D:RYI9&4R)R!V97)S:6]N/2<S+C0N,"Y),C P.# V,3<M,C P,"<^
M#0H@(" @(" \=7!D871E(&ED/2=O<F<N96-L:7!S92YS9&LN:61E,B<@<F%N
M9V4])S N,"XP)R!S979E<FET>3TG,"<O/@T*(" @(" @/'!R;W!E<G1I97,@
M<VEZ93TG,B<^#0H@(" @(" @(#QP<F]P97)T>2!N86UE/2=O<F<N96-L:7!S
M92YE<75I;F]X+G R+FYA;64G('9A;'5E/2=%8VQI<'-E(%-$2S(G+SX-"B @
M(" @(" @/'!R;W!E<G1Y(&YA;64])VQI;F55<"<@=F%L=64])W1R=64G+SX-
M"B @(" @(" @/'!R;W!E<G1Y(&YA;64])V]R9RYE8VQI<'-E+F5Q=6EN;W@N
M<#(N='EP92YG<F]U<"<@=F%L=64])W1R=64G+SX-"B @(" @(#PO<')O<&5R
M=&EE<SX-"B @(" @(#QP<F]V:61E<R!S:7IE/2<Q)SX-"B @(" @(" @/'!R
M;W9I9&5D(&YA;65S<&%C93TG;W)G+F5C;&EP<V4N97%U:6YO>"YP,BYI=2<@
M;F%M93TG;W)G+F5C;&EP<V4N<V1K+FED93(G('9E<G-I;VX])S N,"XP)R\^
M#0H@(" @(" \+W!R;W9I9&5S/@T*(" @(#PO=6YI=#X-"@T*(" @(#QU;FET
M(&ED/2=O<F<N96-L:7!S92YS9&LN:61E,R<@=F5R<VEO;CTG,RXT+C N23(P
M,#@P-C$W+3(P,# G/@T*(" @(" @/'5P9&%T92!I9#TG;W)G+F5C;&EP<V4N
M<V1K+FED93,G(')A;F=E/2<P+C N,"<@<V5V97)I='D])S G+SX-"B @(" @
M(#QP<F]P97)T:65S('-I>F4])S(G/@T*(" @(" @(" \<')O<&5R='D@;F%M
M93TG;W)G+F5C;&EP<V4N97%U:6YO>"YP,BYN86UE)R!V86QU93TG16-L:7!S
M92!31$LS)R\^#0H@(" @(" @(#QP<F]P97)T>2!N86UE/2=L:6YE57 G('9A
M;'5E/2=T<G5E)R\^#0H@(" @(" @(#QP<F]P97)T>2!N86UE/2=O<F<N96-L
M:7!S92YE<75I;F]X+G R+G1Y<&4N9W)O=7 G('9A;'5E/2=T<G5E)R\^#0H@
M(" @(" \+W!R;W!E<G1I97,^#0H@(" @(" \<')O=FED97,@<VEZ93TG,2<^
M#0H@(" @(" @(#QP<F]V:61E9"!N86UE<W!A8V4])V]R9RYE8VQI<'-E+F5Q
M=6EN;W@N<#(N:74G(&YA;64])V]R9RYE8VQI<'-E+G-D:RYI9&4S)R!V97)S
M:6]N/2<P+C N,"<O/@T*(" @(" @/"]P<F]V:61E<SX-"B @(" \+W5N:70^
=#0H@(#PO=6YI=',^#0H\+W)E<&]S:71O<GD^#0H`
`
end