Skip to content

Commit a705587

Browse files
author
lakmal
committed
first commit
0 parents  commit a705587

File tree

9 files changed

+124
-0
lines changed

9 files changed

+124
-0
lines changed

.classpath

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
4+
<classpathentry kind="src" path="src/main/java"/>
5+
<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
6+
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
7+
<attributes>
8+
<attribute name="owner.project.facets" value="jst.web"/>
9+
</attributes>
10+
</classpathentry>
11+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_10">
12+
<attributes>
13+
<attribute name="owner.project.facets" value="java"/>
14+
</attributes>
15+
</classpathentry>
16+
<classpathentry kind="output" path="target/classes"/>
17+
</classpath>

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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>

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
eclipse.preferences.version=1
2+
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
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.source=1.7
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
2+
<wb-module deploy-name="java-blog-aggregator">
3+
<property name="context-root" value="java-blog-aggregator"/>
4+
<wb-resource deploy-path="/" source-path="src/main/webapp"/>
5+
<property name="java-output-path" value="/target/classes"/>
6+
<wb-resource deploy-path="/WEB-INF/classes" source-path="src/main/resources"/>
7+
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
8+
</wb-module>
9+
</project-modules>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<faceted-project>
3+
<runtime name="Apache Tomcat v7.0"/>
4+
<fixed facet="jst.java"/>
5+
<fixed facet="jst.web"/>
6+
<installed facet="jst.java" version="1.7"/>
7+
<installed facet="jst.web" version="3.0"/>
8+
</faceted-project>

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.lakmal</groupId>
5+
<artifactId>java-blog-aggregator</artifactId>
6+
<packaging>war</packaging>
7+
<version>1.0-SNAPSHOT</version>
8+
<name>java-blog-aggregator Maven Webapp</name>
9+
<url>http://maven.apache.org</url>
10+
<dependencies>
11+
<dependency>
12+
<groupId>junit</groupId>
13+
<artifactId>junit</artifactId>
14+
<version>3.8.1</version>
15+
<scope>test</scope>
16+
</dependency>
17+
</dependencies>
18+
<build>
19+
<finalName>java-blog-aggregator</finalName>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.eclipse.jetty</groupId>
23+
<artifactId>jetty-maven-plugin</artifactId>
24+
<version>9.3.0.M1</version>
25+
</plugin>
26+
</plugins>
27+
</build>
28+
</project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.lakmal;
2+
3+
public class RssReader {
4+
5+
public void getRess() {
6+
try {
7+
System.out.println("in rss reader....");
8+
} catch (Exception e) {
9+
System.out.println("Error.....");
10+
}
11+
}
12+
}

src/main/webapp/WEB-INF/web.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
4+
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5+
version="3.0">
6+
7+
<display-name>Servlet 3.0 Web Application</display-name>
8+
</web-app>

src/main/webapp/index.jsp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<%@ page language="java" contentType="text/html; charset=UTF-8"
2+
pageEncoding="UTF-8"%>
3+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4+
<html>
5+
<head>
6+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<title>index page</title>
8+
</head>
9+
<body>
10+
<h2>Hi, A U There....</h2>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)