Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director
Re: Don't succeed to fetch bundles with p2IU, nor to use p2 director [message #335599] Thu, 16 April 2009 03:52 Go to next message
Eclipse User
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 #335617 is a reply to message #335599] Thu, 16 April 2009 10:26 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
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 #335636 is a reply to message #335617] Fri, 17 April 2009 05:43 Go to previous message
Eclipse User
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
Previous Topic:Assign ".a.b" extention to my editor?
Next Topic:Cascading build processes triggered by resource modification
Goto Forum:
  


Current Time: Sun Aug 31 04:34:20 EDT 2014

Powered by FUDForum. Page generated in 0.01755 seconds