Exapus is a web application for exploring the usage of APIs within a single project (i.e., project-centric exploration) and across a corpus of projects (i.e., api-centric exploration) along the dimensions of where, how much and in what manner. Several metrics and visualizations are provided.
For a quick demo: see the (preliminary) screencast
Exapus has been tested against Eclipse Juno 4.2 (for RCP and RAP Developers).
-
Import the
ExapusRAP
folder from the repository into your Eclipse workspace as the pre-configuredExapus
project.
For instance, using the pre-installed EGit (tutorial) plugin for Eclipse:- Choose
Import…
from theFile
menu. - Select
Git
>Projects from Git
- Choose
URI
and enter the details of this repository (authentication is needed for write access). - Select the
master
branch. - If necessary, change the destination directory for your local repository clone.
- Choose
Import existing projects
as the wizard to be used for the import. Leave the 'Working Directory` root selected. - Select the project named
Exapus
which corresponds to the folderExapusRap
folder and finish. Note that the project will not build until its target platform has been configured.
- Choose
-
Configure the project's target platform.
- Open the
ExapusRAP.target
file in the root of the project by double clicking. - Click on
Set as Target Platform
in the top-right corner of the editor. The project should now have been built without errors.
- Open the
-
Configure the project's launcher.
- Choose
Run Configurations…
from theRun
menu. - Select (but don't double click) the
RAP Application
>ExapusRAP
configuration. - Edit the
Location
field in theInstance Area
pane of theMain
tab such that it points to the path of the Eclipse workspace that should be analyzed by Exapus (e.g., by using theFile System…
button). Note that:- Exapus will analyze only the projects that are open in the workspace
- opened projects should build without errors
- no Eclipse instance should be open on the selected workspace
- Choose
-
Configure system-specific paths
- Copy the file
exapus.properties
(located alongside this README.md) to the same location as youreclipse.ini
file (e.g., on a Mac:PATH_TO_THE_ECLPSE_DIR/Eclipse.app/Contents/MacOS/exapus.properties
). - Edit the
dot.path
property such that it points to your Graphvizdot
executable - Edit the
views.path
property such that it points to a folder containing predefined view definitions (e.g.,Tags\ for\ APIs.xml
). Example definition files can be found in themetadata/views
folder alongside this file.
- Copy the file
Once the project's launcher has been configured, the Exapus web application can be started by double clicking its launcher (see above) or by clicking the green "play" toolbar button while the Exapus project is selected in workspace.
Your system's default browser should automatically open on the application's URL. In case of an HTTP error 404
, refresh the URL. In all likelihood, the URL was accessed before the application finished launching.
Copyright © 2012-2013 Exapus contributors:
Distributed under the Eclipse Public License.
External dependencies:
- Eclipse RAP for the widget toolkit
- Eclipse JDT for the Java project analysis
- Graphviz for rendering graphs