This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Resources in natively compiled executables
- From: Tom Tromey <tromey at redhat dot com>
- To: Chris Burdess <dog at bluezoo dot org>
- Cc: java at gcc dot gnu dot org
- Date: 14 Apr 2004 08:33:36 -0600
- Subject: Re: Resources in natively compiled executables
- References: <1606C614-8DED-11D8-8F7A-000D934FF4B2@bluezoo.org>
- Reply-to: tromey at redhat dot com
>>>>> "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