Building from CVS

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

Building from CVS

Post by Aaron Metzger » Wed Apr 24, 2002 10:16 pm

I set out to track down a color key versus the color of a shape drawn in a combined plot by trying to start with the latest code from CVS. I was also interested in picking up the recently checked in "OverlaidXYPlot" and "MultiXYPlot" mentioned in the forums.

After checking out the jfreechart module from the sourceforge CVS (which seems to include "common"), the build fails due to a reference to the Range class in the data package but the data package in CVS does not contain a Range class.

Does the sourceforge CVS represent the latest source version. Is there a separate CVS module for jcommon or is the common directory in CVS to be used for that?

Thanks.

David Gilbert

Re: Building from CVS

Post by David Gilbert » Thu Apr 25, 2002 12:01 am

Aaron Metzger wrote:
> After checking out the jfreechart module from the sourceforge
> CVS (which seems to include "common"), the build fails due to
> a reference to the Range class in the data package but the
> data package in CVS does not contain a Range class.

Oops, I didn't do a very good job of updating the CVS repository. I think it is OK now.

> Does the sourceforge CVS represent the latest source
> version.

Yes.

> Is there a separate CVS module for jcommon or is
> the common directory in CVS to be used for that?

I've just dumped all the source files in the jfreechart module for now. I'll reorganise later.

Regards,

DG.

Aaron Metzger

Re: Building from CVS

Post by Aaron Metzger » Thu Apr 25, 2002 4:34 am

Thanks for the updates. The build from CVS gets much further now but fails in AbstractAxisRange because of the undeclared variable otherMin.

[javac] JFreeChart/src/jfreechart/com/jrefinery/chart/combination/AbstractAxisRange.java:89: cannot resolve symbol
[javac] symbol : variable otherMin
[javac] location: class com.jrefinery.chart.combination.AbstractAxisRange
[javac] if (before(otherMin, min)) {
[javac] ^

/JFreeChart/src/jfreechart/com/jrefinery/chart/combination/AbstractAxisRange.java:90: cannot resolve symbol
[javac] symbol : variable otherMin
[javac] location: class com.jrefinery.chart.combination.AbstractAxisRange
[javac] min = otherMin;
[javac] ^

David Gilbert

Re: Building from CVS

Post by David Gilbert » Thu Apr 25, 2002 8:38 am

Sorry once again. I have now removed four files (the axis range classes) and modified two others (the combined horizontal axes which are no longer used, but still there, so I needed to make them compile). Just to make sure, I checked out all the code and compiled the lot and it works for me...I hope it works for you now too.

Regards,

DG.

Locked