Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Issue in building feature - Eclipse 3.4.1
Issue in building feature - Eclipse 3.4.1 [message #59739] Wed, 06 May 2009 00:10 Go to next message
Eclipse UserFriend
Hi,
We have our feature developed in Eclipse 3.4.1
I tried exporting it as an archive file using export wizard and then
extract it into a fresh eclipse install. I tried switching the perspective
to my feature and it worked properly.

Now, I tried building the same feature by referring to help contents -
Plug-in Development Environment Guide > Tasks > PDE Build
The build was successful. However, when I extracted the archive in my
eclipse folder and tried switching to my feature's perspective I got an
error - Problems opening perspective
'com.infy.finacle.fss.ui.FinaclePerspective'
And the error shown in error log is :
Root exception:
java.lang.NoClassDefFoundError:
com/infy/finacle/fss/core/metadata/managers/FSSAppMetadataMa nager
at com.infy.finacle.fss.ui.FSSUIPlugin.start(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
.......

Also, there is a discrepancy in the sizes of the jars of the plugins
created by exporting the feature and by building it.

What could have gone wrong here ?
Re: Issue in building feature - Eclipse 3.4.1 [message #59764 is a reply to message #59739] Wed, 06 May 2009 00:13 Go to previous messageGo to next message
Eclipse UserFriend
The path in help contents is:
Plug-in Development Environment Guide > Tasks > PDE Build > Automated
Building of Features
Re: Issue in building feature - Eclipse 3.4.1 [message #59858 is a reply to message #59739] Wed, 06 May 2009 18:43 Go to previous messageGo to next message
Eclipse UserFriend
Are you just missing some of the class files, but most of the files are
there?

There is problem on windows if the path gets too long. Ant silently
fails to copy some files and pde/build has no idea anything went wrong.
Could that be your problem? I can't find the bug report for this now,
but I think things work better with a 1.6 vm.


Nitin Bohara wrote:
> Hi,
> We have our feature developed in Eclipse 3.4.1
> I tried exporting it as an archive file using export wizard and then
> extract it into a fresh eclipse install. I tried switching the
> perspective to my feature and it worked properly.
>
> Now, I tried building the same feature by referring to help contents -
> Plug-in Development Environment Guide > Tasks > PDE Build
> The build was successful. However, when I extracted the archive in my
> eclipse folder and tried switching to my feature's perspective I got an
> error - Problems opening perspective
> 'com.infy.finacle.fss.ui.FinaclePerspective'
> And the error shown in error log is :
> Root exception:
> java.lang.NoClassDefFoundError:
> com/infy/finacle/fss/core/metadata/managers/FSSAppMetadataMa nager
> at com.infy.finacle.fss.ui.FSSUIPlugin.start(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> ......
>
> Also, there is a discrepancy in the sizes of the jars of the plugins
> created by exporting the feature and by building it.
>
> What could have gone wrong here ?
>
Re: Issue in building feature - Eclipse 3.4.1 [message #60067 is a reply to message #59858] Thu, 07 May 2009 07:30 Go to previous message
Eclipse UserFriend
Found out what went wrong. I accidentally used a version of eclipse while
building which was different from the version on which the feature was
developed. Its working fine now. Thanks for the helps anyways.

Regards,
Nitin


>Andrew Niefer wrote:

> Are you just missing some of the class files, but most of the files are
> there?

> There is problem on windows if the path gets too long. Ant silently
> fails to copy some files and pde/build has no idea anything went wrong.
> Could that be your problem? I can't find the bug report for this now,
> but I think things work better with a 1.6 vm.


> Nitin Bohara wrote:
>> Hi,
>> We have our feature developed in Eclipse 3.4.1
>> I tried exporting it as an archive file using export wizard and then
>> extract it into a fresh eclipse install. I tried switching the
>> perspective to my feature and it worked properly.
>>
>> Now, I tried building the same feature by referring to help contents -
>> Plug-in Development Environment Guide > Tasks > PDE Build
>> The build was successful. However, when I extracted the archive in my
>> eclipse folder and tried switching to my feature's perspective I got an
>> error - Problems opening perspective
>> 'com.infy.finacle.fss.ui.FinaclePerspective'
>> And the error shown in error log is :
>> Root exception:
>> java.lang.NoClassDefFoundError:
>> com/infy/finacle/fss/core/metadata/managers/FSSAppMetadataMa nager
>> at com.infy.finacle.fss.ui.FSSUIPlugin.start(Unknown Source)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>
>> ......
>>
>> Also, there is a discrepancy in the sizes of the jars of the plugins
>> created by exporting the feature and by building it.
>>
>> What could have gone wrong here ?
>>
Re: Issue in building feature - Eclipse 3.4.1 [message #596856 is a reply to message #59739] Wed, 06 May 2009 00:13 Go to previous message
Eclipse UserFriend
The path in help contents is:
Plug-in Development Environment Guide > Tasks > PDE Build > Automated
Building of Features
Re: Issue in building feature - Eclipse 3.4.1 [message #596885 is a reply to message #59739] Wed, 06 May 2009 18:43 Go to previous message
Eclipse UserFriend
Are you just missing some of the class files, but most of the files are
there?

There is problem on windows if the path gets too long. Ant silently
fails to copy some files and pde/build has no idea anything went wrong.
Could that be your problem? I can't find the bug report for this now,
but I think things work better with a 1.6 vm.


Nitin Bohara wrote:
> Hi,
> We have our feature developed in Eclipse 3.4.1
> I tried exporting it as an archive file using export wizard and then
> extract it into a fresh eclipse install. I tried switching the
> perspective to my feature and it worked properly.
>
> Now, I tried building the same feature by referring to help contents -
> Plug-in Development Environment Guide > Tasks > PDE Build
> The build was successful. However, when I extracted the archive in my
> eclipse folder and tried switching to my feature's perspective I got an
> error - Problems opening perspective
> 'com.infy.finacle.fss.ui.FinaclePerspective'
> And the error shown in error log is :
> Root exception:
> java.lang.NoClassDefFoundError:
> com/infy/finacle/fss/core/metadata/managers/FSSAppMetadataMa nager
> at com.infy.finacle.fss.ui.FSSUIPlugin.start(Unknown Source)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>
> ......
>
> Also, there is a discrepancy in the sizes of the jars of the plugins
> created by exporting the feature and by building it.
>
> What could have gone wrong here ?
>
Re: Issue in building feature - Eclipse 3.4.1 [message #596977 is a reply to message #59858] Thu, 07 May 2009 07:30 Go to previous message
Eclipse UserFriend
Found out what went wrong. I accidentally used a version of eclipse while
building which was different from the version on which the feature was
developed. Its working fine now. Thanks for the helps anyways.

Regards,
Nitin


>Andrew Niefer wrote:

> Are you just missing some of the class files, but most of the files are
> there?

> There is problem on windows if the path gets too long. Ant silently
> fails to copy some files and pde/build has no idea anything went wrong.
> Could that be your problem? I can't find the bug report for this now,
> but I think things work better with a 1.6 vm.


> Nitin Bohara wrote:
>> Hi,
>> We have our feature developed in Eclipse 3.4.1
>> I tried exporting it as an archive file using export wizard and then
>> extract it into a fresh eclipse install. I tried switching the
>> perspective to my feature and it worked properly.
>>
>> Now, I tried building the same feature by referring to help contents -
>> Plug-in Development Environment Guide > Tasks > PDE Build
>> The build was successful. However, when I extracted the archive in my
>> eclipse folder and tried switching to my feature's perspective I got an
>> error - Problems opening perspective
>> 'com.infy.finacle.fss.ui.FinaclePerspective'
>> And the error shown in error log is :
>> Root exception:
>> java.lang.NoClassDefFoundError:
>> com/infy/finacle/fss/core/metadata/managers/FSSAppMetadataMa nager
>> at com.infy.finacle.fss.ui.FSSUIPlugin.start(Unknown Source)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:1009)
>>
>> ......
>>
>> Also, there is a discrepancy in the sizes of the jars of the plugins
>> created by exporting the feature and by building it.
>>
>> What could have gone wrong here ?
>>
Previous Topic:How PDE build package the resource files with space character
Next Topic:Issue in building feature by fetching it from repository
Goto Forum:
  


Current Time: Mon Jun 02 16:06:52 EDT 2025

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

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

Back to the top