MapServer / MapServer-import

3 stars 2 forks source link

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

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: sgillies@frii.com Date: 2004/09/20 - 17:36

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.
tbonfort 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.