[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [p2-dev] Repo2Runnable And Nested JARs
- From: "Mark Melvin" <Mark.Melvin@xxxxxxxxxx>
- Date: Tue, 26 May 2009 08:35:45 -0700
- Delivered-to: email@example.com
- Thread-index: AcnbI67bSANID/gdTaW7SmpDmU6ZZwC85oUg
- Thread-topic: [p2-dev] Repo2Runnable And Nested JARs
mention that "usually" the unzipped section is derived from the "unpack"
flag. What other scenarios trigger its generation? In my
particular case, I do not have any features involved at this point.
Besides, the bundles that are being inflated do not have their "unpack" flag set
in any features anyway, but P2 seems to be able to somehow tell that they
contain nested JARs and inflates them. I cant' seem to figure out how it
knows this, however...
The auto inflation is triggered by the presence of an "unzipped" section in
the touchpoint data (for example look at the org.eclipse.pde.build IU in your
It is the same information that causes the bundle to be unzipped
at install time.
Usually this "unzipped" section is generated by the
publisher / metadata generator and is derived from the "unpack" flag expressed
in the feature.xml.
If the runtime shape does not match the build shape
you need, then you will have to do some additional massaging like you would
have had to do in the past.
Melvin" ---05/22/2009 04:08:11 PM---Hi,
"P2 developer discussions"
05/22/2009 04:08 PM
[p2-dev] Repo2Runnable And Nested
It looks like the repo2runnable operation is smart
enough to detect when
a bundle contains a nested JAR and will inflate that
bundle so PDE build
can handle it. Can anyone tell me how it
determines whether a bundle
contains a nested JAR? I have a
particular bundle that just ships
precompiled libraries that are needed at
compile-time as nested JARs and
it doesn't seem to inflate this one for me,
causing my build to fail.
I'd like to trigger the "auto-inflation" of this