|
Re: RCP export problem [message #464469 is a reply to message #464461] |
Thu, 08 March 2007 08:33 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
Hello Radu
Surprisingly, but I have the same problem which I am struggling to
solve. I would like to know the "proper" solution, as well.
Radu Dumitrescu wrote:
> I have a problem with the export of a RCP application. Launched from
> eclipse it works perfect. When I export it with the Eclipse Product
> export wizard it exports all the required packages. When I try to
> launch the application the RuntimeException: No application id has
> been found. appears. The Manifest.mf exported int the jar containing
> the application has only one line: Manifest-Version: 1.0. and is
> different from the one I have in the workbench.
> If I take the Manifest.mf from the workbench and place it into the
> application jar (replacing the one with only one line) the RCP
> application starts without problems. I've placed the
> META_INF/Manifest.mf in the build. The built and export don't throw
> errors. Can someone pls tell me what is the problem or where to look?
> I've tried cleaning the project, update the classpath, rebuilt the
> manifest path ....
>
> Thanks
>
>
|
|
|
|
Re: RCP export problem [message #464474 is a reply to message #464472] |
Thu, 08 March 2007 09:10 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
Hello Radu.
Thanks very much for letting us know of the cause.
I just did not understand what happened. You are talking about
workspace/src
folrer. How can the folder contain a line? I thought you can say like
that with regard to text files, eh?
Could you please kindly explain the situation a bit more?
Thanks in advance.
Radu Dumitrescu wrote:
> I have found the problem in my workspace - there was an entry in the
> workspace/src folder for META-INF/MANIFEST.MF (don't know how it got there)
> that contained the singled line MANIFEST.MF file. It seemed that the export
> process packed this manifest instead of the correct one.
>
> Hope this helps,
> Radu Dumitrescu
>
>
>
|
|
|
|
Re: RCP export problem [message #464477 is a reply to message #464475] |
Thu, 08 March 2007 09:42 |
Eclipse User |
|
|
|
Originally posted by: peter_ossipov.mail.ru
Ok, thanks Radu so much!
Let me go and check! Quite possibly I can have the same problem.
Radu Dumitrescu wrote:
> Sorry if I didn't make my self clear. The valid manifest was in the
> workspace/META-INF/MANIFEST.MF and it contained all the needed information
> to start the RCP application:
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: xxx
> Bundle-SymbolicName: xxx; singleton:=true
> Bundle-Version: 1.0.0
> Bundle-Vendor: xxx
> Bundle-Localization: plugin
> Require-Bundle: org.eclipse.ui,
> org.eclipse.birt.report.engine
> Bundle-ClassPath: .,
> lib/xxx.jar,
> lib/yy.jar,
>
> but another one was in the workspace/src/META-INF/MANIFEST.MF that contained
> a single line:
>
> Manifest-Version: 1.0
>
> The last one was the one packed in the RCP application plug-in jar and so it
> made the startup fail. I deleted the folder workspace/src/META-INF and
> reexported the RCP application (the valid MANIFEST.MF was packed in the jar)
> and now it works.
>
>
>
|
|
|
Re: RCP export problem [message #464488 is a reply to message #464461] |
Thu, 08 March 2007 23:34 |
Eclipse User |
|
|
|
Originally posted by: jcarroll.us.ibm.com
I have had similar export problems in the past.
open the run dialog and make sure that all the required
plugins are checked for your product definition.
GL.
John.
> I have a problem with the export of a RCP application. Launched from
> eclipse it works perfect. When I export it with the Eclipse Product
> export wizard it exports all the required packages. When I try to launch
> the application the RuntimeException: No application id has been found.
> appears. The Manifest.mf exported int the jar containing the application
> has only one line: Manifest-Version: 1.0. and is different from the one
> I have in the workbench.
> If I take the Manifest.mf from the workbench and place it into the
> application jar (replacing the one with only one line) the RCP
> application starts without problems. I've placed the
> META_INF/Manifest.mf in the build. The built and export don't throw
> errors. Can someone pls tell me what is the problem or where to look?
> I've tried cleaning the project, update the classpath, rebuilt the
> manifest path ....
>
> Thanks
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04231 seconds