Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.59 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.59 KB

#salamati

ROGUE Basic Client

##Build Instructions Example

ant -f suitesdk/build.xml -Dapp.path=../webapp/ -Dsdk.build=../build -Dapp.name=salamati package

  • suitesdk/build.xml = path/to/OpenGeoClientSDK/ant/script
  • app.path = path/to/webapp/source/code
  • sdk.build = path/to/output/build/directory
  • app.name = name of packaged war file
  • package = ant target to build and package war file

N.B. The ant script does not contain a clean step so you may have to add one for local builds.

See here for more information about the OpenGeo ClientSDK.

##Deploying the war Here are some ways to deploy the generated war file (there are probably others):

  • Copy the war file to your J2EE container's webapps folder, i.e. .../tomcat7/webapps
  • Use the Tomcat Manager web app, or equivalent for other J2EE container, to deploy an uploaded war
  • Use the deploy target in the suitesdk/build.xml ant script to deploy using Cargo
  • Set up a custom Cargo deployment

##Deploying through GeoServer Example

  • Run GeoServer.
  • In Terminal, navigate to the Salamati folder and run the following:

ant -f suitesdk/build.xml -Dapp.path=../webapp/ -Dsdk.build=../build -Dapp.name=salamati -Dapp.proxy.geoserver=http://localhost:8080/geoserver debug

  • This should deploy to port 9080 by default (the console will output the port number)
  • This will also allow you to update the files without having to remake the war file. Just save and refresh the webpage.