-
Notifications
You must be signed in to change notification settings - Fork 55
how to: clone the source code
get your platform version at
https://spring.io/tools/sts/all
git clone https://github.com/dvcama/LodView
cd /path/To/The/Cloned/ProjectRoot/
mvn eclipse:eclipse
select file -> import from the menu
into the form:
- select root directory set: /path/To/The/Cloned/ProjectRoot/
- Projects select "lodview"
- check Copy project into workspace
- and Finish
- right click on the project root: Spring tools / Add Spring Project Nature
- right click on the project root: Properties / Project Facets / Convert to faceted form..., then set "Dynamic Web Module" and "Javascript"
change file .classpath in the project directory (in your workspace)
<?xml version="1.0" encoding="UTF-8"?>
<classpath><classpathentry kind="src" output="target/classes" path="src/main/java"><attributes><attribute name="optional" value="true"/><attribute name="maven.pomderived" value="true"/></attributes></classpathentry><classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"><attributes><attribute name="maven.pomderived" value="true"/></attributes></classpathentry><classpathentry kind="src" output="target/test-classes" path="src/test/java"><attributes><attribute name="optional" value="true"/><attribute name="maven.pomderived" value="true"/></attributes></classpathentry><classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"><attributes><attribute name="maven.pomderived" value="true"/><attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/></attributes></classpathentry><classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"><attributes><attribute name="maven.pomderived" value="true"/> </attributes> </classpathentry> <classpathentry kind="output" path="target/classes"/> </classpath>
and add to .project
<buildCommand> <name>org.eclipse.m2e.core.maven2Builder</name> <arguments> </arguments> </buildCommand>
and
<nature>org.eclipse.m2e.core.maven2Nature</nature>
it is done, now you can add the webapp to the Pivotal tc Server and try it on you machine