eclipse product export generating invalid eclipse.ini file(?) [message #503327] |
Fri, 11 December 2009 16:58  |
Eclipse User |
|
|
|
Hi,
I *thought* I posted already, but after waiting a while I still don't see my post, so I'll re-post. Apologies if this appears twice.
The situation: I'm exporting my RCP product using the eclipse product export wizard + the elta pack. Using galileo, by the way. If I run the exported product, I get problems with various bundles not being resolved. After tinkering & head-scratching, I was able to determine that my eclipse.ini file won't run as-is (i.e. as generated). Here's the generated eclipse.ini file:
-os
${target.os}
-ws
${target.ws}
-arch
${target.arch}
-nl
${target.nl}
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
This looks quite plausible to my eyes, but I'm no expert. However, when I run this, it seems that the variables ${target.os} and such are not properly expanded. If I hack the file to hard-code the target.os, target.arch, and target.ws vars, I can run the exported product. For example:
-os
linux
-ws
gtk
-arch
x86
-nl
${target.nl}
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
This problem appears on both my host platform (from which I'm exporting): linux, as well as the other platform that I am currently targeting (windows). In both cases, I have to hack the generated file in order to run w/o experiencing unresolved bundle errors.
I assume that hacking the file by hand should not be required. Any ideas on what might be wrong, or how to debug it?
Thanks, Steve
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.00608 seconds