This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
Installation
skogler edited this page Mar 11, 2012
·
5 revisions
You can install Codesearch from various sources. The installation procedure may vary according to the chosen media.
The Tomcat bundle includes an already pre-configured Codesearch packaged in an Apache Tomcat web server. For official releases, it can be found at the Downloads page at Github.
- Download the tar.gz bundle to a folder on your hard drive
- Extract it.
- Edit the configuration file at:
apache-tomcat/lib/codesearch_config.xml
Configuration Reference 4. Start the web server by executing the startup script of Apache Tomcat:
./apache-tomcat/bin/startup.sh
This is only recommended for expert users. Instructions here
If you want code analyzing(outline, navigation between method calls and definitions etc.), you have to do the following:
- enable code analyzing in the config(see above))
- configure the database connection in Tomcat context.xml (Instructions)
- create the database user and execute the SQL script in
resources/db-script.sql
- make sure the configured user has access to the created db(codesearch_db)
You can now deploy CodeAnalyzingPlugins on your Tomcat server.