Rebuild JFreeChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Hans Stoessel

Rebuild JFreeChart

Post by Hans Stoessel » Wed Jan 15, 2003 11:56 am

Hi

How can I rebuild JFreeChart, meaning build JFreeChart.jar?

Thanks for your help

Hans

David Gilbert

Re: Rebuild JFreeChart

Post by David Gilbert » Thu Jan 16, 2003 5:19 pm

Hi Hans,

This is not as straightforward as it should be!

A few releases back, a developer contributed an Ant script for building JFreeChart. I didn't know how to use Ant then, so I never tried it out, but I think it is in the distribution.

Then I learned how to use Ant by writing a script to compile, jar, javadoc and zip up JFreeChart-0.9.4. But it was an ugly script with a few hard-coded things in it, so I never released it, just used it myself.

Next I wrote a script for JFreeReport (that other project I work on) to compile, jar, javadoc, and zip everything up for distribution. That is included in the JFreeReport distribution, because I think it is good enough for distribution (not perfect, but good enough).

I now intend to put together a script to do the same thing for JFreeChart, and include it in the distribution, but I haven't finished that yet.

So what happens to the build.xml file (actually there's 2) in CVS. Well, I still haven't tried out either one, so when I get a chance I'll see if there's anything I can learn from the scripts that others contributed, and decide what to include in the next release. Comments are welcome.

Regards,

Dave Gilbert

Locked