0.9.12 compile problem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
brownidj
Posts: 34
Joined: Tue Jun 17, 2003 12:07 am
Contact:

0.9.12 compile problem

Post by brownidj » Thu Sep 11, 2003 1:44 pm

I noticed that org.jfree.chart.annotations.junit is empty - (missing all the ...Test files)

David

richard_atkinson
Posts: 115
Joined: Fri Mar 14, 2003 3:13 pm
Location: London, England
Contact:

Version 0.9.12

Post by richard_atkinson » Thu Sep 11, 2003 2:07 pm

It would be nice if the ResourceBundles were in the src/org/jfree/chart directory as well. Currently you have to pull them out of the JAR file.

Regards,
Richard...

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Sep 11, 2003 2:36 pm

I will fix both those problems and get 0.9.13 very soon...any other bug reports are welcome!
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

brownidj
Posts: 34
Joined: Tue Jun 17, 2003 12:07 am
Contact:

Resource bundles

Post by brownidj » Fri Sep 12, 2003 12:11 am

The specific error you get when trying to run a demo is, for example:

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jfree.chart.demo.BarChart3DDemo1.<init>(BarChart3DDemo1.java:73)
at org.jfree.chart.demo.BarChart3DDemo1.main(BarChart3DDemo1.java:114)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.LocalizationBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at org.jfree.chart.ChartPanel.<clinit>(ChartPanel.java:253)
... 2 more

There are two lots of LocalizationBundles, one in plot, and one in ui - should these be combined and in chart?

David

brownidj
Posts: 34
Joined: Tue Jun 17, 2003 12:07 am
Contact:

Post by brownidj » Fri Sep 12, 2003 1:37 am

brownidj wrote:There are two lots of LocalizationBundles, one in plot, and one in ui - should these be combined and in chart?
In fact there are three - another one in chart...

I overwrote my jar when doing an ant build and in effect 'lost' the chart LocalizationBundle...

Should have read earlier posts more carefully (;

David

Locked