-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
52 lines (33 loc) · 1.71 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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