We could probably just move the deprecated GML stuff to GeoServer, as we still rely on it. Though if you can't find when deprecation tags were present, why do you think that they were actually deprecated?

The stuff is maintained though, is the new xml/gml stuff going to be fully maintained by refractions now? It seemed to be sort of half way maintained, just on David's volunteer time. We're not relying on it at all, so we can't really help out on maintenance.

Chris

Richard Gould wrote:
I have started removing the deprecated items, but I have run into some issues:

org.geotools.gml.GMLHandlerFeature
org.geotools.gml.GMLHandlerGeometry
org.geotools.gml.GMLHandlerJTS
org.geotools.gml.producer.FeatureTransformer
org.geotools.gml.producer.FeatureTypeTransformer
org.geotools.gml.producer.GeometryTransformer
org.geotools.gml.GMLFilterDocument
org.geotools.gml.GMLFilterFeature
org.geotools.gml.GMLFilterGeometry
org.geotools.gml.GMLReceiver
org.geotools.gml.SubHandler
org.geotools.gml.SubHandlerBox
org.geotools.gml.SubHandlerFactory
org.geotools.gml.SubHandlerLinearRing
org.geotools.gml.SubHandlerLineString
org.geotools.gml.SubHandlerMulti
org.geotools.gml.SubHandlerPoint
org.geotools.gml.SubHandlerPolygon
org.geotools.gml.TestHandler
org.geotools.gml.GMLException

These classes have since had their deprecated tags removed. (Actually going back through svn history, I can't find the point at which their deprecation tags were actually present)



Also these methods appear to be un-deprecated:

org.geotools.gui.swing.CoordinateChooser.getAccessory()
Depracated together with CoordinateChooser.setAccessory(javax.swing.JComponent).

org.geotools.gui.swing.CoordinateChooser.setAccessory(JComponent)
This method doesn't bring any new feature. You can do the same with better results using the following code:

                  JPanel panel = new JPanel(new BorderLayout());
                  panel.add(coordinateChooser, BorderLayout.WEST);
                  panel.add(accessory, BorderLayout.CENTER);



I've also run into a problem with LiteRenderer:

org.geotools.renderer.lite.LiteRenderer.setOutput(Graphics, Rectangle)
           Graphics and bounds is to be set in renderer().

That method can't be removed - it is defined by the Renderer interface, which LiteRenderer implements.

I have not committed my changes yet, as the last problem breaks the build.

How should I proceed? Ignore the un-deprecated classes/methods and leave the deprecated method in LiteRenderer? (Note that LiteRenderer itself is deprecated)

Richard

Jody Garnett wrote:
Attached is the deprecated list from GeoTools 2.0.x ... anything on this list should be removed from GeoTools 2.2.x before release...
All in all not very much ...

Jody

------------------------------------------------------------------------



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

!DSPAM:1003,44b82d04210461116498154!


--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:[EMAIL PROTECTED]
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to