id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
876	Patch for clean and fully automated compilation of Java mapscript	unicoletti	sgillies@frii.com	"{{{
In the URL there is a patch that applies cleanly to 4.2.3.

What the patch does is:

1) modify configure.in and configure so that config options are set also in
mapscript/Java/Makefile. This is mostly useful so that libmapscript.so is
recompiled and linked with same directives used to compile mapserver

2) created Makefile.in

3) improved Makefile fo Java mapscript. Now compiling Java mapscript is (as it
should be!) completely automated and is as simple as:
cd mapscript/java
make
make test (optional)

NOTE: you must have java, javac in your path and JAVA_HOME env var set, but this
should be standard env on a box running java

4) Added examples from
(http://mapserver.gis.umn.edu/bugs/attachment.cgi?id=180&action=view)  BUG 848
to mapserver and made them run from Makefile (test target)

5) Added clean target

Please note that even tough I am using examples from bug 848 I am NOT using his
'enhanced' mapscript.i as it changes APIs and bossibly breaks backward
compatibility. Instead I am using a similar version of mine that simple adds
ifdef so that javac does not complain.
}}}"	enhancement	closed	high		MapScript-SWIG	4.2	minor	fixed		mapserver@…
