Ticket #1176 (closed enhancement: fixed)
Mapscript Java Enhancements
| Reported by: | jerry.pisk@… | Owned by: | sgillies@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapScript-SWIG | Version: | 4.5 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
1. Static constructor in mapscriptJNI that loads mapscript library. This is needed to use mapscript under a servlet container as the library has to be loaded in the same class loader as the JNI class. The only drawback I can see is somebody versioning mapscript module, but those are mostly going to be advanced users who will not have a problem modifying the swig code to use versioned name. Or we can include the version number in the module during the build process, it just needs to be done everywhere, in the SWIG code and in the makefile so whatever makefile builds is the same SWIG (actually Java) uses. 2. Added byte[] imageObj.save(). 3. I also created typemap to map char** to String[] but I decided not to include it in this patch since SWIG documentation says that mapping will only work for NULL terminated char**s. I do not know at this time whether mapserver's char**s are NULL terminated or not.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

