This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compiling a SWT-gui with gcj on windows
- From: Tom Tromey <tromey at redhat dot com>
- To: Jörg Maisenbacher <joerg at maisenbachers dot de>
- Cc: java at gcc dot gnu dot org
- Date: 09 Aug 2003 13:06:15 -0600
- Subject: Re: compiling a SWT-gui with gcj on windows
- References: <3F1F0209.3060703@maisenbachers.de><pan.2003.07.24.11.52.34.848197@gmx.ch><3F3500E4.8070202@maisenbachers.de>
- Reply-to: tromey at redhat dot com
>>>>> "Jörg" == Jörg Maisenbacher <joerg@maisenbachers.de> writes:
Jörg> gcj -c --resource=org/eclipse/swt/internal/SWTMessages.properties \
Jörg> -o SWTMessages.o org/eclipse/swt/internal/SWTMessages.properties
Jörg> i tried to change this for all the property-files i have. They compile
Jörg> fine to .o. And i have no error at linking-stage. But at runtime i get
Jörg> ----
Jörg> java.util.MissingResourceException: Bundle org.eclipse.jface.messages
Jörg> not found
Usually you run into problems here if you pass the wrong argument to
--resource.
The argument to --resource is *not* a file name -- it is the name of
the resource that will be looked for at runtime. I've made the
mistake before of using an actual file name here, e.g. if you use the
magic make variables in a VPATH build, you'll get the wrong value...
If that isn't the problem, you can always debug...
Tom