Note: those new to Survey Tool development are recommended to use the much simpler Eclipse setup. - Build the CLDR Tools using the command line (or using eclipse) to produce cldr.jar
- Download and install Tomcat somewhere (don't use spaces in your directory names-please.).
Verify that you can view pages from this server (such as at http://127.0.0.1:8080 ).
- Configure Manager access for a user
- Check out http://unicode.org/repos/cldr/trunk/ somewhere. This will be referred to as CLDR_DIR later.
- go into tools/java and run "ant all jar"
- go into tools/cldr-apps
- Copy build-sample.properties to build.properties
- Uncomment/edit all of the MANDATORY and potentially other lines in build.properties as follows:
- set
CATALINA_HOME to the root directory of your Tomcat installation
- set
password ( and potentially username if it is not 'admin' ) to match the "Manager access" user, above.
- CLDR_TOOLS shouldn't need to be set, as it is a sibling to the cldr-apps directory
- Set other lines according to the build.properties column of this table, (may be out of date- 2014)
- To test compilation, run:
ant web
(If there are any failures, check build.properties)
"ant war" will build cldr-apps.war. Start up Tomcat ( cd tomcat/bin ; sh startup.sh )
- Run (the first time):
ant deploy
If all goes well, it will install onto the server, as http://yourserver:8080/cldr-apps
- Test out the above URL (substituting your server's name or 127.0.0.1 and the port number)-
- If all goes well, you should see the page titled 'CLDR Web Applications'.
- Great, now Follow the CLDR SurveyTool setup instructions , remembering:
- ...the location of your "cldr/trunk" checkout to be used as CLDR_DIR.
- ...that you must use the tomcat/bin/startup.sh and tomcat/bin/shutdown.sh scripts to restart tomcat
- ...that you will find 'context.xml' as a text file inside the tomcat/conf/ directory
|
|