Skip to content

Commit d7f9955

Browse files
author
lakmal
committed
add index controller
1 parent a705587 commit d7f9955

15 files changed

+287
-36
lines changed

.classpath

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
4-
<classpathentry kind="src" path="src/main/java"/>
3+
<classpathentry excluding="**/*.java" including="**/*.java" kind="src" path="src/main/resources"/>
4+
<classpathentry kind="src" output="target/classes" path="src/main/java">
5+
<attributes>
6+
<attribute name="optional" value="true"/>
7+
<attribute name="maven.pomderived" value="true"/>
8+
</attributes>
9+
</classpathentry>
510
<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
611
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
712
<attributes>
813
<attribute name="owner.project.facets" value="jst.web"/>
914
</attributes>
1015
</classpathentry>
11-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_10">
16+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
17+
<attributes>
18+
<attribute name="optional" value="true"/>
19+
<attribute name="maven.pomderived" value="true"/>
20+
</attributes>
21+
</classpathentry>
22+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
23+
<attributes>
24+
<attribute name="maven.pomderived" value="true"/>
25+
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
26+
</attributes>
27+
</classpathentry>
28+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
1229
<attributes>
13-
<attribute name="owner.project.facets" value="java"/>
30+
<attribute name="maven.pomderived" value="true"/>
1431
</attributes>
1532
</classpathentry>
1633
<classpathentry kind="output" path="target/classes"/>

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

.project

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>java-blog-aggregator</name>
4-
<comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
5-
<projects/>
6-
<buildSpec>
7-
<buildCommand>
8-
<name>org.eclipse.jdt.core.javabuilder</name>
9-
</buildCommand>
10-
<buildCommand>
11-
<name>org.eclipse.wst.common.project.facet.core.builder</name>
12-
</buildCommand>
13-
<buildCommand>
14-
<name>org.eclipse.wst.validation.validationbuilder</name>
15-
</buildCommand>
16-
</buildSpec>
17-
<natures>
18-
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
19-
<nature>org.eclipse.jdt.core.javanature</nature>
20-
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
21-
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
22-
</natures>
23-
</projectDescription>
3+
<name>java-blog-aggregator</name>
4+
<comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.wst.common.project.facet.core.builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.wst.validation.validationbuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>org.springframework.ide.eclipse.core.springbuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
<buildCommand>
29+
<name>org.eclipse.m2e.core.maven2Builder</name>
30+
<arguments>
31+
</arguments>
32+
</buildCommand>
33+
</buildSpec>
34+
<natures>
35+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
36+
<nature>org.springframework.ide.eclipse.core.springnature</nature>
37+
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
38+
<nature>org.eclipse.jdt.core.javanature</nature>
39+
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
40+
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
41+
</natures>
42+
</projectDescription>

.settings/org.eclipse.jdt.core.prefs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4-
org.eclipse.jdt.core.compiler.compliance=1.7
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4+
org.eclipse.jdt.core.compiler.compliance=1.6
55
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
66
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7-
org.eclipse.jdt.core.compiler.source=1.7
7+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8+
org.eclipse.jdt.core.compiler.source=1.6

.settings/org.eclipse.m2e.core.prefs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
22
<wb-module deploy-name="java-blog-aggregator">
33
<property name="context-root" value="java-blog-aggregator"/>
4-
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
54
<property name="java-output-path" value="/target/classes"/>
65
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>
76
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
7+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
8+
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
9+
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
810
</wb-module>
911
</project-modules>

.settings/org.eclipse.wst.common.project.facet.core.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<runtime name="Apache Tomcat v7.0"/>
44
<fixed facet="jst.java"/>
55
<fixed facet="jst.web"/>
6-
<installed facet="jst.java" version="1.7"/>
76
<installed facet="jst.web" version="3.0"/>
7+
<installed facet="jst.java" version="1.6"/>
88
</faceted-project>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
disabled=06target
2+
eclipse.preferences.version=1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.springframework.ide.eclipse.maven.maven.automatically.update=true

.springBeans

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beansProjectDescription>
3+
<version>1</version>
4+
<pluginVersion><![CDATA[3.6.2.201410090854-RELEASE]]></pluginVersion>
5+
<configSuffixes>
6+
<configSuffix><![CDATA[xml]]></configSuffix>
7+
</configSuffixes>
8+
<enableImports><![CDATA[false]]></enableImports>
9+
<configs>
10+
<config>src/main/webapp/WEB-INF/dispatcher-servlet.xml</config>
11+
</configs>
12+
<autoconfigs>
13+
</autoconfigs>
14+
<configSets>
15+
</configSets>
16+
</beansProjectDescription>

0 commit comments

Comments
 (0)