compiling a SWT-gui with gcj on windows

Jörg Maisenbacher
Sun Aug 10 11:13:00 GMT 2003

Tom Tromey wrote:
>>>>>>"Jörg" == Jörg Maisenbacher <> writes:
> Jörg> gcj -c --resource=org/eclipse/swt/internal/ \
> Jörg>      -o SWTMessages.o org/eclipse/swt/internal/
> 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.  

And how do i know, which name is used at runtime? i looked at the 
Jface-sources, there is a call for
it don't work if i do:
gcj --resource=org.eclipse.jface.messages (...)
gcj (...)
gcj --resource=org/eclipse/jface/messages (...)
gcj --resource=org/eclipse/jface/ (...)
gcj --resource=messages (...)
gcj (...)

what the hell am i doing wrong????

Jörg Maisenbacher
    "There are only 10 types of people in the world:
     Those who understand binary and those who don't."

More information about the Java mailing list