Author: jjankovi
Date: 2012-06-26 09:33:45 -0400 (Tue, 26 Jun 2012)
New Revision: 42217
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/lib/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/build/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java
Log:
test project for new seam3 bot test added
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.classpath 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss
7.1.1 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con"
path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.project 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>messageLogger</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.cdi.core.cdibuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ <nature>org.jboss.tools.cdi.core.cdinature</nature>
+ </natures>
+</projectDescription>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/.jsdtscope 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con"
path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.jdt.core.prefs 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.component 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules
id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="messageLogger">
+ <wb-resource deploy-path="/" source-path="/WebContent"
tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes"
source-path="/src"/>
+ <property name="context-root" value="messageLogger"/>
+ <property name="java-output-path"
value="/messageLogger/build/classes"/>
+ </wb-module>
+</project-modules>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.1 Runtime "/>
+ <fixed facet="java"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/META-INF/MANIFEST.MF 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/beans.xml 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<beans
xmlns="http://java.sun.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://jboss.org/schema/cdi/beans_1_0.xsd"/>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/WEB-INF/web.xml 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
+ <display-name>messageLogger</display-name>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ </welcome-file-list>
+</web-app>
\ No newline at end of file
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/WebContent/index.xhtml 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<h:head></h:head>
+<body>
+ <h:outputText value="#{bean.helloWorld}" />
+</body>
+</html>
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/Bean.java 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,19 @@
+package cdi.test;
+
+import javax.enterprise.context.RequestScoped;
+import javax.inject.Inject;
+import javax.inject.Named;
+
+import org.jboss.solder.logging.Category;
+
+@Named
+@RequestScoped
+public class Bean {
+
+ @Inject @Category("trains") TrainSpotterLog log;
+
+ public String getHelloWorld() {
+ log.dieselTrainsSpotted(1);
+ return "HelloWorld";
+ }
+}
Added:
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam3.bot.test/resources/projects/messageLogger/src/cdi/test/TrainSpotterLog.java 2012-06-26
13:33:45 UTC (rev 42217)
@@ -0,0 +1,11 @@
+package cdi.test;
+
+import org.jboss.solder.logging.MessageLogger;
+import org.jboss.solder.logging.internal.LogMessage;
+import org.jboss.solder.messages.Message;
+
+@MessageLogger
+public interface TrainSpotterLog {
+ @LogMessage @Message("Spotted %s diesel trains")
+ void dieselTrainsSpotted(int number);
+}