Skip to content

ddobrotvorskiy/ict.wps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


NOTE FOR WPS DEVELOPERS

Requirements:
 Java          1.6  java.sun.com
 Apache tomcat 6.x  http://www.sai.msu.su/apache/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24-windows-x86.zip
 Apache ant    1.8  http://www.sai.msu.su/apache/ant/binaries/apache-ant-1.8.0-bin.zip
 Git                http://msysgit.googlecode.com/files/Git-1.6.5.1-preview20091022.exe (msysgit for Windows)
 IntelliJ Idea      http://download-ln.jetbrains.com/idea/ideaIC-9.0.1.exe

Getting project

 1. Setup git (msysgit for windows)
 2. Setup global git parameters

    git config --global user.name "Vasily Pupkin"
    git config --global user.email "pupkin@gmail.com"
    git confog --global core.autocrlf true

 3. Download project via IDE or manually

    git clone git@github.com:mityok/ict.wps.git

Building project

 1. Specify tomcat.basedir property in d3_services/build.properties file

  Something like this:
    tomcat.basedir=G:/bin/tomcat (Windows)
  or
    tomcat.basedir=/home/mityok/aspirantura/apache-tomcat-6.0.20 (Linuх)

 2. To rebuild and deploy wps webapp run

    ant -f d3_services/scripts/build/webapp-targets.xml unregister-webapp create-wps-template register-webapp
  
    Use ant -f d3_services/scripts/build/webapp-targets.xml -p
    to see all build targets.

 3. Run tomcat and go to http://127.0.0.1:8080/services

Meet project

  Sample request for wps-based classifier in request/academ_beach/academ_beach.xml
  Do not forget to write actual paths in request URLs.

Development

  1. New java classes should be added to d3_services/src/org/ict package
  2. Xml process descriptions should be added to d3_services/resources/example/conf/wps/processes
  3. Sample wps process implemented in org.ict.wps.process.ParzenClassifierProcesslet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages