Hafid Haddouti authored on25/04/2014 23:52:22
Showing17 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
4
+		<attributes>
5
+			<attribute name="optional" value="true"/>
6
+			<attribute name="maven.pomderived" value="true"/>
7
+		</attributes>
8
+	</classpathentry>
9
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10
+		<attributes>
11
+			<attribute name="optional" value="true"/>
12
+			<attribute name="maven.pomderived" value="true"/>
13
+		</attributes>
14
+	</classpathentry>
15
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
16
+		<attributes>
17
+			<attribute name="maven.pomderived" value="true"/>
18
+		</attributes>
19
+	</classpathentry>
20
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
21
+		<attributes>
22
+			<attribute name="maven.pomderived" value="true"/>
23
+			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
24
+		</attributes>
25
+	</classpathentry>
26
+	<classpathentry kind="output" path="target/classes"/>
27
+</classpath>
0 28
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+/target
0 2
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<projectDescription>
3
+	<name>testapp-jee6</name>
4
+	<comment></comment>
5
+	<projects>
6
+	</projects>
7
+	<buildSpec>
8
+		<buildCommand>
9
+			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
10
+			<arguments>
11
+			</arguments>
12
+		</buildCommand>
13
+		<buildCommand>
14
+			<name>org.eclipse.jdt.core.javabuilder</name>
15
+			<arguments>
16
+			</arguments>
17
+		</buildCommand>
18
+		<buildCommand>
19
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
20
+			<arguments>
21
+			</arguments>
22
+		</buildCommand>
23
+		<buildCommand>
24
+			<name>org.eclipse.m2e.core.maven2Builder</name>
25
+			<arguments>
26
+			</arguments>
27
+		</buildCommand>
28
+		<buildCommand>
29
+			<name>org.eclipse.wst.validation.validationbuilder</name>
30
+			<arguments>
31
+			</arguments>
32
+		</buildCommand>
33
+	</buildSpec>
34
+	<natures>
35
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
36
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
37
+		<nature>org.eclipse.jdt.core.javanature</nature>
38
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
39
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
40
+		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
41
+	</natures>
42
+</projectDescription>
0 43
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<classpath>
3
+	<classpathentry kind="src" path="src/main/webapp"/>
4
+	<classpathentry kind="src" path="target/m2e-wtp/web-resources"/>
5
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
6
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
7
+		<attributes>
8
+			<attribute name="hide" value="true"/>
9
+		</attributes>
10
+	</classpathentry>
11
+	<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
12
+	<classpathentry kind="output" path=""/>
13
+</classpath>
0 14
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+eclipse.preferences.version=1
2
+encoding//src/main/java=UTF-8
3
+encoding/<project>=UTF-8
0 4
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+eclipse.preferences.version=1
2
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4
+org.eclipse.jdt.core.compiler.compliance=1.6
5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8
+org.eclipse.jdt.core.compiler.source=1.6
0 9
new file mode 100644
... ...
@@ -0,0 +1,4 @@
1
+activeProfiles=
2
+eclipse.preferences.version=1
3
+resolveWorkspaceProjects=true
4
+version=1
0 5
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project-modules id="moduleCoreId" project-version="1.5.0">
3
+    <wb-module deploy-name="testapp-jee6">
4
+        <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
5
+        <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
6
+        <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
7
+        <property name="context-root" value="testapp-jee6"/>
8
+        <property name="java-output-path" value="/testapp-jee6/target/classes"/>
9
+    </wb-module>
10
+</project-modules>
0 11
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+<root>
2
+  <facet id="jst.jaxrs">
3
+    <node name="libprov">
4
+      <attribute name="provider-id" value="jaxrs-no-op-library-provider"/>
5
+    </node>
6
+  </facet>
7
+  <facet id="jst.jsf">
8
+    <node name="libprov">
9
+      <attribute name="provider-id" value="jsf-no-op-library-provider"/>
10
+    </node>
11
+  </facet>
12
+</root>
0 13
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<faceted-project>
3
+  <fixed facet="wst.jsdt.web"/>
4
+  <installed facet="java" version="1.6"/>
5
+  <installed facet="jst.web" version="3.0"/>
6
+  <installed facet="jst.jaxrs" version="1.1"/>
7
+  <installed facet="jst.jsf" version="2.0"/>
8
+  <installed facet="wst.jsdt.web" version="1.0"/>
9
+</faceted-project>
0 10
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
0 2
\ No newline at end of file
1 3
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+Window
0 2
\ No newline at end of file
1 3
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+disabled=06target
2
+eclipse.preferences.version=1
0 3
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+/META-INF
0 2
new file mode 100644
... ...
@@ -0,0 +1,76 @@
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/xsd/maven-4.0.0.xsd">
3
+    <modelVersion>4.0.0</modelVersion>
4
+
5
+    <groupId>com.haddouti.pg</groupId>
6
+    <artifactId>testapp-jee6</artifactId>
7
+    <version>0.0.1-SNAPSHOT</version>
8
+    <packaging>war</packaging>
9
+
10
+    <name>testapp-jee6</name>
11
+
12
+    <properties>
13
+        <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
14
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15
+    </properties>
16
+
17
+    <dependencies>
18
+        <dependency>
19
+            <groupId>javax</groupId>
20
+            <artifactId>javaee-web-api</artifactId>
21
+            <version>6.0</version>
22
+            <scope>provided</scope>
23
+        </dependency>
24
+    </dependencies>
25
+
26
+    <build>
27
+        <plugins>
28
+            <plugin>
29
+                <groupId>org.apache.maven.plugins</groupId>
30
+                <artifactId>maven-compiler-plugin</artifactId>
31
+                <version>2.3.2</version>
32
+                <configuration>
33
+                    <source>1.6</source>
34
+                    <target>1.6</target>
35
+                    <compilerArguments>
36
+                        <endorseddirs>${endorsed.dir}</endorseddirs>
37
+                    </compilerArguments>
38
+                </configuration>
39
+            </plugin>
40
+            <plugin>
41
+                <groupId>org.apache.maven.plugins</groupId>
42
+                <artifactId>maven-war-plugin</artifactId>
43
+                <version>2.1.1</version>
44
+                <configuration>
45
+                    <failOnMissingWebXml>false</failOnMissingWebXml>
46
+                </configuration>
47
+            </plugin>
48
+            <plugin>
49
+                <groupId>org.apache.maven.plugins</groupId>
50
+                <artifactId>maven-dependency-plugin</artifactId>
51
+                <version>2.1</version>
52
+                <executions>
53
+                    <execution>
54
+                        <phase>validate</phase>
55
+                        <goals>
56
+                            <goal>copy</goal>
57
+                        </goals>
58
+                        <configuration>
59
+                            <outputDirectory>${endorsed.dir}</outputDirectory>
60
+                            <silent>true</silent>
61
+                            <artifactItems>
62
+                                <artifactItem>
63
+                                    <groupId>javax</groupId>
64
+                                    <artifactId>javaee-endorsed-api</artifactId>
65
+                                    <version>6.0</version>
66
+                                    <type>jar</type>
67
+                                </artifactItem>
68
+                            </artifactItems>
69
+                        </configuration>
70
+                    </execution>
71
+                </executions>
72
+            </plugin>
73
+        </plugins>
74
+    </build>
75
+
76
+</project>
0 77
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+package com.haddouti.pg.jee6;
2
+
3
+import javax.ejb.Stateless;
4
+
5
+/**
6
+ * This is servce
7
+ */
8
+@Stateless
9
+public class OneService {
10
+
11
+	
12
+}
0 13
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
2
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+   "http://www.w3.org/TR/html4/loose.dtd">
4
+
5
+<html>
6
+    <head>
7
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
8
+        <title>JSP Page</title>
9
+    </head>
10
+    <body>
11
+        <h1>Hello World!</h1>
12
+    </body>
13
+</html>