Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unable to find feature.xml in directory...
Unable to find feature.xml in directory... [message #461656] Mon, 15 January 2007 23:46 Go to next message
Alexander NyÃ?en is currently offline Alexander NyÃ?enFriend
Messages: 38
Registered: July 2009
Member
Hallo,

I am building an RCP product in headless mode. The headless build works
fine. If I unzip my product.zip all feature and plugin jars are present
under the features and plugins folders. However, if I start the product,
only the plugins, not the features get enabled. The "Feature Details" button
is missing and if I take a look under "Manage Configuration", the features
are shown as disabled (Trying to enable them there, I am told that there are
problems).Taking a look into the .log file shows, that the feature.xml files
of none of the included features do not seem to be found (see .log entries
further down). Also, neither plugins nor features get unzipped.

Any ideas where to start?

Best Regards
Alexander


!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.061
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.apache.jakarta_ log4j.feature_1.2.8.v200701151248--0842292337346_.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.061
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.cdt_4.0 .0.v200701151248--JgTtvyuBCNBV7F.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.061
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.emf.tra nsaction_1.1.0.v200701151248--1G955I577E79CK.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.061
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.emf.val idation_1.1.0.v200701151248--2PD88S8AAMADJV.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.emf.wor kspace_1.0.1.v200701151248--1G955I577E79CK.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.emf_2.3 .0.v200701151248--TyBJMNJlnVmD7o.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.gef_3.3 .0.v200701151248--1G955I577E79CK.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.jdt.sou rce_3.3.0.v20061213-1300b-KeyqHt5t5-Z9PT8.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.jdt_3.3 .0.v20061213-1300b-KeyqHt5t5-Z9PT8.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.pde.sou rce_3.3.0.v20061114-0800-87cMN7UcTc-JRPJ.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.pde_3.3 .0.v20061114-0800-87cMN7UcTc-JRPJ.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.platfor m.source_3.3.0.v20061208-Fj22sCYGm0XDWm3.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.platfor m_3.3.0.v20061208-Fj22sCYGm0XDWm3.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.rcp.sou rce_3.3.0.v20061130-SSidXDlCC-MUNLT.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.rcp_3.3 .0.v20061130-SSidXDlCC-MUNLT.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.sdk_3.3 .0.v20061208-cJIrbslc_uuDzLd.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.test_3. 3.0.v20061124------0B42283346.jar

!ENTRY org.eclipse.update.configurator 2007-01-16 00:02:32.071
!MESSAGE Unable to find feature.xml in directory: C:\Dokumente und
Einstellungen\any\Desktop\ViPER\features\org.eclipse.uml2_2. 1.0.v200701151248--AXrVWiVghMgsCt.jar

....
Re: Unable to find feature.xml in directory... [message #461668 is a reply to message #461656] Tue, 16 January 2007 05:58 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
The features are expected to be directories, rather than compressed Jars. Is that the case? And do the feature.xml files exist?

The other thing is that Windows has a limit of 256 characters for file names, which frequently gets blown when having features with qualifiers and installed into a documents and settings directory. There was work done recently to use the UNC paths to enable it, but this may not have been done for the feature stuff.

If you install it into c:, does it work then? If so, I'd suspect the path limit. Getting rid of the feature qualifier might also help.

You might want to consider raising a bug at https://bugs.eclipse.org with respect to the feature; it's quite possible that the feature code just uses java.io.File instead of the UNC mechanism.

Alex.
Re: Unable to find feature.xml in directory... [message #461670 is a reply to message #461668] Tue, 16 January 2007 06:15 Go to previous messageGo to next message
Alexander NyÃ?en is currently offline Alexander NyÃ?enFriend
Messages: 38
Registered: July 2009
Member
Hallo,

yes, the feature jars do of course contain the feature.xml files (I forgot
to mention). The problem does not seem to be Windows specific, because the
same problems occur when trying to executing my JUnit Tests for the headless
build on my Linux GTK build machine. I would expect them to be directories
and I think this is the root cause, the unpacking of the plugins seems to be
a following mistake. Is there an easy way to force the unpacking of the
features for my headless build?

Alexander



"Alex Blewitt" <alex_blewitt@yahoo.com> schrieb im Newsbeitrag
news:18147955.1168927169378.JavaMail.root@cp1.javalobby.org...
> The features are expected to be directories, rather than compressed Jars.
> Is that the case? And do the feature.xml files exist?
>
> The other thing is that Windows has a limit of 256 characters for file
> names, which frequently gets blown when having features with qualifiers
> and installed into a documents and settings directory. There was work done
> recently to use the UNC paths to enable it, but this may not have been
> done for the feature stuff.
>
> If you install it into c:, does it work then? If so, I'd suspect the path
> limit. Getting rid of the feature qualifier might also help.
>
> You might want to consider raising a bug at https://bugs.eclipse.org with
> respect to the feature; it's quite possible that the feature code just
> uses java.io.File instead of the UNC mechanism.
>
> Alex.
Re: Unable to find feature.xml in directory... [message #461776 is a reply to message #461670] Tue, 16 January 2007 21:02 Go to previous message
Alexander NyÃ?en is currently offline Alexander NyÃ?enFriend
Messages: 38
Registered: July 2009
Member
Ok, resolved it. My problem was that I had the outputUpdateJars option set
to true in my build.properties file.
Changing that causes features to be correctly unjarred.

"Alexander Ny
Previous Topic:Open, close and editing events
Next Topic:Exception org.eclipse.swt.widgets.RunnableLock.run
Goto Forum:
  


Current Time: Thu Sep 26 18:44:42 GMT 2024

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

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

Back to the top