Skip to content
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

Installation media

You can install Codesearch from various sources. The installation procedure may vary according to the chosen media.

Installation using the Tomcat bundle

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.

  1. Download the tar.gz bundle to a folder on your hard drive
  2. Extract it.
  3. 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

Installation from source

This is only recommended for expert users. Instructions here

Code Analyzing

If you want code analyzing(outline, navigation between method calls and definitions etc.), you have to do the following:

  1. enable code analyzing in the config(see above))
  2. configure the database connection in Tomcat context.xml (Instructions)
  3. create the database user and execute the SQL script in
resources/db-script.sql
  1. make sure the configured user has access to the created db(codesearch_db)

You can now deploy CodeAnalyzingPlugins on your Tomcat server.