|
|
|
|
|
Re: ClassNotFound SWTError on deployed Startup [message #605956 is a reply to message #538281] |
Wed, 09 June 2010 05:08  |
Eclipse User |
|
|
|
I have found the issue, but I am still no closer to the solution. My problem is that the product .ini file, usually called eclipse.ini to correspond with the launcher eclipse.exe contains the following:
-os
${target.os}
-ws
${target.ws}
-arch
${target.arch}
-nl
${target.nl}
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
If I replace
${target.os} with win32
${target.ws} with win32
${target.arch} with x86
${target.nl} with en_AU
my product runs immediately.
These are the values specified in my current target definition. I believe that the replacement process does not update the file correctly.
Maybe this is due to the fact that my launcher is called mint, not eclipse.
My problem is that I cannot see what the product export wizard does, when it runs. I will post this as a new thread.
|
|
|
Re: ClassNotFound SWTError on deployed Startup [message #605960 is a reply to message #605956] |
Wed, 09 June 2010 11:12  |
Eclipse User |
|
|
|
You don't need -os, -ws, -arch in your launcher .ini file. The fact that
those are there is this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278598
The eclipse executable automatically adds -os, -ws and -arch to the command
line for you, the values it gives will be based on whatever platform the
launcher was compiled for.
-Andrwe
Joerr Guy Suess wrote:
> I have found the issue, but I am still no closer to the solution. My
> problem is that the product .ini file, usually called eclipse.ini to
> correspond with the launcher eclipse.exe contains the following:
>
>
> -os
> ${target.os}
> -ws
> ${target.ws}
> -arch
> ${target.arch}
> -nl
> ${target.nl}
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx512m
>
>
> If I replace
> ${target.os} with win32
> ${target.ws} with win32
> ${target.arch} with x86
> ${target.nl} with en_AU
> my product runs immediately.
>
> These are the values specified in my current target definition. I believe
> that the replacement process does not update the file correctly.
>
> Maybe this is due to the fact that my launcher is called mint, not
> eclipse.
>
> My problem is that I cannot see what the product export wizard does, when
> it runs. I will post this as a new thread.
|
|
|
Powered by
FUDForum. Page generated in 0.07485 seconds