Skip to content

Compiling jar-file #17

Description

@plepe

Hi!

I'm trying to compile an AcidMaps-jar file myself. I already was somehow successful, I got a jar file, but it doesn't work (the overlay produces an invalid image). If I open this image it contains the following XML-code:

<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/ows http://vhost04.measurement.rtr.at:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">
  <ows:Exception exceptionCode="InvalidParameterValue" locator="service">
    <ows:ExceptionText>No service: ( AMS )</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

This is how I generated the JAR file

cd geoserver/plugin
mkdir -p target/classes
# I downloaded the GeoTools-Package and extracted it to /opt/geotools-8.0
export CLASSPATH="/opt/geoserver/lib/servlet-api-2.5-6.1.8.jar;/opt/geoserver/webapps/geoserver/WEB-INF/lib/platform-2.1.4.jar;/opt/geoserver/webapps/geoserver/WEB-INF/lib/wms-2.1.4.jar;/opt/geotools-8.0/gt-process-feature-8.0.jar;/opt/geotools-8.0/gt-wms-8.0.jar;/opt/geoserver/webapps/geoserver/WEB-INF/lib/main-2.1.4.jar"
ant deploy
sudo cp target/acidmaps-1.0.jar /opt/geoserver/webapps/geoserver/WEB-INF/lib

I'm pretty sure I'm missing something. But I also haven't found a notice in AcidMaps how to compile this jar-file.

Help appreciated.

greetings,
Plepe

PS: If you give me pointers I would create a howto compile myself and send you a pull-request when finished.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions