This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Resources in natively compiled executables


>>>>> "Chris" == Chris Burdess <dog@bluezoo.org> writes:

Chris> All is well when building a jarfile. However, when our target is a
Chris> native executable, there is currently (AFAIK) no way for gcj to be
Chris> informed of these resources and package them into the executable in
Chris> such a way as to be accessible via the above methods.

Look at the `--resource' option.  This lets you compile in a file as a
resource.  It is available via the special `core:' URL handler;
`core:/' is put on the class path by default.  I think all the methods
you mention will work fine with core resources.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]