Issue in building feature - Eclipse 3.4.1 [message #59739] |
Wed, 06 May 2009 00:10  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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 #596885 is a reply to message #59739] |
Wed, 06 May 2009 18:43  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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 ?
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04004 seconds