Making the JfreeChart jar file

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
bonododo
Posts: 9
Joined: Wed Mar 17, 2004 5:27 pm

Making the JfreeChart jar file

Post by bonododo » Mon May 24, 2004 8:48 am

Hi all,

i need to add some functionnality to Jfreechart ( for example the popup menu on a right click on a chart). So i changed the ChartPanel source, comiled it, an deverythings works fine. I also used jar -xf JFreechart-0.9.18.jar to get all other classes, overwrited the chartpanel.class.
then i use jar -cf JfreeChartModified.jar to create my jar file.

unfortunatly when i add this jar to my project it does n t compile, telling me it can t find some files that are included in my jar file!

What do i do wrong? i should i build my jar file? what option should i add?

i know this is not a direct jfreechart question, but any help would be greatly apreciated.

thanks all the team for the good work!

bonododo

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 » Mon May 24, 2004 9:14 am

I recommend using the Ant script included in the JFreeChart distribution. It will compile everything, make sure the required localization files and classes are included, and rebuild the jar file for you. This is the exact script that is used to build the JFreeChart distribution.
David Gilbert
JFreeChart Project Leader

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

bonododo
Posts: 9
Joined: Wed Mar 17, 2004 5:27 pm

Post by bonododo » Mon May 24, 2004 9:30 am

as always you saved my project!!! :D

thanks a lot for your response!

bonododo

Locked