Discussion:
[tycho-user] Trouble upgrading Mac Bundles
Doug Schaefer
2013-05-09 04:57:50 UTC
Permalink
Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
Doug Schaefer
2013-05-09 05:00:37 UTC
Permalink
Sorry, I meant can't upgrade. But I guess that's obvious from the error message…

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 12:57 AM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [tycho-user] Trouble upgrading Mac Bundles

Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
Doug Schaefer
2013-05-09 13:27:36 UTC
Permalink
To further my investigation, I see a macosx-bundled filter in the p2content.xml file. It doesn't seem to be set true when the repository is created taking the non-bundle executable IU. Is there a way to turn this filter on when generating the repository?

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 1:00 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

Sorry, I meant can't upgrade. But I guess that's obvious from the error message…

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 12:57 AM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [tycho-user] Trouble upgrading Mac Bundles

Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
Doug Schaefer
2013-05-09 14:56:03 UTC
Permalink
And I can confirm that manually adding the missing IU, "tooling*.executable.macosx.x86-bundled", into the repository's content.xml works.

Is this the p2 director not inserting this correctly, or is it tycho not passing in the right parameters to the director, or am I missing an argument in my pom?

Thanks,
Doug.

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Date: Thursday, 9 May, 2013 9:27 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>, "p2-***@eclipse.org<mailto:p2-***@eclipse.org>" <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

To further my investigation, I see a macosx-bundled filter in the p2content.xml file. It doesn't seem to be set true when the repository is created taking the non-bundle executable IU. Is there a way to turn this filter on when generating the repository?

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 1:00 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

Sorry, I meant can't upgrade. But I guess that's obvious from the error message…

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 12:57 AM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [tycho-user] Trouble upgrading Mac Bundles

Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
Pascal Rapicault
2013-05-09 15:01:51 UTC
Permalink
This is a publisher / metadata gen issue. Maybe the invocation from tycho is incorrect.
Post by Doug Schaefer
And I can confirm that manually adding the missing IU, "tooling*.executable.macosx.x86-bundled", into the repository's content.xml works.
Is this the p2 director not inserting this correctly, or is it tycho not passing in the right parameters to the director, or am I missing an argument in my pom?
Thanks,
Doug.
Date: Thursday, 9 May, 2013 9:27 AM
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles
To further my investigation, I see a macosx-bundled filter in the p2content.xml file. It doesn't seem to be set true when the repository is created taking the non-bundle executable IU. Is there a way to turn this filter on when generating the repository?
Date: Thursday, 9 May, 2013 1:00 AM
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles
Sorry, I meant can't upgrade. But I guess that's obvious from the error message

Date: Thursday, 9 May, 2013 12:57 AM
Subject: [tycho-user] Trouble upgrading Mac Bundles
Hey gang,
Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]
I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?
Thanks!
Doug.
_______________________________________________
p2-dev mailing list
https://dev.eclipse.org/mailman/listinfo/p2-dev
Oberlies, Tobias
2013-05-13 08:34:37 UTC
Permalink
Maybe (...)
I case you want to find out: http://wiki.eclipse.org/Developing_Tycho

Regards
Tobias


From: p2-dev-***@eclipse.org [mailto:p2-dev-***@eclipse.org] On Behalf Of Pascal Rapicault
Sent: Donnerstag, 9. Mai 2013 17:02
To: P2 developer discussions
Cc: p2-***@eclipse.org; Tycho user list
Subject: Re: [p2-dev] [tycho-user] Trouble upgrading Mac Bundles

This is a publisher / metadata gen issue. Maybe the invocation from tycho is incorrect.


On 2013-05-09, at 10:56 AM, Doug Schaefer <***@qnx.com<mailto:***@qnx.com>> wrote:
And I can confirm that manually adding the missing IU, "tooling*.executable.macosx.x86-bundled", into the repository's content.xml works.

Is this the p2 director not inserting this correctly, or is it tycho not passing in the right parameters to the director, or am I missing an argument in my pom?

Thanks,
Doug.

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Date: Thursday, 9 May, 2013 9:27 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>, "p2-***@eclipse.org<mailto:p2-***@eclipse.org>" <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

To further my investigation, I see a macosx-bundled filter in the p2content.xml file. It doesn't seem to be set true when the repository is created taking the non-bundle executable IU. Is there a way to turn this filter on when generating the repository?

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 1:00 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

Sorry, I meant can't upgrade. But I guess that's obvious from the error message


From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 12:57 AM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [tycho-user] Trouble upgrading Mac Bundles

Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
_______________________________________________
p2-dev mailing list
p2-***@eclipse.org<mailto:p2-***@eclipse.org>
https://dev.eclipse.org/mailman/listinfo/p2-dev

Doug Schaefer
2013-05-09 18:20:34 UTC
Permalink
OK, I raised a bug against Tycho: https://bugs.eclipse.org/bugs/show_bug.cgi?id=407676

Do we know what the invocation should be so I can check?

From: Pascal Rapicault <***@rapicault.net<mailto:***@rapicault.net>>
Reply-To: P2 developer discussions <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>
Date: Thursday, 9 May, 2013 11:01 AM
To: P2 developer discussions <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>
Cc: "p2-***@eclipse.org<mailto:p2-***@eclipse.org>" <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>, Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [p2-dev] [tycho-user] Trouble upgrading Mac Bundles

This is a publisher / metadata gen issue. Maybe the invocation from tycho is incorrect.



On 2013-05-09, at 10:56 AM, Doug Schaefer <***@qnx.com<mailto:***@qnx.com>> wrote:

And I can confirm that manually adding the missing IU, "tooling*.executable.macosx.x86-bundled", into the repository's content.xml works.

Is this the p2 director not inserting this correctly, or is it tycho not passing in the right parameters to the director, or am I missing an argument in my pom?

Thanks,
Doug.

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Date: Thursday, 9 May, 2013 9:27 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>, "p2-***@eclipse.org<mailto:p2-***@eclipse.org>" <p2-***@eclipse.org<mailto:p2-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

To further my investigation, I see a macosx-bundled filter in the p2content.xml file. It doesn't seem to be set true when the repository is created taking the non-bundle executable IU. Is there a way to turn this filter on when generating the repository?

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 1:00 AM
To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: Re: [tycho-user] Trouble upgrading Mac Bundles

Sorry, I meant can't upgrade. But I guess that's obvious from the error message…

From: Doug Schaefer <***@qnx.com<mailto:***@qnx.com>>
Reply-To: Tycho user list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Date: Thursday, 9 May, 2013 12:57 AM
To: "tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>" <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Subject: [tycho-user] Trouble upgrading Mac Bundles

Hey gang,

I'm using the new platform specific rootFolders feature in 0.18-SNAPSHOT tycho to generate the Mac version of my product as a Mac app bundle. I'm pretty sure this worked at one point but now I can upgrade from build to build. I get the following:

Cannot complete the install because one or more required items could not be found.
Software being installed: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
Missing requirement for filter properties ~= $0: toolingcom.qnx.tools.bbt.ide.ide-internal.application 10.2.0.v201305090421 requires 'toolingcom.qnx.tools.bbt.ide.ide-internal.executable.cocoa.macosx.x86-bundled [10.2.0.v201305090421]' but it could not be found
Cannot satisfy dependency:
From: QNX Momentics IDE 10.2.0.v201305090421 (com.qnx.tools.bbt.ide.ide-internal 10.2.0.v201305090421)
To: toolingcom.qnx.tools.bbt.ide.ide-internal.application [10.2.0.v201305090421]

I see the tooling*-bundled IU in the p2content.xml file but not in the content.jar in the repository. Is this a bug, or am I doing it wrong? Or is this something wrong in p2?

Thanks!
Doug.
Loading...