|
Installing the SemmleCode plugin takes only one easy step:
Step 1: Download and install the plugin
Use the Semmle update site http://semmle.com/update to install the SemmleCode eclipse plugin. This method of plugin installation simplifies any subsequent updates of the tool and thus guarantees that you are always running the latest version.
Alternatively, download the zip file and unpack it into your eclipse plugins directory manually. SemmleCode requires Eclipse version 3.2 or better.
If you would like to have a full experience of the tool, we recommend that you also take the following three optional steps:
Step 2 (Optional):
Download and install a compatible database
SemmleCode uses a relational database as a scalable way to store and query program data. It is deployed with an in-memory database system: H2 database. The systems is suitable to try SemmleCode on projects of reasonable size, though has some bugs and limitations. You can definitely try out SemmleCode immediately with H2 without installing any database management system.
But if you want to use the full power of SemmleCode we suggest installing one of the major database systems supported by the product. Currently SemmleCode is compatible with
PostgreSQL
version 8.1 or later and
Microsoft SQL Server Express 2005.
Please read the
database installation instructions
before installing the database of your choice.
Step 3 (Optional):
Setup the database for use with SemmleCode
Use the
Database Setup Wizard within SemmleCode to configure the connection to the database after the plugin has been downloaded and installed.
If no system can be detected (for instance, because you have skipped the second step) SemmleCode will be automatically set to use H2 database system. You can change the database used and its parameters via Eclipse menu Window->Preferences->SemmleCode.
Step 4 (Optional):
Register
Register
with Semmle and become a member of Semmle community. As a registered user you can keep up-to-date with the new plugin features, find useful code queries on our forums, direct us in our development and share your ideas with the community of SemmleCode users.
Once you have successfully installed and configured SemmleCode, you can try going through the
SemmleCode tutorial.
|