Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Example-Plugins in Eclipse 3.6
Example-Plugins in Eclipse 3.6 [message #542543] Fri, 25 June 2010 09:43 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
I just notice that the "Example Plug-ins"
(org.eclipse.sdk.examples-3.6.zip) available from

http://download.eclipse.org/eclipse/downloads/drops/R-3.6-20 1006080911/index.php

have their features within jars. Is this an extended functionality of
Eclipse features?

Now, adding these examples to the Eclipse 3.6 distribution I notice that
the SWT examples cannot be read and I get an error report
within the Error View:

Unable to find feature.xml in directory: C:\Program
Files\Eclipse_3.6.x\features\org.eclipse.sdk.examples_3.3.0. v20100527-817fFcfFEdcVbpRlgyBRcVX.jar

Does that mean that the above assumed new feature is buggy or is it so,
that the Example Plug-ins package has been incorrectly build?

To get the examples running, I tried to unpacked both jars (as if the
jars were zip files) into directories of the same name (modulo
extension) but this time I get another error:

eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

Error
Fri Jun 25 11:39:19 CEST 2010
The artifact file for
org.eclipse.update.feature,org.eclipse.sdk.examples,3.3.0.v2 0100527-817fFcfFEdcVbpRlgyBRcVX
was not found.

and

eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean


Error
Fri Jun 25 11:39:19 CEST 2010
session context was:(profile=SDKProfile,
phase=org.eclipse.equinox.internal.p2.engine.phases.Install,
operand=null --> [R]org.eclipse.sdk.examples.feature.jar
3.3.0.v20100527-817fFcfFEdcVbpRlgyBRcVX,
action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.ac tions.InstallFeatureAction).

Any ideas?

Thx & Greetings from Bremen,

Daniel Krügler
Re: Example-Plugins in Eclipse 3.6 [message #542599 is a reply to message #542543] Fri, 25 June 2010 11:59 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Daniel Krügler wrote:
> I just notice that the "Example Plug-ins"
> (org.eclipse.sdk.examples-3.6.zip) available from
>
> http://download.eclipse.org/eclipse/downloads/drops/R-3.6-20 1006080911/index.php
>
>
> have their features within jars. Is this an extended functionality of
> Eclipse features?
>
> Now, adding these examples to the Eclipse 3.6 distribution I notice that
> the SWT examples cannot be read and I get an error report
> within the Error View:
>
> Unable to find feature.xml in directory: C:\Program
> Files\Eclipse_3.6.x\features\org.eclipse.sdk.examples_3.3.0. v20100527-817fFcfFEdcVbpRlgyBRcVX.jar

Did you install them, or have eclipse install them? or did you copy
them into eclipse? I believe they're in their p2 format (runnable
features are always directories, in a p2 repo they are jars). Maybe the
code that installs them hasn't twigged to the fact they're p2 repos.

If you have the examples.zip, can you use Help>Install New software and
pass it that zip as an Archived p2 repo?

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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Example-Plugins in Eclipse 3.6 [message #542607 is a reply to message #542599] Fri, 25 June 2010 12:21 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 25.06.2010 13:59, Paul Webster wrote:
> Daniel Krügler wrote:
>> I just notice that the "Example Plug-ins"
>> (org.eclipse.sdk.examples-3.6.zip) available from
>>
>> http://download.eclipse.org/eclipse/downloads/drops/R-3.6-20 1006080911/index.php
>>
>>
>> have their features within jars. Is this an extended functionality of
>> Eclipse features?
>>
>> Now, adding these examples to the Eclipse 3.6 distribution I notice
>> that the SWT examples cannot be read and I get an error report
>> within the Error View:
>>
>> Unable to find feature.xml in directory: C:\Program
>> Files\Eclipse_3.6.x\features\org.eclipse.sdk.examples_3.3.0. v20100527-817fFcfFEdcVbpRlgyBRcVX.jar
>
>
> Did you install them, or have eclipse install them? or did you copy them
> into eclipse?

I downloaded them, unzipped them and added them as they are to the
new Eclipse installation. I started Eclipse with -clean option after that.

> I believe they're in their p2 format (runnable features
> are always directories, in a p2 repo they are jars). Maybe the code that
> installs them hasn't twigged to the fact they're p2 repos.

What would be the official way to install them? The download page
implies that I could just download them.

> If you have the examples.zip, can you use Help>Install New software and
> pass it that zip as an Archived p2 repo?

I tried that without success. I didn't get an error message, but it says
that "There are no categorized items". Then I unpacked the original zip
file and tried to install from a local repository, but I got the same
(empty list) result as via the archive.

Thanks for your help, Paul,

- Daniel
Re: Example-Plugins in Eclipse 3.6 [message #542608 is a reply to message #542607] Fri, 25 June 2010 12:24 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 25.06.2010 14:21, Daniel Krügler wrote:
> On 25.06.2010 13:59, Paul Webster wrote:
>> Daniel Krügler wrote:

>> If you have the examples.zip, can you use Help>Install New software and
>> pass it that zip as an Archived p2 repo?
>
> I tried that without success. I didn't get an error message, but it says
> that "There are no categorized items". Then I unpacked the original zip
> file and tried to install from a local repository, but I got the same
> (empty list) result as via the archive.

To make that clear: I did this experiment with a full clean Eclipse
again (I wanted to be sure that no remaining artifacts from my first
attempt could influence this negatively).

- Daniel
Re: Example-Plugins in Eclipse 3.6 [message #542645 is a reply to message #542607] Fri, 25 June 2010 14:17 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Daniel Krügler wrote:

> I tried that without success. I didn't get an error message, but it says
> that "There are no categorized items". Then I unpacked the original zip
> file and tried to install from a local repository, but I got the same
> (empty list) result as via the archive.

OK, it is a p2 repo (I checked). You have to uncheck the "Group items by
category" to see the features available. Then you can install them
correctly.

The download page is wrong (please open a bug) as you haven't been able
to unzip plugins into eclipse/plugins and have them work correctly since
3.4.x/p2.

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/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Example-Plugins in Eclipse 3.6 [message #543430 is a reply to message #542645] Tue, 29 June 2010 12:30 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
On 25.06.2010 16:17, Paul Webster wrote:
> Daniel Krügler wrote:
>
>> I tried that without success. I didn't get an error message, but it says
>> that "There are no categorized items". Then I unpacked the original
>> zip file and tried to install from a local repository, but I got the same
>> (empty list) result as via the archive.
>
> OK, it is a p2 repo (I checked). You have to uncheck the "Group items by
> category" to see the features available. Then you can install them
> correctly.

Thanks for your tip, Paul - I can confirm the success of your described
procedure!
It seems to me that the effect of "Group items by category" (or at
least the decision to have this active per default" can be very
misleading for users of the Eclipse update tool, but that is clearly a
different problem.

> The download page is wrong (please open a bug) as you haven't been able
> to unzip plugins into eclipse/plugins and have them work correctly since
> 3.4.x/p2.

I agree and so I added:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=318303

Thanks for your help again & Greetings from Bremen,

- Daniel Krügler
Previous Topic:persisting code folding state
Next Topic:EPP Package Repository is empty for Helios release
Goto Forum:
  


Current Time: Tue Apr 16 19:44:43 GMT 2024

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

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

Back to the top