Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The project properties that you would need to modify are available by Right Clicking on the project name and
selecting Properties -> Tomcat.

  • For

...

  • One-Big-Project Approach

...

    • Make sure to check the option "Is a Tomcat Project"
    • Set the context name to be similar to: dspace-1_5 (this context path can be anything and is what you want Tomcat to use in the URL)
    • You will have to choose which interface you want to debug, since only one interface is supported at a time.
      • If debugging dspace-jspui, set the web application root to be: /dspace/target/dspace-<version>-build.dir/webapps/jspui
      • If debugging dspace-oai, set the web application root to be: /dspace/target/dspace-<version>-build.dir/webapps/oai
      • If debugging dspace-xmlui, set the web application root to be: /dspace/target/dspace-<version>-build.dir/webapps/xmlui
      • If debugging dspace-lni, set the web application root to be: /dspace/target/dspace-<version>-build.dir/webapps/lni
  • For multi-project approaches, you can debug multiple interfaces at once. Therefore, you can set up each of the below projects to run under separate Tomcat contexts:
    • dspace-jspui
      • Make sure to check the option "Is a Tomcat Project"
      • Set the context name to be similar to: dspace-jspui
      • Set the web application root to be: /target/dspace-jspui-<version>
    • dspace-oai
      • Make sure to check the option "Is a Tomcat Project"
      • Set the context name to be similar to: dspace-oai
      • Set the web application root to be: /target/dspace-oai-<version>
    • dspace-xmlui
      • Make sure to check the option "Is a Tomcat Project"
      • Set the context name to be similar to: dspace-xmlui
      • Set the web application root to be: /dspace-xmlui-webapp/target/dspace-xmlui-webapp-<version>
    • dspace-lni
      • Make sure to check the option "Is a Tomcat Project"
      • Set the context name to be similar to: dspace-lni
      • Set the web application root to be: /dspace-lni-webapp/target/dspace-lni-webapp-<version>

...