Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Don't succeed to fetch bundles with p2IU
Don't succeed to fetch bundles with p2IU [message #55256] Wed, 15 April 2009 10:02 Go to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hi all,

I am trying to use the ability to fetch plugins from map files using the
new p2IU fetch type with Galileo M6 (I20090313-0100).

However, I cannot get it working, and more generally, I cannot install
anything using p2 director app with all p2 repos/update-sites I tried
(Galileo, JWT, Orbit and an internal one). I've already checked that the
units I am trying to install exist with the good version in the
content.xml file.
The behavior I always get is "The installable unit <...> has not been
found.".

Has anybody here already got p2 director app and/or p2IU fetch working
with Galileo M6 ? If yes, I'd really appreciate some help and some
pointers to go ahead.

Thanks in advance,
Mickael
Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #55586 is a reply to message #55256] Thu, 16 April 2009 07:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

[Cross-posted to platform]

Hi again,

In case it can help you to understand my problem, here is the command I
use to install IU. I assume that p2IU fetch runs something similar.

java -jar
plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
-application org.eclipse.equinox.p2.director.app.application
-metadataRepository http://download.eclipse.org/releases/galileo/
-artifactRepository http://download.eclipse.org/releases/galileo/
-installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
==============> Returns
!ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
!MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
The installable unit org.eclipse.uml2.uml has not been found.

Whereas org.eclipse.uml2.uml is an available unit.
I had the same result for any IU.

Could this be a bug in p2 director app? Or a breaking change that I missed?

Thanks in advance for your help


Mickael Istria a écrit :
> Hi all,
>
> I am trying to use the ability to fetch plugins from map files using the
> new p2IU fetch type with Galileo M6 (I20090313-0100).
>
> However, I cannot get it working, and more generally, I cannot install
> anything using p2 director app with all p2 repos/update-sites I tried
> (Galileo, JWT, Orbit and an internal one). I've already checked that the
> units I am trying to install exist with the good version in the
> content.xml file.
> The behavior I always get is "The installable unit <...> has not been
> found.".
>
> Has anybody here already got p2 director app and/or p2IU fetch working
> with Galileo M6 ? If yes, I'd really appreciate some help and some
> pointers to go ahead.
>
> Thanks in advance,
> Mickael
Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #55856 is a reply to message #55586] Thu, 16 April 2009 14:26 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mickael Istria wrote:
> [Cross-posted to platform]
>
> Hi again,
>
> In case it can help you to understand my problem, here is the command I
> use to install IU. I assume that p2IU fetch runs something similar.
>
> java -jar
> plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
> -application org.eclipse.equinox.p2.director.app.application
> -metadataRepository http://download.eclipse.org/releases/galileo/
> -artifactRepository http://download.eclipse.org/releases/galileo/
> -installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
> ==============> Returns
> !ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
> !MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
> The installable unit org.eclipse.uml2.uml has not been found.
>
> Whereas org.eclipse.uml2.uml is an available unit.
> I had the same result for any IU.
>
> Could this be a bug in p2 director app? Or a breaking change that I missed?
>
> Thanks in advance for your help

While I think that should still work (you're correct, it's in the
content.xml), that's a plugin IU ... the actual feature IU would be
org.eclipse.uml2.feature.group Does it work better if you try that?
What if you leave off the -version?

You've probably seen
http://wiki.eclipse.org/Equinox_p2_director_application and it looks
like you are using the example from that page. What if you use the one
with more arguments (I use in my scripts, for example) from
http://wiki.eclipse.org/Equinox_p2_director_application/Exam ples/Install_into_eclipse_using_SDKProfile

Later,
PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #56554 is a reply to message #55856] Fri, 17 April 2009 09:43 Go to previous message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Paul Webster a écrit :
> Mickael Istria wrote:
>> [Cross-posted to platform]
>>
>> Hi again,
>>
>> In case it can help you to understand my problem, here is the command
>> I use to install IU. I assume that p2IU fetch runs something similar.
>>
>> java -jar
>> plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
>> -application org.eclipse.equinox.p2.director.app.application
>> -metadataRepository http://download.eclipse.org/releases/galileo/
>> -artifactRepository http://download.eclipse.org/releases/galileo/
>> -installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
>> ==============> Returns
>> !ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
>> !MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
>> The installable unit org.eclipse.uml2.uml has not been found.
>>
>> Whereas org.eclipse.uml2.uml is an available unit.
>> I had the same result for any IU.
>>
>> Could this be a bug in p2 director app? Or a breaking change that I
>> missed?
>>
>> Thanks in advance for your help
>
> While I think that should still work (you're correct, it's in the
> content.xml), that's a plugin IU ... the actual feature IU would be
> org.eclipse.uml2.feature.group Does it work better if you try that?
> What if you leave off the -version?
>
> You've probably seen
> http://wiki.eclipse.org/Equinox_p2_director_application and it looks
> like you are using the example from that page. What if you use the one
> with more arguments (I use in my scripts, for example) from
> http://wiki.eclipse.org/Equinox_p2_director_application/Exam ples/Install_into_eclipse_using_SDKProfile
>
>
> Later,
> PW

Hello Paul,

I get this error with any installation unit (plugin or feature).
I've tried with several arguments combination, and always get the same
result. Moreover, that same command-line works well with a Ganymede, and
also with a Galileo m6 on a colleague's machine.

Then it is probably an inconsistency in my Eclipse, I'll reinstall the
latest EPP build one hoping I'll be able to use p2 and to fetch p2IU in
builds.

I'll open a bug if I can reproduce it with my newer Eclipse.
Thanks for your help.

Mickael
Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #595371 is a reply to message #55256] Thu, 16 April 2009 07:52 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

[Cross-posted to platform]

Hi again,

In case it can help you to understand my problem, here is the command I
use to install IU. I assume that p2IU fetch runs something similar.

java -jar
plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
-application org.eclipse.equinox.p2.director.app.application
-metadataRepository http://download.eclipse.org/releases/galileo/
-artifactRepository http://download.eclipse.org/releases/galileo/
-installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
==============> Returns
!ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
!MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
The installable unit org.eclipse.uml2.uml has not been found.

Whereas org.eclipse.uml2.uml is an available unit.
I had the same result for any IU.

Could this be a bug in p2 director app? Or a breaking change that I missed?

Thanks in advance for your help


Mickael Istria a écrit :
> Hi all,
>
> I am trying to use the ability to fetch plugins from map files using the
> new p2IU fetch type with Galileo M6 (I20090313-0100).
>
> However, I cannot get it working, and more generally, I cannot install
> anything using p2 director app with all p2 repos/update-sites I tried
> (Galileo, JWT, Orbit and an internal one). I've already checked that the
> units I am trying to install exist with the good version in the
> content.xml file.
> The behavior I always get is "The installable unit <...> has not been
> found.".
>
> Has anybody here already got p2 director app and/or p2IU fetch working
> with Galileo M6 ? If yes, I'd really appreciate some help and some
> pointers to go ahead.
>
> Thanks in advance,
> Mickael
Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #595459 is a reply to message #55586] Thu, 16 April 2009 14:26 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mickael Istria wrote:
> [Cross-posted to platform]
>
> Hi again,
>
> In case it can help you to understand my problem, here is the command I
> use to install IU. I assume that p2IU fetch runs something similar.
>
> java -jar
> plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
> -application org.eclipse.equinox.p2.director.app.application
> -metadataRepository http://download.eclipse.org/releases/galileo/
> -artifactRepository http://download.eclipse.org/releases/galileo/
> -installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
> ==============> Returns
> !ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
> !MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
> The installable unit org.eclipse.uml2.uml has not been found.
>
> Whereas org.eclipse.uml2.uml is an available unit.
> I had the same result for any IU.
>
> Could this be a bug in p2 director app? Or a breaking change that I missed?
>
> Thanks in advance for your help

While I think that should still work (you're correct, it's in the
content.xml), that's a plugin IU ... the actual feature IU would be
org.eclipse.uml2.feature.group Does it work better if you try that?
What if you leave off the -version?

You've probably seen
http://wiki.eclipse.org/Equinox_p2_director_application and it looks
like you are using the example from that page. What if you use the one
with more arguments (I use in my scripts, for example) from
http://wiki.eclipse.org/Equinox_p2_director_application/Exam ples/Install_into_eclipse_using_SDKProfile

Later,
PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #595687 is a reply to message #55856] Fri, 17 April 2009 09:43 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Paul Webster a écrit :
> Mickael Istria wrote:
>> [Cross-posted to platform]
>>
>> Hi again,
>>
>> In case it can help you to understand my problem, here is the command
>> I use to install IU. I assume that p2IU fetch runs something similar.
>>
>> java -jar
>> plugins/org.eclipse.equinox.launcher_1.0.200.v20090306-1900. jar
>> -application org.eclipse.equinox.p2.director.app.application
>> -metadataRepository http://download.eclipse.org/releases/galileo/
>> -artifactRepository http://download.eclipse.org/releases/galileo/
>> -installIU org.eclipse.uml2.uml -version 3.0.0 -consoleLog
>> ==============> Returns
>> !ENTRY org.eclipse.equinox.p2.director.app 4 0 2009-04-16 08:39:46.104
>> !MESSAGE The installable unit org.eclipse.uml2.uml has not been found.
>> The installable unit org.eclipse.uml2.uml has not been found.
>>
>> Whereas org.eclipse.uml2.uml is an available unit.
>> I had the same result for any IU.
>>
>> Could this be a bug in p2 director app? Or a breaking change that I
>> missed?
>>
>> Thanks in advance for your help
>
> While I think that should still work (you're correct, it's in the
> content.xml), that's a plugin IU ... the actual feature IU would be
> org.eclipse.uml2.feature.group Does it work better if you try that?
> What if you leave off the -version?
>
> You've probably seen
> http://wiki.eclipse.org/Equinox_p2_director_application and it looks
> like you are using the example from that page. What if you use the one
> with more arguments (I use in my scripts, for example) from
> http://wiki.eclipse.org/Equinox_p2_director_application/Exam ples/Install_into_eclipse_using_SDKProfile
>
>
> Later,
> PW

Hello Paul,

I get this error with any installation unit (plugin or feature).
I've tried with several arguments combination, and always get the same
result. Moreover, that same command-line works well with a Ganymede, and
also with a Galileo m6 on a colleague's machine.

Then it is probably an inconsistency in my Eclipse, I'll reinstall the
latest EPP build one hoping I'll be able to use p2 and to fetch p2IU in
builds.

I'll open a bug if I can reproduce it with my newer Eclipse.
Thanks for your help.

Mickael
Previous Topic:How to manually mark editor dirty?
Next Topic:Executing External tool (.exe,.bat etc) from the plugin
Goto Forum:
  


Current Time: Sun Dec 22 05:55:35 GMT 2024

Powered by FUDForum. Page generated in 0.03194 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top