make test for Java Mapscript fails [Mapserver 4.10.0 beta 3]

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Fri Sep 8 11:01:39 EDT 2006


You need swig 1.3.28 or 1.3.29 to compile java mapscript AND run the tests.
If you don't want to run the tests any swig including down to 1.3.21 will be ok.

In my automated build bot I *do* run the tests each time.

Umberto

On 9/8/06, José Vilson de Mello de Farias <vilson.farias at digitro.com.br> wrote:
>
>
>  Greetings,
>
>    I've compiled the Mapserver 4.10.0 beta3 and Java Mapscript failed. Has anyone else executed a "make test"? The error messages are bellow. Should I register a new bug for this release or is it a problem that only happens here?
>
>    By the way, here is my QA/Tests Checklist :
>
>        Tester       OS       Build       mapserv       Py-Tests       msautotest       PHP       Python       Perl       Java       CSharp       utils       GDAL       OGR       Postgis       SDE       OCI       Ruby
>        vilsonfarias
>               Linux       p       p
>                                f
>               p       p
>
>
>  [root at dgtad java]# make test
>  javac -classpath ./:examples/:./mapscript.jar -d examples/ examples/ConnPool.java examples/DrawMap.java                                      examples/DumpShp.java examples/MakePoint.java examples/QueryByAttribute.java examples/ShapeInfo.java exa                                     mples/WxSTest.java examples/Metadata.java examples/RunTimeBuiltWMSClient.java
>  examples/RunTimeBuiltWMSClient.java:36: package MS_IMAGEMODE does not exist
>             output.setImagemode(MS_IMAGEMODE.MS_IMAGEMODE_RGB.swigValue());
>                                             ^
>  examples/RunTimeBuiltWMSClient.java:60: cannot find symbol
>  symbol  : variable MS_LAYER_TYPE
>  location: class RunTimeBuiltWMSClient
>             layer.setType(MS_LAYER_TYPE.MS_LAYER_RASTER);
>                           ^
>  examples/RunTimeBuiltWMSClient.java:61: cannot find symbol
>  symbol  : variable MS_CONNECTION_TYPE
>  location: class RunTimeBuiltWMSClient
>             layer.setConnectiontype(MS_CONNECTION_TYPE.MS_WMS);
>                                     ^
>  3 errors
>  make: *** [test] Error 1
>  [root at dgtad java]# make test
>  javac -classpath ./:examples/:./mapscript.jar -d examples/ examples/ConnPool.java examples/DrawMap.java examples/DumpShp.java examples/MakePoint.java examples/QueryByAttribute.java examples/ShapeInfo.java examples/WxSTest.java examples/Metadata.java examples/RunTimeBuiltWMSClient.java
>  examples/RunTimeBuiltWMSClient.java:36: package MS_IMAGEMODE does not exist
>             output.setImagemode(MS_IMAGEMODE.MS_IMAGEMODE_RGB.swigValue());
>                                             ^
>  examples/RunTimeBuiltWMSClient.java:60: cannot find symbol
>  symbol  : variable MS_LAYER_TYPE
>  location: class RunTimeBuiltWMSClient
>             layer.setType(MS_LAYER_TYPE.MS_LAYER_RASTER);
>                           ^
>  examples/RunTimeBuiltWMSClient.java:61: cannot find symbol
>  symbol  : variable MS_CONNECTION_TYPE
>  location: class RunTimeBuiltWMSClient
>             layer.setConnectiontype(MS_CONNECTION_TYPE.MS_WMS);
>                                     ^
>  3 errors
>  make: *** [test] Error 1
>
>  Best regards,
>
> --
>    José Vilson de Mello de Farias
>  Analista de Sistemas
>  SSE - Segurança Pública
>
>  DÍGITRO TECNOLOGIA
>  E-mail: vilson.farias at digitro.com.br
>  Messenger: vilsonfarias at hotmail.com
>  Fone: (0xx48) 3281-7314
>  Fax: (0xx48) 3281-7000
>  Site: www.digitro.com.br



More information about the mapserver-users mailing list