Hi
How can I rebuild JFreeChart, meaning build JFreeChart.jar?
Thanks for your help
Hans
Rebuild JFreeChart
Re: Rebuild JFreeChart
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
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