MapServer / MapServer

Source code of the MapServer project. Please submit pull requests to the 'main' branch.
https://mapserver.org
Other
1.02k stars 373 forks source link

SWIGJAVA conflicts between setExtent/getExtent and layerObj::extent attribute #877

Closed mapserver-bot closed 12 years ago

mapserver-bot commented 12 years ago

Reporter: sgillies@frii.com Date: 2004/09/20 - 17:36 Trac URL: http://trac.osgeo.org/mapserver/ticket/877

mapscript layers have had setExtent and getExtent methods since version 4
perhaps even earlier.  Now that an extent attribute has been added to layerObj
we have a conflict with Java.

Swigjava emits getters and setters for each attribute.  To resolve this conflict,
am instructing (in mapscript.i) swigjava to ignore layerObj::extent.  No get/set
methods will be created.  Java users will use setExtent and getExtent just like
other mapscript users.
mapserver-bot commented 12 years ago

Author: sgillies@frii.com Date: 2004/09/20 - 18:17

I ran swig -java against my changes.  No errors and layerObj.java looked OK.