Congrats on the compile.
Now we're into geoserver territory, so we're changing lists
That's weird that geoserver is not building. Those files should be in the
geotools.jar that I just made, and I just did a check out against head,
and it compiled fine for me. Has anyone else seen those problems?
But actually head is in an inconsistent state right now (sorry). The
majority of the work is being done on the wms-merge branch (cvs co -r
wms-merge geoserver). After an initial integration of gt2wms on head, I
realized that we really needed to do redo a whole lot more to fit it in
right. So we started wms-merge to that end. Gabriel has been doing the
majority of the WMS work, and if you want a piece of that to work on you
could get org.vfny.geoserver.response.wms.map.JAIMapResponse working.
He's already done SVGMapResponse, so you can see how the structure should
work there. And the JAIMapResponse code should be the old gt2wms mapping
code. Gabriel said he's done wms post, but he may not have got it into
cvs yet, so bug him if it's not there.
I just tried building off of wms-merge and unfortunately it didn't work.
Gabriel - I think SVGMapResponse needs to import
org.geotools.svg.SVGEncoder. And I think you need to update SVGEncoder,
as when I do that fix I get compile errors on svgEncoder.abort,
.writerHeader, and on encode.
The other thing you can do Jamie, if you want to get geoserver compiling,
is to check out a released version, like rel_1_0_1, which should have no
problem building. We're really in the midst of development of wms-merge
right now, with people in different timezones, so it can be difficult to
keep it consistently building.
Ok, on second thought that wms stuff should no longer be on head. So I
just removed it all. Checking out against head should now work. The wms
stuff will come when we merge wms-merge.
Chris
On Tue, 25 Nov 2003, Jamie Eyre wrote:
Hi,
To get maven to build geotools I had to exclude:
PostgisDataStoreAPITest.java in the project.xml of module postgis.
*Test.java in the project.xml of module rendering-styling.But it finally compiled!!!!!
Unfortunately, when I try to build the geoserver project, it fails. It seems
there are some classes missing in the repository (for example
org.geotools.renderer.LegendImageGenerator in the renderer module).See below:
This is the error when i run the clean in the build.xml:
init:
clean:
init:
all:
Compiling 79 source files to /root/OpenSourceProjects/geoserver/build
src/org/vfny/geoserver/wms/WMSServlet.java [35] cannot resolve symbol
symbol : class LegendImageGenerator
location: package renderer
import org.geotools.renderer.LegendImageGenerator;
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [48] cannot resolve
symbol
symbol : class LegendImageGenerator
location: package renderer
import org.geotools.renderer.LegendImageGenerator;
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [65] cannot resolve
symbol
symbol : class LiteRenderer
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
Renderer renderer = new LiteRenderer();
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [393] cannot resolve
symbol
symbol : class LegendImageGenerator
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
LegendImageGenerator lig = new
LegendImageGenerator(reqStyles,width,height);
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [393] cannot resolve
symbol
symbol : class LegendImageGenerator
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
LegendImageGenerator lig = new
LegendImageGenerator(reqStyles,width,height);
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [433] cannot resolve
symbol
symbol : class SLDStyle
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
SLDStyle stylereader = new SLDStyle(factory, url);
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [433] cannot resolve
symbol
symbol : class SLDStyle
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
SLDStyle stylereader = new SLDStyle(factory, url);
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [487] cannot resolve
symbol
symbol : class SLDStyle
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
SLDStyle stylereader = new SLDStyle(factory, url);
^
src/org/vfny/geoserver/wms/gtserver/GtWmsServer.java [487] cannot resolve
symbol
symbol : class SLDStyle
location: class org.vfny.geoserver.wms.gtserver.GtWmsServer
SLDStyle stylereader = new SLDStyle(factory, url);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
9 errors
build.xml [162] Compile failed; see the compiler error output for details.
BUILD FAILED
Total time: 10 secondsThanks in advance,
Jamie_________________________________________________________________
Is there a gadget-lover on your gift list? MSN Shopping has lined up some
good bets! http://shopping.msn.com
--