General Strategy
- Source directories
- Do not add any test directories to the build path
- Maven Jar files
- Perform a maven build
- File all jar files in dspace-installer with windows explorer
- Copy and paste jars to a separate dir (skip duplicates)
- Add all of these items to the build path
- JUnit (add library)
DSpace 6 special cases
Example pom files for special scopes to identify additional resources to be added.
- Add the following
<classpathentry kind="var" path="M2_REPO/org/atteo/evo-inflector/1.2.1/evo-inflector-1.2.1.jar"/>
<classpathentry kind="var" path="M2_REPO/com/google/code/findbugs/annotations/3.0.0/annotations-3.0.0.jar"/>
- Remaining errors
- The type DSpaceWebapp is already defined DSpaceWebapp.java /DSpace_D6/dspace-rdf/src/main/java/org/dspace/utils line 17 Java Problem
- The type DSpaceWebapp is already defined DSpaceWebapp.java /DSpace_D6/dspace-rest/src/main/java/org/dspace/utils line 18 Java Problem
DSpace 6 test directories
- Enable the DSpace java test directories
- The following dependencies are needed in the classpath
<classpathentry kind="var" path="M2_REPO/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar"/>
<classpathentry kind="var" path="M2_REPO/org/jmockit/jmockit/1.21/jmockit-1.21.jar"/>
<classpathentry kind="var" path="M2_REPO/org/databene/contiperf/2.3.4/contiperf-2.3.4.jar"/>
<classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar"/>
<classpathentry kind="var" path="M2_REPO/org/parboiled/parboiled-java/1.1.7/parboiled-java-1.1.7.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-mock/2.0.8/spring-mock-2.0.8.jar"/>
<classpathentry kind="var" path="M2_REPO/org/springframework/spring-test/3.2.5.RELEASE/spring-test-3.2.5.RELEASE.jar"/>
<classpathentry kind="var" path="M2_REPO/org/xmlmatchers/xml-matchers/0.10/xml-matchers-0.10.jar"/>
<classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar"/>
<classpathentry kind="var" path="M2_REPO/org/mortbay/jetty/jetty-servlet-tester/6.1.26/jetty-servlet-tester-6.1.26.jar"/>