Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Target Platform within Eclipse 3.5M6
Target Platform within Eclipse 3.5M6 [message #50377] Sat, 14 March 2009 21:16 Go to next message
Marco  Lehmann-Mörz is currently offline Marco Lehmann-MörzFriend
Messages: 53
Registered: July 2009
Member
Hi there,

I created some features and plug-ins and exported them to

D:\exported

with p2 metadata.
The directory contains two directories (features, plugins) and two files
(artifacts.jar, content.jar).

Now I create a target platform in Eclipse 3.5M6. I try to consume this
locally exported features and plug-ins with "Repository and Update Site
Target Provisioner", but it "seems" to contain no features and plug-ins.

Am I missing something?


TIA,
Marco
Re: Target Platform within Eclipse 3.5M6 [message #50435 is a reply to message #50377] Mon, 16 March 2009 19:51 Go to previous messageGo to next message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Marco Lehmann wrote:
> Hi there,
>
> I created some features and plug-ins and exported them to
>
> D:\exported
>
> with p2 metadata.
> The directory contains two directories (features, plugins) and two files
> (artifacts.jar, content.jar).
>
> Now I create a target platform in Eclipse 3.5M6. I try to consume this
> locally exported features and plug-ins with "Repository and Update Site
> Target Provisioner", but it "seems" to contain no features and plug-ins.
>
> Am I missing something?
>
>
> TIA,
> Marco

You need to create an update site project. Add your features and
plug-ins to it. Build it and export it to file system. Now you should be
able to consume it as "Repository and Update Site". What you were
missing was "site.xml"

hth,
Ankur..
Re: Target Platform within Eclipse 3.5M6 [message #50462 is a reply to message #50435] Mon, 16 March 2009 19:58 Go to previous messageGo to next message
Marco  Lehmann-Mörz is currently offline Marco Lehmann-MörzFriend
Messages: 53
Registered: July 2009
Member
Thanks for your reply, but the current update site for babel

http://download.eclipse.org/technology/babel/update-site/gan ymede/

doesn't have a site.xml and it works perfect.

Sorry,
Marco


Ankur Sharma schrieb:
> Marco Lehmann wrote:
>> Hi there,
>>
>> I created some features and plug-ins and exported them to
>>
>> D:\exported
>>
>> with p2 metadata.
>> The directory contains two directories (features, plugins) and two files
>> (artifacts.jar, content.jar).
>>
>> Now I create a target platform in Eclipse 3.5M6. I try to consume this
>> locally exported features and plug-ins with "Repository and Update Site
>> Target Provisioner", but it "seems" to contain no features and plug-ins.
>>
>> Am I missing something?
>>
>>
>> TIA,
>> Marco
>
> You need to create an update site project. Add your features and
> plug-ins to it. Build it and export it to file system. Now you should be
> able to consume it as "Repository and Update Site". What you were
> missing was "site.xml"
>
> hth,
> Ankur..
Re: Target Platform within Eclipse 3.5M6 [message #50518 is a reply to message #50462] Mon, 16 March 2009 20:09 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Marco Lehmann wrote:
> Thanks for your reply, but the current update site for babel
>
> http://download.eclipse.org/technology/babel/update-site/gan ymede/
>
> doesn't have a site.xml and it works perfect.
>
> Sorry,
> Marco

Right. That's because its over http. You can move that d:\exported
behind a webserver and it will work fine for you too. But if you need it
over file:// then site.xml need to be there. Why? Sorry no idea.

regards,
Ankur..
Re: Target Platform within Eclipse 3.5M6 [message #593218 is a reply to message #50377] Mon, 16 March 2009 19:51 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Marco Lehmann wrote:
> Hi there,
>
> I created some features and plug-ins and exported them to
>
> D:\exported
>
> with p2 metadata.
> The directory contains two directories (features, plugins) and two files
> (artifacts.jar, content.jar).
>
> Now I create a target platform in Eclipse 3.5M6. I try to consume this
> locally exported features and plug-ins with "Repository and Update Site
> Target Provisioner", but it "seems" to contain no features and plug-ins.
>
> Am I missing something?
>
>
> TIA,
> Marco

You need to create an update site project. Add your features and
plug-ins to it. Build it and export it to file system. Now you should be
able to consume it as "Repository and Update Site". What you were
missing was "site.xml"

hth,
Ankur..
Re: Target Platform within Eclipse 3.5M6 [message #593229 is a reply to message #50435] Mon, 16 March 2009 19:58 Go to previous message
Marco  Lehmann-Mörz is currently offline Marco Lehmann-MörzFriend
Messages: 53
Registered: July 2009
Member
Thanks for your reply, but the current update site for babel

http://download.eclipse.org/technology/babel/update-site/gan ymede/

doesn't have a site.xml and it works perfect.

Sorry,
Marco


Ankur Sharma schrieb:
> Marco Lehmann wrote:
>> Hi there,
>>
>> I created some features and plug-ins and exported them to
>>
>> D:\exported
>>
>> with p2 metadata.
>> The directory contains two directories (features, plugins) and two files
>> (artifacts.jar, content.jar).
>>
>> Now I create a target platform in Eclipse 3.5M6. I try to consume this
>> locally exported features and plug-ins with "Repository and Update Site
>> Target Provisioner", but it "seems" to contain no features and plug-ins.
>>
>> Am I missing something?
>>
>>
>> TIA,
>> Marco
>
> You need to create an update site project. Add your features and
> plug-ins to it. Build it and export it to file system. Now you should be
> able to consume it as "Repository and Update Site". What you were
> missing was "site.xml"
>
> hth,
> Ankur..
Re: Target Platform within Eclipse 3.5M6 [message #593245 is a reply to message #50462] Mon, 16 March 2009 20:09 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 84
Registered: July 2009
Member
Marco Lehmann wrote:
> Thanks for your reply, but the current update site for babel
>
> http://download.eclipse.org/technology/babel/update-site/gan ymede/
>
> doesn't have a site.xml and it works perfect.
>
> Sorry,
> Marco

Right. That's because its over http. You can move that d:\exported
behind a webserver and it will work fine for you too. But if you need it
over file:// then site.xml need to be there. Why? Sorry no idea.

regards,
Ankur..
Previous Topic:How do I get the source code?
Next Topic:Contributed Ant task, headless behaviour changed 3.3.2 -> 3.5M5
Goto Forum:
  


Current Time: Fri Apr 19 20:32:21 GMT 2024

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

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

Back to the top