« Return to Thread: Can't select string resources from a jar file.

Re: Can't select string resources from a jar file.

by Aldo Brucale :: Rate this Message:

Reply to Author | View in Thread

jasg wrote:

> When setting the text property of a label, It is not possible to select a
> resource bundle which is located in a jar file. Even if that jar file is
> included in the project library group.
>
> I'm fairly sure this used to work in 5.5, but not in 6.0 or 6.1
>
> Anyone else have this problem?
>
> Thanks
> J

I think this is related to my issue #132788
<http://www.netbeans.org/issues/show_bug.cgi?id=132788> - it is not very
clear where the resource bundles should be. It is currently possible to
choose them from the runtime classpath of the application (except for
jar files, as you point out) but they are not handled correctly unless
they are in the project source tree.
Another related question: which classpath does Matisse actually see when
the user is editing files? It should be the same used for choosing
properties files and icons: the runtime classpath seems to me more
logical and flexible than the source tree.

 « Return to Thread: Can't select string resources from a jar file.

LightInTheBox - Buy quality products at wholesale price