*Deprecated* See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current documentation

In order to get the VIVO and Vitro projects working in Eclipse, with working navigation and code completion across projects, the following procedure will help.

This assumes basic Eclipse setup including Subclipse/Subversive has already been completed.

Create projects

  1. File -> New -> Project...
  2. Under SVN, Checkout Projects from SVN
  3. Create (or use if existing) the Vitro repository (VIVO on second run).
  4. Check out the trunk.
  5. When you get to a screen that asks "Choose how to check out folder trunk", choose "Check out as a project in the workspace". Give it a name (like vitro or vivo).

Do this for the Vitro and the VIVO project, so you have two projects in your workspace.

Then close Eclipse, just for good measure as we will soon be tinkering with configuration files.

Deploy project

Follow the instructions in doc/developers.txt and doc/install.html (paths based on the root of your new VIVO project). Get VIVO up and running.

Note

In the currently available install.html please notice that this line creates an initial memory size greater than the max.

export CATALINA_OPTS="-Xms2048m -Xmx1024m -XX:MaxPermSize=128m"

Should be more like:

export CATALINA_OPTS="-Xms1024m -Xmx2048m -XX:MaxPermSize=128m

Permission

In a standard install of vivo 1.2 on an ubuntu platform some folders needed their ownership changed to "tomcat6":

  • /usr/local/vivo
  • /usr/share/tomcat6/logs
  • /var/lib/tomcat6/webapps/vivo

you can execute a command to change the ownership:

sudo chown -R tomcat6 /usr/local/vivo
sudo chown -R tomcat6 /usr/share/tomcat6
sudo chown -R tomcat6 /var/lib/tomcat6/webapps/vivo

Turn projects into Java projects

The projects pulled into Eclipse from SVN are not considered "Java" projects. To change this, open the file .project in each project's root, and add the following.

Inside <buildSpec></buildSpec>, add:

<name>org.eclipse.jdt.core.javabuilder</name>
<arguments></arguments>

Inside <natures></natures>, add:

org.eclipse.jdt.core.javanature

Add classpaths

In each project's root, there may or may not be a .classpath file. If there is not, we will create one; if there is, we will overwrite it.

Periodically, these dependencies are updated in the svn repository. When this happens, the .classpath files must be updated as well. Shown are the correct classpaths as of 4/13/2011.

In Vitro's root, the content of this file should be:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="utilities/testrunner/test"/>
	<classpathentry kind="src" path="utilities/buildutils/revisioninfo"/>
	<classpathentry kind="src" path="webapp/test"/>
	<classpathentry kind="src" path="webapp/src"/>
	<classpathentry kind="src" path="utilities/testrunner/src"/>
	<classpathentry kind="lib" path="webapp/lib/activation-1.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-appbase-core-3.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-appbase-logging-api-3.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-appbase-logging-file-3.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-appbase-webapp-base-core-3.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-collections-2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-concurrent-2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-i18n-1.0.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-io-2.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-iteration-2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-lang-2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-net-2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-platform-info-2.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-text-2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-webapp-core-2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aduna-commons-xml-2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/antlr-2.7.7.jar"/>
	<classpathentry kind="lib" path="webapp/lib/aterm-java-1.6.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-beanutils-core.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-betwixt-0.7.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-cli-1.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-codec-1.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-collections-3.2.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-dbcp-1.2.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-dbcp-1.2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-digester-1.7.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-discovery-0.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-fileupload-1.2.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-httpclient-3.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-io-1.3.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-lang-2.6.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-logging-1.1.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/commons-pool-1.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/concurrent.jar"/>
	<classpathentry kind="lib" path="webapp/lib/cos.jar"/>
	<classpathentry kind="lib" path="webapp/lib/csv-1.0.jar"/>
	<classpathentry kind="lib" path="webapp/lib/dom4j-1.6.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/dwr-2.0.M2.8.jar"/>
	<classpathentry kind="lib" path="webapp/lib/fedora-client.jar"/>
	<classpathentry kind="lib" path="webapp/lib/freemarker.jar"/>
	<classpathentry kind="lib" path="webapp/lib/gson-1.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/iText-5.0.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jai_codec.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jai_core.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jakarta-jstl1.2-jstl.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jakarta-jstl1.2-standard.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jakarta-oro-2.0.8.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jaxrpc.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jcalendar.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jdom-1.0.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jdom.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jga-0.8.jar"/>
	<classpathentry kind="lib" path="webapp/lib/joda-time-1.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/json-taglib-0.4.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jsp-api.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jtidy-8.0-20060801.124516-2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/junit-4.8.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/ldap.jar"/>
	<classpathentry kind="lib" path="webapp/lib/log4j-1.2.14.jar"/>
	<classpathentry kind="lib" path="webapp/lib/mail-1.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/mysql-connector-java-3.0.16-ga-bin.jar"/>
	<classpathentry kind="lib" path="webapp/lib/ojdbc14_g.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-cli.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-core.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-datatypes.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-dig.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-el.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-explanation.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-jena.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-modularity.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-owlapi.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-pellint.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-query.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-rules.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-test.jar"/>
	<classpathentry kind="lib" path="webapp/lib/README.txt"/>
	<classpathentry kind="lib" path="webapp/lib/relaxngDatatype.jar"/>
	<classpathentry kind="lib" path="webapp/lib/rowset-20040728-v101.jar"/>
	<classpathentry kind="lib" path="webapp/lib/rsslib4j-0.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/saaj.jar"/>
	<classpathentry kind="lib" path="webapp/lib/saxon9he.jar"/>
	<classpathentry kind="lib" path="webapp/lib/servlet-api.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-console-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-http-client-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-http-protocol-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-http-server-spring-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-model-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-query-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryalgebra-evaluation-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryalgebra-model-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryparser-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryparser-serql-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryparser-sparql-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryresultio-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryresultio-binary-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryresultio-sparqljson-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryresultio-sparqlxml-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-queryresultio-text-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-contextaware-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-dataset-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-event-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-http-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-manager-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-repository-sail-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-n3-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-ntriples-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-rdfxml-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-trig-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-trix-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-rio-turtle-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-runtime-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-sail-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-sail-inferencer-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-sail-memory-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-sail-nativerdf-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sesame-sail-rdbms-2.2.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/slf4j-api-1.5.6.jar"/>
	<classpathentry kind="lib" path="webapp/lib/slf4j-log4j12-1.5.6.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sparqltag.jar"/>
	<classpathentry kind="lib" path="webapp/lib/spring2.5.6.jar"/>
	<classpathentry kind="lib" path="webapp/lib/stax-api-1.0.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/taglibs-mailer.jar"/>
	<classpathentry kind="lib" path="webapp/lib/taglibs-random.jar"/>
	<classpathentry kind="lib" path="webapp/lib/taglibs-string.jar"/>
	<classpathentry kind="lib" path="webapp/lib/trippi-1.3.2-core.jar"/>
	<classpathentry kind="lib" path="webapp/lib/wsdl4j-1.5.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/wstx-asl-3.0.0.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xalan.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xbean-2.1.0.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xbean-spring-2.5.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xercesImpl.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xml-apis.jar"/>
	<classpathentry kind="lib" path="webapp/lib/XmlSchema-1.0.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xpp3_min-1.1.3.4.O.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xsdlib.jar"/>
	<classpathentry kind="lib" path="webapp/lib/xstream-1.2.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/arq-2.8.5-tests.jar"/>
	<classpathentry kind="lib" path="webapp/lib/arq-2.8.5.jar"/>
	<classpathentry kind="lib" path="webapp/lib/icu4j-3.4.4.jar"/>
	<classpathentry kind="lib" path="webapp/lib/iri-0.8-sources.jar"/>
	<classpathentry kind="lib" path="webapp/lib/iri-0.8.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jena-2.6.3-sources.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jena-2.6.3-test-sources.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jena-2.6.3-tests.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jena-2.6.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/jgrapht-jdk1.5.jar"/>
	<classpathentry kind="lib" path="webapp/lib/pellet-owlapiv3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sdb-1.3.2-tests.jar"/>
	<classpathentry kind="lib" path="webapp/lib/sdb-1.3.2.jar"/>
	<classpathentry kind="lib" path="webapp/lib/apache-solr-core-1.4.1.jar"/>
	<classpathentry kind="lib" path="webapp/lib/lucene-analyzers-2.9.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/lucene-core-2.9.3.jar"/>
	<classpathentry kind="lib" path="webapp/lib/lucene-highlighter-2.9.3.jar"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="output" path="bin"/>
</classpath>

In VIVO's root, the contents of the file should be as follows. Find/replace ../vitro with the relative path from your VIVO project root to your Vitro project root.

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry combineaccessrules="false" exported="true" kind="src" path="/vitro"/>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="src" path="utilities/load-testing/src"/>
	<classpathentry kind="lib" path="../vitro/bin" sourcepath="/vitro/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/EditConfiguration.java"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/activation-1.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-appbase-core-3.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-appbase-logging-api-3.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-appbase-logging-file-3.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-appbase-webapp-base-core-3.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-collections-2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-concurrent-2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-i18n-1.0.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-io-2.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-iteration-2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-lang-2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-net-2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-platform-info-2.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-text-2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-webapp-core-2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aduna-commons-xml-2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/antlr-2.7.7.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/arq-2.8.5-tests.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/arq-2.8.5.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/aterm-java-1.6.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-beanutils-core.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-betwixt-0.7.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-cli-1.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-codec-1.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-collections-3.2.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-dbcp-1.2.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-dbcp-1.2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-digester-1.7.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-discovery-0.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-fileupload-1.2.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-httpclient-3.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-io-1.3.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-lang-2.6.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-logging-1.1.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/commons-pool-1.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/concurrent.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/cos.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/csv-1.0.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/dom4j-1.6.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/dwr-2.0.M2.8.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/fedora-client.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/freemarker.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/gson-1.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/icu4j-3.4.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/iri-0.8-sources.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/iri-0.8.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/iText-5.0.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jai_codec.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jai_core.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jakarta-jstl1.2-jstl.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jakarta-jstl1.2-standard.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jakarta-oro-2.0.8.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jaxrpc.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jcalendar.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jdom-1.0.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jdom.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jena-2.6.3-sources.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jena-2.6.3-test-sources.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jena-2.6.3-tests.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jena-2.6.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jga-0.8.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jgrapht-jdk1.5.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/joda-time-1.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/json-taglib-0.4.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jsp-api.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/jtidy-8.0-20060801.124516-2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/junit-4.8.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/ldap.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/log4j-1.2.14.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/mail-1.4.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/mysql-connector-java-3.0.16-ga-bin.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/ojdbc14_g.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-cli.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-core.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-datatypes.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-dig.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-el.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-explanation.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-jena.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-modularity.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-owlapi.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-owlapiv3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-pellint.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-query.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-rules.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/pellet-test.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/README.txt"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/relaxngDatatype.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/rowset-20040728-v101.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/rsslib4j-0.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/saaj.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/saxon9he.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sdb-1.3.2-tests.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sdb-1.3.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/servlet-api.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-console-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-http-client-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-http-protocol-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-http-server-spring-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-model-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-query-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryalgebra-evaluation-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryalgebra-model-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryparser-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryparser-serql-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryparser-sparql-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryresultio-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryresultio-binary-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryresultio-sparqljson-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryresultio-sparqlxml-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-queryresultio-text-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-contextaware-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-dataset-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-event-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-http-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-manager-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-repository-sail-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-n3-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-ntriples-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-rdfxml-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-trig-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-trix-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-rio-turtle-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-runtime-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-sail-api-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-sail-inferencer-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-sail-memory-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-sail-nativerdf-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sesame-sail-rdbms-2.2.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/slf4j-api-1.5.6.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/slf4j-log4j12-1.5.6.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/sparqltag.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/spring2.5.6.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/stax-api-1.0.1.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/taglibs-mailer.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/taglibs-random.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/taglibs-string.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/trippi-1.3.2-core.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/wsdl4j-1.5.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/wstx-asl-3.0.0.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xalan.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xbean-2.1.0.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xbean-spring-2.5.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xercesImpl.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xml-apis.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/XmlSchema-1.0.3.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xpp3_min-1.1.3.4.O.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xsdlib.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/xstream-1.2.2.jar"/>
	<classpathentry kind="lib" path="../vitro/webapp/lib/tdb-0.8.7.jar"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
	<classpathentry kind="output" path="bin"/>
</classpath>

Link projects together

  1. Re-open Eclipse.
  2. Right-click the VIVO project and choose "Properties".
  3. Under "Java Build Path":
    1. Choose "Projects", then choose "Add...". Select your Vitro project and click OK.
    2. Then go to the Order and Export tab. The Vitro project should be at the bottom of the list, and unchecked. Move it to the top, and check it. Then click OK.

Conclusion

Refresh the projects and try to build them. If all went according to plan, you should now have code navigation and code completion between VIVO and Vitro, and there should be no build errors.

Caveat: This Wiki entry was compiled from the experience of a single person on a single workstation. It may need updating if the procedure does not work properly when attempted in the future.

See Also

1 Comment

  1. Is this instruction valid for VIVO-1.10 release? I tried this but it is not working for me? Could somebody help me.