Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Feature as "Jar"
Feature as "Jar" [message #326303] Fri, 14 March 2008 05:08 Go to next message
Eclipse UserFriend
Hi all,

As discussed in a previous post i created my first feature last weeks.
When i exported this feature i choose to export it as a Jar (a message in
PDE export dialog said : " Jar required for update sites").

After installing this Jar feature all is working perfectly !!

Yesterday a user of this feature email me about a strange problem:

Once he adds a new feature to is Eclipse installation using the Help ->
Find and install -> Manage configuration -> Add extension location, my
feature becomes disabled !!!

I was able to reproduce the bug and check the error log :

!ENTRY org.eclipse.update.configurator 2008-03-13 11:40:30.873 !MESSAGE
Unable to find feature.xml in directory: followed by the path of my Jar
feature.

Trying to export the feature as a directory (as all Eclipse features) fix
the problem ...

Have you any explication for this ?

Thanks

Manu
http://manuelselva.wordpress.com
Re: Feature as "Jar" [message #326309 is a reply to message #326303] Fri, 14 March 2008 08:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Manuel,

Perhaps there's an issue with the bin.includes of the build.properties.
Are you sure the feature.xml is properly ending up in your final jar?


Manuel Selva wrote:
> Hi all,
>
> As discussed in a previous post i created my first feature last weeks.
> When i exported this feature i choose to export it as a Jar (a message
> in PDE export dialog said : " Jar required for update sites").
>
> After installing this Jar feature all is working perfectly !!
>
> Yesterday a user of this feature email me about a strange problem:
>
> Once he adds a new feature to is Eclipse installation using the Help
> -> Find and install -> Manage configuration -> Add extension location,
> my feature becomes disabled !!!
>
> I was able to reproduce the bug and check the error log :
>
> !ENTRY org.eclipse.update.configurator 2008-03-13 11:40:30.873
> !MESSAGE Unable to find feature.xml in directory: followed by the path
> of my Jar feature.
>
> Trying to export the feature as a directory (as all Eclipse features)
> fix the problem ...
>
> Have you any explication for this ?
>
> Thanks
>
> Manu
> http://manuelselva.wordpress.com
>
Re: Feature as "Jar" [message #326312 is a reply to message #326309] Fri, 14 March 2008 08:51 Go to previous message
Eclipse UserFriend
Hi Ed,

Ye sit is I checked that. What is very strange is that before any
extension location is added my feature works perfectly ...


Manu
Previous Topic:How to define commands from code
Next Topic:IFileStore -> IFile
Goto Forum:
  


Current Time: Thu Apr 24 00:41:44 EDT 2025

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

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

Back to the top