Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] [ORBIT-BUILD: orbit-I] orbit-I Build Failed

I may not have my facts straight but I don't think p2 ever intended to
support these "temporary" attributes that were used in Eclipse 3.0.
Historical note:  Eclipse 3.0 was released a good 6 months before the OSGi
R4.0 specification was finalized.  We were prototyping the design of OSGi
R4 in the Eclipse 3.0 release.  As such the Eclipse 3.0 runtime (core OSGi
Framework) was not yet a compliant OSGi R4 specification.  After Eclipse
3.0 was released several changes were made to the final design in the OSGi
bundle manifest format.  These changes are what is outlined in the bug
David mentioned (https://bugs.eclipse.org/bugs/show_bug.cgi?id=82855)

p2 was first released 3 years later.  By that time I am sure the p2 team
did not think to support these temporary attributes from Eclipse 3.0.

Tom




|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |David M Williams/Raleigh/IBM@IBMUS                                                                                                                |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>,                                                                                                      |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |orbit-dev@xxxxxxxxxxx                                                                                                                             |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |02/22/2012 05:20 PM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [orbit-dev] [ORBIT-BUILD: orbit-I] orbit-I Build Failed                                                                                       |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|






To be honest, I do not ever remember "optional=true" ... but found evidence
of it in bug 82855
https://bugs.eclipse.org/bugs/show_bug.cgi?id=82855
where some of the directive format/syntax was changed ... back in 3.1, in
2005!

It appeared for some cases they did want "warning" if version 2 was used
with old syntax, but I had a hard time
following all the different cases. So, you might read through that bug, and
see if it seems covered there, or
fell through the cracks.

As far as p2 publisher supporting only version 2 ... I suspect that was
intentional (since p2 came along after that, and guess the logic would be
if someone was going to "republish" some old manifests to p2 metadata, they
should update their manifest?) but I didn't search that bugzilla component,
and might have been a case that fell through the cracks?

(As a general rule, I lean towards opening bugs, even if might end up being
invalid or "working as designed").

Worse, the build is still failing ... I guess for some other reason now.
I'll be looking at it this evening.





From:		 Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
To:		 orbit-dev@xxxxxxxxxxx,
Cc:		 David M Williams/Raleigh/IBM@IBMUS
Date:		 02/22/2012 02:25 PM
Subject:		 Re: [ORBIT-BUILD: orbit-I] orbit-I Build Failed



Hi folks,

Am 22.02.2012 14:26, schrieb orbitBuilder:
> [orbit-set1] [eclipse.buildScript] Some inter-plug-in dependencies have
not been satisfied.
> [orbit-set1] [eclipse.buildScript] Bundle
org.apache.hadoop.zookeeper.tests:
> [orbit-set1] [eclipse.buildScript] 		 		  Unsatisfied
import package
com.sun.management_0.0.0.

Sorry for the faild builds. Turns out that this error was triggered by a
bundle using the wrong bundle manifest version. PDE correctly handles
this. Thus, no error was visible in Eclipse. However, it looks like p2
only understands bundle manifests version 2.

There are very subtile difference. One uses "optional=true" on optional
package imports but p2 only understands "resolution:=optional" (which is
uses in version 2 of the bundle manifest). I wonder if this qualifies
for a bug report or if support was dropped (never implemented?)
intentionally.

-Gunnar



_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev






Back to the top