JBoss Tools SVN: r3365 - trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-08-27 18:01:35 -0400 (Mon, 27 Aug 2007)
New Revision: 3365
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java
Log:
weird as test
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java 2007-08-27 21:34:38 UTC (rev 3364)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java 2007-08-27 22:01:35 UTC (rev 3365)
@@ -58,8 +58,10 @@
assertEquals(savedRuntime.getName(), secondSavedRuntime.getName());
assertNotSame(savedRuntime, secondSavedRuntime);
- assertFalse("Why are two different runtimes created with the same ID ?!", savedRuntime.getId().equals(secondSavedRuntime.getId()));
+ assertFalse("Why are two different runtimes created with the same ID ?!", savedRuntime.getId().equals(secondSavedRuntime.getId()));
+ assertEquals(ServerUtil.getRuntimes("org.jboss.ide.eclipse.as.runtime.42", null).length, 2);
+
}
public void testCreateBrokenServer() throws CoreException {
@@ -75,16 +77,22 @@
System.out.println(savedRuntime.getName() + " " + savedRuntime.getId());
assertEquals("Neither vm install nor configuration is set - should not be able to validate",savedRuntime.validate(null).getCode(), Status.ERROR);
+ assertEquals(ServerUtil.getRuntimes("org.jboss.ide.eclipse.as.runtime.42", null).length, 1);
}
public void testClasspathAvailable() throws CoreException {
+ // Weirdness: If this method is the only to run everything works as expected.
IJavaProject javaProject = JavaCore.create(project);
assertTrue(javaProject.exists());
- IServer createServer = createServer();
- setTargetRuntime(createServer, project);
+ IRuntime createdRuntime = createRuntime("cp-runtime");
+ setTargetRuntime(createdRuntime, project);
+ assertEquals(createdRuntime.getId(), "cp-runtime");
+
+
+ System.out.println(ServerUtil.getRuntimes("org.jboss.ide.eclipse.as.runtime.42", null).length);
IClasspathEntry paths[] = javaProject.getRawClasspath();
boolean found = false;
for (int i = 0; i < paths.length; i++) {
@@ -111,9 +119,9 @@
}
- private void setTargetRuntime(IServer createServer, IProject theProject) throws CoreException {
+ private void setTargetRuntime(IRuntime runtime, IProject theProject) throws CoreException {
- final org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime = RuntimeManager.getRuntime(createServer.getRuntime().getId());
+ final org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime = RuntimeManager.getRuntime(runtime.getId());
assertNotNull("bridged facet runtime not found", facetRuntime);
@@ -125,13 +133,13 @@
}
- private IServer createServer() throws CoreException {
- IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null,null, "org.jboss.ide.eclipse.as.runtime.42");
+ private IRuntime createRuntime(String runtimeName) throws CoreException {
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null,null, "org.eclipse.jst.server.tomcat.runtime.41" /*"org.jboss.ide.eclipse.as.runtime.42"*/);
assertEquals("expects only one runtime type for jboss 4.2", runtimeTypes.length, 1);
IRuntimeType runtimeType = runtimeTypes[0];
- RuntimeWorkingCopy jbossRuntime = (RuntimeWorkingCopy)runtimeType.createRuntime(null, new NullProgressMonitor());
+ RuntimeWorkingCopy jbossRuntime = (RuntimeWorkingCopy)runtimeType.createRuntime(runtimeName, new NullProgressMonitor());
jbossRuntime.setLocation(new Path(JBOSS_AS_HOME));
jbossRuntime.setAttribute(IJBossServerRuntime.PROPERTY_CONFIGURATION_NAME, "default");
@@ -140,17 +148,7 @@
System.out.println(savedRuntime.getName() + " " + savedRuntime.getId());
assertEquals(savedRuntime.validate(null).getCode(), Status.OK);
-
- IServerType jboss42serverType = ServerCore.findServerType("org.jboss.ide.eclipse.as.42");
-
- assertNotNull(jboss42serverType);
-
- IServerWorkingCopy jboss42server = jboss42serverType.createServer(null, null, jbossRuntime, new NullProgressMonitor());
-
- assertNotNull(jboss42server);
-
- assertSame(jbossRuntime, jboss42server.getRuntime());
- return jboss42server.save(true, null);
+ return savedRuntime;
}
}
16 years, 8 months
JBoss Tools SVN: r3363 - in trunk/as: tests and 22 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-08-27 17:12:29 -0400 (Mon, 27 Aug 2007)
New Revision: 3363
Added:
trunk/as/tests/
trunk/as/tests/org.jboss.ide.eclipse.as.test/
trunk/as/tests/org.jboss.ide.eclipse.as.test/.classpath
trunk/as/tests/org.jboss.ide.eclipse.as.test/.project
trunk/as/tests/org.jboss.ide.eclipse.as.test/META-INF/
trunk/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest$1.class
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest.class
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTest.class
trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTestSuite.class
trunk/as/tests/org.jboss.ide.eclipse.as.test/build.properties
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.classpath
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.project
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.component
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/META-INF/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/lib/
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/web.xml
trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/src/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTest.java
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java
Log:
added AS test
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/.classpath
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/.classpath (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/.classpath 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/.project
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/.project (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/.project 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.ide.eclipse.as.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/META-INF/MANIFEST.MF 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: AS Adapter Test Plug-in
+Bundle-SymbolicName: org.jboss.ide.eclipse.as.test
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.ide.eclipse.as.test.ASTest
+Require-Bundle: org.eclipse.core.runtime,
+ org.junit,
+ org.eclipse.core.resources,
+ org.jboss.tools.common.test,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.core.manipulation,
+ org.jboss.ide.eclipse.as.core,
+ org.eclipse.wst.server.core,
+ org.eclipse.jst.common.project.facet.core,
+ org.eclipse.wst.common.project.facet.core,
+ org.eclipse.wst.common.project.facet.ui
+Eclipse-LazyStart: true
+Bundle-ClassPath: archivestest.jar
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest$1.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest$1.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASClasspathTest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTest.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTest.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTestSuite.class
===================================================================
(Binary files differ)
Property changes on: trunk/as/tests/org.jboss.ide.eclipse.as.test/bin/org/jboss/ide/eclipse/as/test/ASTestSuite.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/build.properties
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/build.properties (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/build.properties 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,5 @@
+source.. = src/
+output.archivestest.jar = bin/
+bin.includes = META-INF/,\
+ archivestest.jar
+source.archivestest.jar = src/
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.classpath
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.classpath (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.classpath 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_12"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.project
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.project (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.project 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>basicwebproject</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <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.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jdt.core.prefs 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,7 @@
+#Mon Aug 27 15:45:41 CEST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.jst.common.project.facet.core.prefs 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,3 @@
+#Mon Aug 27 15:45:43 CEST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+eclipse.preferences.version=1
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.component 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="basicwebproject">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+<property name="context-root" value="basicwebproject"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.4"/>
+</faceted-project>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/META-INF/MANIFEST.MF 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/projects/basicwebproject/WebContent/WEB-INF/web.xml 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>
+ basicwebproject</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>
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASClasspathTest.java 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,156 @@
+package org.jboss.ide.eclipse.as.test;
+
+import java.util.HashSet;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.wst.common.project.facet.core.IFacetedProject;
+import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
+import org.eclipse.wst.common.project.facet.core.runtime.RuntimeManager;
+import org.eclipse.wst.server.core.IRuntime;
+import org.eclipse.wst.server.core.IRuntimeType;
+import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerType;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.eclipse.wst.server.core.ServerCore;
+import org.eclipse.wst.server.core.ServerUtil;
+import org.eclipse.wst.server.core.internal.RuntimeWorkingCopy;
+import org.jboss.ide.eclipse.as.core.runtime.IJBossServerRuntime;
+import org.jboss.tools.common.test.util.TestProjectProvider;
+
+public class ASClasspathTest extends TestCase {
+
+
+ private static final String JBOSS_AS_HOME = System.getProperty("jbosstools.test.jboss.home", "/home/max/rhdevstudio/jboss-eap/jboss-as");
+
+ private TestProjectProvider provider;
+ private IProject project;
+
+ protected void setUp() throws Exception {
+ provider = new TestProjectProvider("org.jboss.ide.eclipse.as.test", null, "basicwebproject", true);
+ project = provider.getProject();
+
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+ }
+
+ public void testDoubleCreate() throws CoreException {
+
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null,null, "org.jboss.ide.eclipse.as.runtime.42");
+ assertEquals("expects only one runtime type for jboss 4.2", runtimeTypes.length, 1);
+
+ IRuntimeType runtimeType = runtimeTypes[0];
+
+ IRuntimeWorkingCopy jbossRuntime = runtimeType.createRuntime(null, new NullProgressMonitor());
+ IRuntime savedRuntime = jbossRuntime.save(true, new NullProgressMonitor());
+
+ IRuntimeWorkingCopy secondJbossRuntime = runtimeType.createRuntime(null, new NullProgressMonitor());
+ IRuntime secondSavedRuntime = secondJbossRuntime.save(true, new NullProgressMonitor());
+
+ assertEquals(savedRuntime.getName(), secondSavedRuntime.getName());
+ assertNotSame(savedRuntime, secondSavedRuntime);
+ assertFalse("Why are two different runtimes created with the same ID ?!", savedRuntime.getId().equals(secondSavedRuntime.getId()));
+
+ }
+ public void testCreateBrokenServer() throws CoreException {
+
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null,null, "org.jboss.ide.eclipse.as.runtime.42");
+ assertEquals("expects only one runtime type for jboss 4.2", runtimeTypes.length, 1);
+
+ IRuntimeType runtimeType = runtimeTypes[0];
+
+ IRuntimeWorkingCopy jbossRuntime = runtimeType.createRuntime(null, new NullProgressMonitor());
+
+ IRuntime savedRuntime = jbossRuntime.save(true, new NullProgressMonitor());
+
+ System.out.println(savedRuntime.getName() + " " + savedRuntime.getId());
+ assertEquals("Neither vm install nor configuration is set - should not be able to validate",savedRuntime.validate(null).getCode(), Status.ERROR);
+
+ }
+
+ public void testClasspathAvailable() throws CoreException {
+
+ IJavaProject javaProject = JavaCore.create(project);
+ assertTrue(javaProject.exists());
+
+ IServer createServer = createServer();
+ setTargetRuntime(createServer, project);
+
+ IClasspathEntry paths[] = javaProject.getRawClasspath();
+ boolean found = false;
+ for (int i = 0; i < paths.length; i++) {
+ IClasspathEntry classpathEntry = paths[i];
+ if(classpathEntry.getPath().toString().equals("org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss 4.2 Runtime")) {
+ found = true;
+ }
+ }
+ assertTrue("could not find jboss as specific entry in raw classpath", found);
+
+ IClasspathEntry[] resolvedClasspath = javaProject.getResolvedClasspath(false);
+
+ boolean jsfFound = false;
+ for (int i = 0; i < resolvedClasspath.length; i++) {
+ IClasspathEntry classpathEntry = resolvedClasspath[i];
+ if(classpathEntry.getPath().toString().contains("jsf")) {
+
+ jsfFound = true;
+ }
+ System.out.println(classpathEntry);
+ }
+ assertTrue("jsf lib not found!", jsfFound);
+
+
+ }
+
+ private void setTargetRuntime(IServer createServer, IProject theProject) throws CoreException {
+
+ final org.eclipse.wst.common.project.facet.core.runtime.IRuntime facetRuntime = RuntimeManager.getRuntime(createServer.getRuntime().getId());
+
+ assertNotNull("bridged facet runtime not found", facetRuntime);
+
+ IFacetedProject facetedProject = ProjectFacetsManager.create(theProject);
+
+ facetedProject.setTargetedRuntimes(new HashSet<org.eclipse.wst.common.project.facet.core.runtime.IRuntime>() { { this.add(facetRuntime);}}, null);
+ facetedProject.setPrimaryRuntime(facetRuntime, null);
+
+
+ }
+
+ private IServer createServer() throws CoreException {
+ IRuntimeType[] runtimeTypes = ServerUtil.getRuntimeTypes(null,null, "org.jboss.ide.eclipse.as.runtime.42");
+ assertEquals("expects only one runtime type for jboss 4.2", runtimeTypes.length, 1);
+
+ IRuntimeType runtimeType = runtimeTypes[0];
+
+ RuntimeWorkingCopy jbossRuntime = (RuntimeWorkingCopy)runtimeType.createRuntime(null, new NullProgressMonitor());
+
+ jbossRuntime.setLocation(new Path(JBOSS_AS_HOME));
+ jbossRuntime.setAttribute(IJBossServerRuntime.PROPERTY_CONFIGURATION_NAME, "default");
+ IRuntime savedRuntime = jbossRuntime.save(true, new NullProgressMonitor());
+
+ System.out.println(savedRuntime.getName() + " " + savedRuntime.getId());
+ assertEquals(savedRuntime.validate(null).getCode(), Status.OK);
+
+
+ IServerType jboss42serverType = ServerCore.findServerType("org.jboss.ide.eclipse.as.42");
+
+ assertNotNull(jboss42serverType);
+
+ IServerWorkingCopy jboss42server = jboss42serverType.createServer(null, null, jbossRuntime, new NullProgressMonitor());
+
+ assertNotNull(jboss42server);
+
+ assertSame(jbossRuntime, jboss42server.getRuntime());
+ return jboss42server.save(true, null);
+ }
+
+}
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTest.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTest.java 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,50 @@
+package org.jboss.ide.eclipse.as.test;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class ASTest extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.ide.eclipse.as.test";
+
+ // The shared instance
+ private static ASTest plugin;
+
+ /**
+ * The constructor
+ */
+ public ASTest() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static ASTest getDefault() {
+ return plugin;
+ }
+
+}
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java 2007-08-27 21:12:29 UTC (rev 3363)
@@ -0,0 +1,15 @@
+package org.jboss.ide.eclipse.as.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class ASTestSuite extends TestSuite {
+ public static Test suite() {
+ TestSuite suite = new TestSuite("Archives Tests");
+
+ suite.addTestSuite(ASClasspathTest.class);
+
+ return suite;
+ }
+
+}
16 years, 8 months
JBoss Tools SVN: r3362 - in branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe: editor and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-08-27 12:29:18 -0400 (Mon, 27 Aug 2007)
New Revision: 3362
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-743
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java 2007-08-27 15:43:48 UTC (rev 3361)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/dnd/VpeDnD.java 2007-08-27 16:29:18 UTC (rev 3362)
@@ -12,8 +12,12 @@
package org.jboss.tools.vpe.dnd;
import org.eclipse.swt.graphics.Rectangle;
+import org.jboss.tools.vpe.editor.VpeController;
+import org.jboss.tools.vpe.editor.mozilla.EditorDomEventListener;
+import org.jboss.tools.vpe.editor.mozilla.MozillaDropInfo;
import org.mozilla.interfaces.nsIComponentManager;
import org.mozilla.interfaces.nsIDOMEvent;
+import org.mozilla.interfaces.nsIDOMMouseEvent;
import org.mozilla.interfaces.nsIDOMNSHTMLElement;
import org.mozilla.interfaces.nsIDOMNode;
import org.mozilla.interfaces.nsIDragService;
@@ -150,5 +154,29 @@
}
return dragService;
}
+ /**
+ * Calls when drag over event ocure
+ * @param event
+ */
+ public void dragOver(nsIDOMEvent event, EditorDomEventListener editorDomEventListener) {
+ boolean canDrop = false;
+
+ nsIDOMMouseEvent mouseEvent = (nsIDOMMouseEvent) event.queryInterface(nsIDOMMouseEvent.NS_IDOMMOUSEEVENT_IID);
+ //in this condition early was check for xulelement
+ if (editorDomEventListener != null) {
+ if (getDragService().getCurrentSession().isDataFlavorSupported(VpeController.MODEL_FLAVOR)) {
+ MozillaDropInfo info = editorDomEventListener.canExternalDrop(mouseEvent, VpeController.MODEL_FLAVOR, "");
+ if (info != null) {
+ canDrop = info.canDrop();
+ }
+ }
+ }
+ //sets possability to drop current element here
+ System.out.println("["+canDrop+"]");
+ getDragService().getCurrentSession().setCanDrop(canDrop);
+ mouseEvent.preventDefault();
+ mouseEvent.stopPropagation();
+
+ }
}
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2007-08-27 15:43:48 UTC (rev 3361)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2007-08-27 16:29:18 UTC (rev 3362)
@@ -1803,41 +1803,30 @@
}
public void dragOver(nsIDOMEvent event) {
- nsIDragSession dragSession = xulRunnerEditor.getCurrentDragSession();
-// int num =
- dragSession.getNumDropItems();
- boolean isFlavor = dragSession.isDataFlavorSupported(ModelTransfer.MODEL);
+// nsIDragSession dragSession = xulRunnerEditor.getCurrentDragSession();
+//
+// boolean isFlavor = dragSession.isDataFlavorSupported(ModelTransfer.MODEL);
- if (VpeDebug.printVisualDragDropEvent) {
- System.out.println("<<< outerDragOver isFlavor: " + isFlavor); //$NON-NLS-1$
- }
-
- nsITransferable transferable = xulRunnerEditor.createTransferable();
-
- transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kURLDataMime);
- transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kFileMime);
- transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kURLMime);
-
- dragSession.getData(transferable, 0);
-
- nsISupportsArray array = transferable.flavorsTransferableCanImport();
-// int count =
- array.count();
-
- nsISupportsArray array2 = transferable.flavorsTransferableCanExport();
-// int count2 =
- array2.count();
-
-
- String[] flavors = new String[] {null};
- nsISupports[] data = new nsISupports[] {null};
- long[] length = new long[] {0};
- transferable.getAnyTransferData(flavors, data, length);
-// num =
- dragSession.getNumDropItems();
-
- dragSession.setCanDrop(true);
- event.preventDefault();
+// if (VpeDebug.printVisualDragDropEvent) {
+// System.out.println("<<< outerDragOver isFlavor: " + isFlavor); //$NON-NLS-1$
+// }
+ visualBuilder.getDnd().dragOver(event, this);
+// nsITransferable transferable = xulRunnerEditor.createTransferable();
+//
+// transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kURLDataMime);
+// transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kFileMime);
+// transferable.addDataFlavor(XulRunnerEditor.TRANS_FLAVOR_kURLMime);
+//
+// dragSession.getData(transferable, 0);
+//
+// String[] flavors = new String[] {null};
+// nsISupports[] data = new nsISupports[] {null};
+// long[] length = new long[] {0};
+// transferable.getAnyTransferData(flavors, data, length);
+//
+//
+// dragSession.setCanDrop(true);
+// event.preventDefault();
}
public void _dragOver(nsIDOMEvent event) {
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java 2007-08-27 15:43:48 UTC (rev 3361)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaDomEventListener.java 2007-08-27 16:29:18 UTC (rev 3362)
@@ -263,25 +263,27 @@
* @see org.mozilla.interfaces.nsIClipboardDragDropHooks#allowDrop(org.mozilla.interfaces.nsIDOMEvent, org.mozilla.interfaces.nsIDragSession)
*/
// checks is drop allowed
+ @Deprecated
+ // functionality was moved to VpeDnD.dragOver
public boolean allowDrop(nsIDOMEvent event, nsIDragSession dragSession) {
boolean canDrop = false;
- nsIDOMMouseEvent mouseEvent = (nsIDOMMouseEvent) event.queryInterface(nsIDOMMouseEvent.NS_IDOMMOUSEEVENT_IID);
-
- if (editorDomEventListener != null && !isXulElement(mouseEvent)) {
- if (dragSession.isDataFlavorSupported(VpeController.MODEL_FLAVOR)) {
- MozillaDropInfo info = editorDomEventListener.canExternalDrop(mouseEvent, VpeController.MODEL_FLAVOR, "");
- if (info != null && info.canDrop()) {
- // TODO Sergey Vasilyev figures out with this drop
- String nodeName = info.getCaretParent().getNodeName();
- if ("input".equalsIgnoreCase(nodeName)) {
- canDrop = true;
- }
- }
- }
- }
- mouseEvent.preventDefault();
- mouseEvent.stopPropagation();
-
+// nsIDOMMouseEvent mouseEvent = (nsIDOMMouseEvent) event.queryInterface(nsIDOMMouseEvent.NS_IDOMMOUSEEVENT_IID);
+//
+// if (editorDomEventListener != null && !isXulElement(mouseEvent)) {
+// if (dragSession.isDataFlavorSupported(VpeController.MODEL_FLAVOR)) {
+// MozillaDropInfo info = editorDomEventListener.canExternalDrop(mouseEvent, VpeController.MODEL_FLAVOR, "");
+// if (info != null && info.canDrop()) {
+// // TODO Sergey Vasilyev figures out with this drop
+// String nodeName = info.getCaretParent().getNodeName();
+// if ("input".equalsIgnoreCase(nodeName)) {
+// canDrop = true;
+// }
+// }
+// }
+// }
+// mouseEvent.preventDefault();
+// mouseEvent.stopPropagation();
+//
return canDrop;
}
@@ -366,18 +368,19 @@
getEditorDomEventListener().onShowContextMenu(0, domEvent, (nsIDOMNode) domEvent.getTarget().queryInterface(nsIDOMNode.NS_IDOMNODE_IID));
} else if(DRAGGESTUREEVENT.equals(domEvent.getType())) {
//here was moved functionality from can drag function
- System.out.print(DRAGGESTUREEVENT);
+// System.out.print(DRAGGESTUREEVENT);
nsIDOMMouseEvent mouseEvent = (nsIDOMMouseEvent) domEvent.queryInterface(nsIDOMMouseEvent.NS_IDOMMOUSEEVENT_IID);
if (editorDomEventListener != null && !isXulElement(mouseEvent)) {
boolean canDragFlag = editorDomEventListener.canInnerDrag(mouseEvent);
//TODO Max Areshkau think about using can -or not can drag if we can drag we should
//start drag session
- editorDomEventListener.startDragSession(domEvent);
+ getEditorDomEventListener().startDragSession(domEvent);
System.out.println("Can drag"+canDragFlag);
}
//TODO Max Areshkau Drag gesture event
} else if(DRAGDROPEVENT.equals(domEvent.getType())) {
+
System.out.println(DRAGDROPEVENT);
//TODO Max Areshkau drag drop gesture event
} else if(DRAGENTEREVENT.equals(domEvent.getType())) {
@@ -387,6 +390,8 @@
System.out.println(DRAGEXITEVENT);
//TODO Max Areshkau drag enter event
} else if(DRAGOVEREVENT.equals(domEvent.getType())) {
+
+ getEditorDomEventListener().dragOver(domEvent);
System.out.println(DRAGOVEREVENT);
//TODO Max Areshkau drag over event
}
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2007-08-27 15:43:48 UTC (rev 3361)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2007-08-27 16:29:18 UTC (rev 3362)
@@ -25,6 +25,7 @@
import org.jboss.tools.vpe.editor.VpeSourceInnerDropInfo;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.selection.VpeSourceSelection;
+import org.jboss.tools.vpe.editor.template.dnd.VpeDnd;
import org.jboss.tools.vpe.editor.template.resize.VpeResizer;
import org.jboss.tools.vpe.editor.template.textformating.TextFormatingData;
import org.mozilla.interfaces.nsIDOMDocument;
@@ -48,7 +49,7 @@
private VpeResizer resizer;
// TODO Max Areshkau add DnD support
-// private VpeDnd dragger;
+ private VpeDnd dragger;
private TextFormatingData textFormatingData;
private VpePseudoContentCreator pseudoContentCreator;
@@ -211,10 +212,10 @@
private void initDndHandler(Element templateSection) {
// TODO Max Areshkau add DnD support
-// if (dragger == null) {
-// dragger = new VpeDnd();
-// dragger.setDndData(templateSection);
-// }
+ if (getDragger() == null) {
+ setDragger(new VpeDnd());
+ getDragger().setDndData(templateSection);
+ }
}
private void initTextFormatingHandler(Element templateSection) {
@@ -663,11 +664,12 @@
*/
public boolean canInnerDrag(VpePageContext pageContext, Element sourceElement, nsIDOMDocument visualDocument, nsIDOMElement visualElement, Object data) {
// TODO Max Areshkau add DnD support
-// if (dragger != null) {
-// return dragger.isDragEnabled();
-// } else {
+ if (getDragger() != null) {
+
+ return getDragger().isDragEnabled();
+ } else {
return true;
-// }
+ }
}
/**
@@ -679,11 +681,11 @@
*/
public boolean canInnerDrop(VpePageContext pageContext, Node container, Node sourceDragNode) {
// TODO Max Areshkau add DnD support
-// if (dragger != null) {
-// return dragger.isDropEnabled(pageContext, container, sourceDragNode);
-// } else {
+ if (dragger != null) {
+ return dragger.isDropEnabled(pageContext, container, sourceDragNode);
+ } else {
return false;
-// }
+ }
}
/**
@@ -920,4 +922,19 @@
public boolean isHaveVisualPreview() {
return haveVisualPreview;
}
+
+ /**
+ * @return the dragger
+ */
+ public VpeDnd getDragger() {
+
+ return dragger;
+ }
+
+ /**
+ * @param dragger the dragger to set
+ */
+ public void setDragger(VpeDnd dragger) {
+ this.dragger = dragger;
+ }
}
16 years, 8 months
JBoss Tools SVN: r3361 - in trunk/common/tests/org.jboss.tools.common.test: src/org/jboss/tools/common/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-08-27 11:43:48 -0400 (Mon, 27 Aug 2007)
New Revision: 3361
Modified:
trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/test/CommonAllTests.java
Log:
http://jira.jboss.org/jira/browse/EXIN-13
fix test errors
Modified: trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2007-08-27 15:14:18 UTC (rev 3360)
+++ trunk/common/tests/org.jboss.tools.common.test/META-INF/MANIFEST.MF 2007-08-27 15:43:48 UTC (rev 3361)
@@ -11,7 +11,8 @@
org.jboss.tools.common
Provide-Package: org.jboss.tools.common.test.util
Eclipse-LazyStart: true
-Export-Package: org.jboss.tools.common.test,
+Export-Package: org.jboss.tools.common.reporting.test,
+ org.jboss.tools.common.test,
org.jboss.tools.common.test.util,
org.jboss.tools.common.util.test,
org.jboss.tools.common.xml.test
Modified: trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/test/CommonAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/test/CommonAllTests.java 2007-08-27 15:14:18 UTC (rev 3360)
+++ trunk/common/tests/org.jboss.tools.common.test/src/org/jboss/tools/common/test/CommonAllTests.java 2007-08-27 15:43:48 UTC (rev 3361)
@@ -10,14 +10,15 @@
******************************************************************************/
package org.jboss.tools.common.test;
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.common.reporting.test.ProblemReportingHelperTest;
import org.jboss.tools.common.util.test.HttpUtilTest;
import org.jboss.tools.common.xml.test.SAXValidatorTest;
import org.jboss.tools.common.xml.test.XMLUtilitiesTest;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
public class CommonAllTests extends TestCase {
public static Test suite ()
@@ -27,6 +28,8 @@
suite.addTestSuite(HttpUtilTest.class);
suite.addTestSuite(XMLUtilitiesTest.class);
suite.addTestSuite(SAXValidatorTest.class);
+ suite.addTestSuite(ProblemReportingHelperTest.class);
+ suite.addTestSuite(CommonPluginTest.class);
return suite;
}
16 years, 8 months
JBoss Tools SVN: r3360 - branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor.
by jbosstools-commits@lists.jboss.org
Author: ayukhovich
Date: 2007-08-27 11:14:18 -0400 (Mon, 27 Aug 2007)
New Revision: 3360
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerVpeResizer.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-742
resoring of resizing
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerVpeResizer.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerVpeResizer.java 2007-08-27 13:28:22 UTC (rev 3359)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerVpeResizer.java 2007-08-27 15:14:18 UTC (rev 3360)
@@ -386,8 +386,7 @@
* @param aOriginalObjectX
* @param aOriginalObjectY
*/
- private void setShadowPosition(nsIDOMElement shadowElement, int aOriginalObjectX, int aOriginalObjectY)
- {
+ private void setShadowPosition(nsIDOMElement shadowElement, int aOriginalObjectX, int aOriginalObjectY) {
setAnonymousElementPosition(aOriginalObjectX, aOriginalObjectY, shadowElement);
}
@@ -446,7 +445,6 @@
activeHandle = domElement;
activeHandle.setAttribute(XulRunnerConstants.STRING_MOZ_ACTIVATED, XulRunnerConstants.HTML_VALUE_TRUE);
-
String locationStr = activeHandle.getAttribute(XulRunnerConstants.HTML_ATTR_ANONLOCATION);
if (locationStr == null ) {
16 years, 8 months
JBoss Tools SVN: r3359 - in trunk/documentation/development/usecases/en/modules: projectexample and 37 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-08-27 09:28:22 -0400 (Mon, 27 Aug 2007)
New Revision: 3359
Added:
trunk/documentation/development/usecases/en/modules/projectexample/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/import.sql
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/seam.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/classes.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/groups.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/main.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-alphabetical.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-not-run.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/reporter-output.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng-failed.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng.xml.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/toc.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css
trunk/documentation/development/usecases/en/modules/projectexample/lamp/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs
trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration (2).launch
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/classes/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/classes/META-INF/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css
trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/import.sql
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/seam.properties
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl
trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/model/
Log:
example project layout
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.classpath 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/action"/>
+ <classpathentry kind="src" path="src/model"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_12"/>
+ <classpathentry kind="con" path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss 4.2 runtime"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.project 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <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.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.seam.core.seambuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.jboss.tools.seam.core.seamnature</nature>
+ </natures>
+</projectDescription>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jdt.core.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+#Fri Aug 24 13:54:47 CEST 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.jst.common.project.facet.core.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Aug 24 14:03:12 CEST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\ 4.2\ runtime/owners=jst.web\:2.5
+eclipse.preferences.version=1
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.component 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp">
+<wb-resource deploy-path="/" source-path="/WebContent"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/action"/>
+<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/model"/>
+<property name="context-root" value="lamp"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.web"/>
+ <fixed facet="jst.jsf"/>
+ <fixed facet="jst.seam"/>
+ <fixed facet="jst.java"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+ <installed facet="jst.jsf" version="1.2"/>
+ <installed facet="jst.seam" version="1.2"/>
+</faceted-project>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.jst.web.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,297 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FILESYSTEMS APPLICATION_NAME="lamp" ENTITY="FileSystems"
+ VERSION="2.0.0" WORKSPACE_HOME="./WebContent/WEB-INF">
+ <FILESYSTEM ENTITY="FileSystemFolder" LOCATION="%redhat.workspace%" NAME="WEB-INF"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" INFO="Content-Type=Web"
+ LOCATION="%redhat.workspace%/.." NAME="WEB-ROOT"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%redhat.workspace%/../../src" NAME="src"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" LOCATION="%redhat.workspace%/lib" NAME="lib"/>
+ <FILESYSTEM ENTITY="FileSystemFolder"
+ LOCATION="%redhat.workspace%/classes" NAME="classes"/>
+ <FILESYSTEM ENTITY="FileSystemFolder" LOCATION="%eclipse.project%" NAME="lamp"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/ajax4jsf.jar" NAME="lib-ajax4jsf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-beanutils-1.7.0.jar" NAME="lib-commons-beanutils-1.7.0.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-collections-3.1.jar" NAME="lib-commons-collections-3.1.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/commons-digester-1.6.jar" NAME="lib-commons-digester-1.6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-debug.jar" NAME="lib-jboss-seam-debug.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-ioc.jar" NAME="lib-jboss-seam-ioc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-mail.jar" NAME="lib-jboss-seam-mail.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-pdf.jar" NAME="lib-jboss-seam-pdf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-remoting.jar" NAME="lib-jboss-seam-remoting.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jboss-seam-ui.jar" NAME="lib-jboss-seam-ui.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/jsf-facelets.jar" NAME="lib-jsf-facelets.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="%redhat.workspace%/lib/oscache-2.3.2.jar" NAME="lib-oscache-2.3.2.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/antlr-2.7.6.jar" NAME="lib-antlr-2.7.6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/antlr-3.0ea8.jar" NAME="lib-antlr-3.0ea8.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar" NAME="lib-commons-jci-core-1.0-406301.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar" NAME="lib-commons-jci-janino-2.4.3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/drools-compiler-3.0.5.jar" NAME="lib-drools-compiler-3.0.5.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/drools-core-3.0.5.jar" NAME="lib-drools-core-3.0.5.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/janino-2.4.3.jar" NAME="lib-janino-2.4.3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/jboss-seam.jar" NAME="lib-jboss-seam.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/jbpm-3.1.4.jar" NAME="lib-jbpm-3.1.4.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/work/eclipsews/runtime-New_configuration/lamp-ear/EarContent/stringtemplate-2.3b6.jar" NAME="lib-stringtemplate-2.3b6.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/localedata.jar" NAME="lib-localedata.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/sunpkcs11.jar" NAME="lib-sunpkcs11.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/dnsns.jar" NAME="lib-dnsns.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/usr/java/jdk1.5.0_12/jre/lib/ext/sunjce_provider.jar" NAME="lib-sunjce_provider.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-saaj.jar" NAME="lib-jboss-saaj.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-remoting.jar" NAME="lib-jboss-remoting.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-common-client.jar" NAME="lib-jboss-common-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-xjc.jar" NAME="lib-jaxb-xjc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jsr77-client.jar" NAME="lib-jboss-jsr77-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossmq-client.jar" NAME="lib-jbossmq-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-impl.jar" NAME="lib-jaxb-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/avalon-framework.jar" NAME="lib-avalon-framework.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbosssx-client.jar" NAME="lib-jbosssx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/servlet-api.jar" NAME="lib-servlet-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/ejb3-persistence.jar" NAME="lib-ejb3-persistence.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-xml-binding.jar" NAME="lib-jboss-xml-binding.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/wstx.jar" NAME="lib-wstx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-j2ee.jar" NAME="lib-jboss-j2ee.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/log4j.jar" NAME="lib-log4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-codec.jar" NAME="lib-commons-codec.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/getopt.jar" NAME="lib-getopt.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossall-client.jar" NAME="lib-jbossall-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-system-client.jar" NAME="lib-jboss-system-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-aspect-jdk50-client.jar" NAME="lib-jboss-aspect-jdk50-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-serialization.jar" NAME="lib-jboss-serialization.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/antlr.jar" NAME="lib-antlr.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jmx-invoker-adaptor-client.jar" NAME="lib-jmx-invoker-adaptor-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/hibernate-client.jar" NAME="lib-hibernate-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-iiop-client.jar" NAME="lib-jboss-iiop-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/logkit.jar" NAME="lib-logkit.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-deployment.jar" NAME="lib-jboss-deployment.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/trove.jar" NAME="lib-trove.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-ejb3x.jar" NAME="lib-jboss-ejb3x.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/wsdl4j.jar" NAME="lib-wsdl4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossha-client.jar" NAME="lib-jbossha-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-ejb3-client.jar" NAME="lib-jboss-ejb3-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossws-wsconsume-impl.jar" NAME="lib-jbossws-wsconsume-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-annotations-ejb3.jar" NAME="lib-jboss-annotations-ejb3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-client.jar" NAME="lib-jboss-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-srp-client.jar" NAME="lib-jboss-srp-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jaxws.jar" NAME="lib-jboss-jaxws.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-logging.jar" NAME="lib-commons-logging.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jaxb-api.jar" NAME="lib-jaxb-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/hibernate-annotations.jar" NAME="lib-hibernate-annotations.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/xmlsec.jar" NAME="lib-xmlsec.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossws-client.jar" NAME="lib-jbossws-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/commons-httpclient.jar" NAME="lib-commons-httpclient.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jacorb.jar" NAME="lib-jacorb.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/concurrent.jar" NAME="lib-concurrent.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-aop-jdk50-client.jar" NAME="lib-jboss-aop-jdk50-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/scout.jar" NAME="lib-scout.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/mail.jar" NAME="lib-mail.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jmx-client.jar" NAME="lib-jmx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/javassist.jar" NAME="lib-javassist.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbossjmx-ant.jar" NAME="lib-jbossjmx-ant.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/stax-api.jar" NAME="lib-stax-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jbosscx-client.jar" NAME="lib-jbosscx-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/activation.jar" NAME="lib-activation.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-jaxrpc.jar" NAME="lib-jboss-jaxrpc.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jnp-client.jar" NAME="lib-jnp-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/client/jboss-transaction-client.jar" NAME="lib-jboss-transaction-client.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-system.jar" NAME="lib-jboss-system.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-common.jar" NAME="lib-jboss-common.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/jboss-jmx.jar" NAME="lib-jboss-jmx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/lib/log4j-boot.jar" NAME="lib-log4j-boot.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hsqldb-plugin.jar" NAME="lib-hsqldb-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossws-integration.jar" NAME="lib-jbossws-integration.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-vfs.jar" NAME="lib-jboss-vfs.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bcel.jar" NAME="lib-bcel.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hibernate3.jar" NAME="lib-hibernate3.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/dom4j.jar" NAME="lib-dom4j.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossts-common.jar" NAME="lib-jbossts-common.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jpl-util.jar" NAME="lib-jpl-util.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsh-deployer.jar" NAME="lib-bsh-deployer.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-srp.jar" NAME="lib-jboss-srp.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/xmlentitymgr.jar" NAME="lib-xmlentitymgr.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hibernate-entitymanager.jar" NAME="lib-hibernate-entitymanager.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/mail-plugin.jar" NAME="lib-mail-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jca.jar" NAME="lib-jboss-jca.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jaxen.jar" NAME="lib-jaxen.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jmx-adaptor-plugin.jar" NAME="lib-jmx-adaptor-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-monitoring.jar" NAME="lib-jboss-monitoring.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/scheduler-plugin.jar" NAME="lib-scheduler-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jpl-pattern.jar" NAME="lib-jpl-pattern.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-cache-jdk50.jar" NAME="lib-jboss-cache-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-hibernate.jar" NAME="lib-jboss-hibernate.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossjta-integration.jar" NAME="lib-jbossjta-integration.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-management.jar" NAME="lib-jboss-management.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-transaction.jar" NAME="lib-jboss-transaction.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/commons-collections.jar" NAME="lib-commons-collections.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jsr88.jar" NAME="lib-jboss-jsr88.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsh.jar" NAME="lib-bsh.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/quartz.jar" NAME="lib-quartz.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jsp-api.jar" NAME="lib-jsp-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/log4j-snmp-appender.jar" NAME="lib-log4j-snmp-appender.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-jsr77.jar" NAME="lib-jboss-jsr77.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/cglib.jar" NAME="lib-cglib.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossjta.jar" NAME="lib-jbossjta.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-remoting-int.jar" NAME="lib-jboss-remoting-int.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbosssx.jar" NAME="lib-jbosssx.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss.jar" NAME="lib-jboss.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/hsqldb.jar" NAME="lib-hsqldb.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jnpserver.jar" NAME="lib-jnpserver.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bsf.jar" NAME="lib-bsf.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/autonumber-plugin.jar" NAME="lib-autonumber-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/el-api.jar" NAME="lib-el-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/scheduler-plugin-example.jar" NAME="lib-scheduler-plugin-example.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/joesnmp.jar" NAME="lib-joesnmp.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/bindingservice-plugin.jar" NAME="lib-bindingservice-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jbossmq.jar" NAME="lib-jbossmq.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/properties-plugin.jar" NAME="lib-properties-plugin.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/lib/jboss-common-jdbc-wrapper.jar" NAME="lib-jboss-common-jdbc-wrapper.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-impl.jar" NAME="lib-jsf-impl.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jboss-faces.jar" NAME="lib-jboss-faces.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-web.deployer/jsf-libs/jsf-api.jar" NAME="lib-jsf-api.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar" NAME="lib-jboss-aop-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar" NAME="lib-jboss-aspect-library-jdk50.jar"/>
+ <FILESYSTEM ENTITY="FileSystemJar"
+ LOCATION="/home/max/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/ejb3.deployer/jboss-ejb3.jar" NAME="lib-jboss-ejb3.jar"/>
+ <WEB ENTITY="JstWeb" MODEL_PATH="/web.xml" SERVLET_VERSION="2.4">
+ <MODULE ENTITY="WebJSFModule" MODEL_PATH="/faces-config.xml"
+ ROOT="WEB-ROOT" SRC="src" URI="/WEB-INF/faces-config.xml"/>
+ </WEB>
+</FILESYSTEMS>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/.settings/org.jboss.tools.seam.core.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,33 @@
+#Fri Aug 24 13:54:47 CEST 2007
+FacetDataModelProvider.NOTIFICATION_OPERATION=org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl@c775c5
+FacetInstallDataModelProvider.MASTER_PROJECT_DM=IDataModel, provider\=org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider@13c6012
+IDataModelProperties.ALLOW_EXTENSIONS=true
+IDataModelProperties.RESTRICT_EXTENSIONS=[]
+IFacetDataModelProperties.FACET_ACTION=INSTALL[jst.seam 1.2]
+IFacetDataModelProperties.FACET_ID=jst.seam
+IFacetDataModelProperties.FACET_PROJECT_NAME=lamp
+IFacetDataModelProperties.FACET_TYPE=INSTALL
+IFacetDataModelProperties.FACET_VERSION_STR=1.2
+IFacetDataModelProperties.SHOULD_EXECUTE=true
+IFacetDataModelPropeties.FACET_VERSION=Seam Facet 1.2
+action.package=org.domain.lamp.session
+catalog.property=
+database.drop=false
+database.exists=false
+database.type=HSQL
+driver.file=[Ljava.lang.String;@170de0f
+eclipse.preferences.version=1
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.connection.password=
+hibernate.connection.url=jdbc\:hsqldb\:dfdf
+hibernate.connection.username=sa
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+jboss.home=Jboss_AS_HOME
+model.package=org.domain.lamp.entity
+project.name=lamp
+schema.property=
+seam.jbossas.home.folder=/home/max/rhdevstudio/jboss-eap/seam
+seam.project.connection.profile=eer1e
+seam.project.deployment.type=ear
+seam.project.web.root.folder=
+test.package=org.domain.lamp.test
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration (2).launch
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration (2).launch (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/New_configuration (2).launch 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.hibernate.eclipse.launch.CodeGenerationLaunchConfigurationType">
+<stringAttribute key="org.hibernate.tools.configurationname" value="lamp-ejb"/>
+<booleanAttribute key="org.hibernate.tools.ejb3" value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2cfgxml" value="true"/>
+<booleanAttribute key="org.hibernate.tools.hbm2dao" value="true"/>
+<booleanAttribute key="org.hibernate.tools.hbm2doc" value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2hbmxml" value="false"/>
+<booleanAttribute key="org.hibernate.tools.hbm2java" value="true"/>
+<booleanAttribute key="org.hibernate.tools.jdk5" value="false"/>
+<stringAttribute key="org.hibernate.tools.package" value=""/>
+<booleanAttribute key="org.hibernate.tools.prefercompositeids" value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_many_to_many" value="true"/>
+<booleanAttribute key="org.hibernate.tools.reveng.detect_optimistc_lock" value="true"/>
+<booleanAttribute key="org.hibernate.tools.schema2hbm" value="false"/>
+<booleanAttribute key="org.hibernate.tools.useOwnTemplates" value="false"/>
+</launchConfiguration>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/META-INF/MANIFEST.MF 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Class-Path: antlr-2.7.6.jar
+ antlr-3.0ea8.jar
+ commons-collections-3.1.jar
+ commons-jci-core-1.0-406301.jar
+ commons-jci-janino-2.4.3.jar
+ drools-compiler-3.0.5.jar
+ drools-core-3.0.5.jar
+ janino-2.4.3.jar
+ jboss-seam.jar
+ jbpm-3.1.4.jar
+ lamp-ejb.jar
+ stringtemplate-2.3b6.jar
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/components.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:drools="http://jboss.com/products/seam/drools"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
+ http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
+ http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
+
+ <core:init debug="true" jndi-pattern="lamp/#{ejbName}/local"/>
+
+ <core:manager concurrent-request-timeout="500"
+ conversation-timeout="120000"
+ conversation-id-parameter="cid"
+ conversation-is-long-running-parameter="clr"/>
+
+ <core:managed-persistence-context name="entityManager"
+ auto-create="true"
+ persistence-unit-jndi-name="java:/lampEntityManagerFactory"/>
+
+ <core:ejb installed="false"/>
+
+ <drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+
+ <security:identity authenticate-method="#{authenticator.authenticate}"
+ security-rules="#{securityRules}"
+ remember-me="true"/>
+
+ <event type="org.jboss.seam.notLoggedIn">
+ <action expression="#{redirect.captureCurrentView}"/>
+ </event>
+ <event type="org.jboss.seam.postAuthenticate">
+ <action expression="#{redirect.returnToCapturedView}"/>
+ </event>
+
+ <!-- For use with jBPM pageflow or process management -->
+ <!--
+ <core:jbpm>
+ <core:process-definitions></core:process-definitions>
+ <core:pageflow-definitions></core:pageflow-definitions>
+ </core:jbpm>
+ -->
+
+</components>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/faces-config.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,31 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<faces-config version="1.2"
+ 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://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+
+ <!-- Seam transaction management -->
+ <lifecycle>
+ <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
+ </lifecycle>
+
+ <!-- No Seam transaction management -->
+ <!--
+ <lifecycle>
+ <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
+ </lifecycle>
+ -->
+
+ <application>
+ <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
+ <message-bundle>messages</message-bundle>
+
+ <!-- Disabled when using Ajax4JSF -->
+ <!--
+ <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
+ -->
+ </application>
+
+
+
+</faces-config>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/ajax4jsf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/commons-digester-1.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-debug.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ioc.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-mail.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-pdf.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-remoting.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jboss-seam-ui.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/jsf-facelets.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/lib/oscache-2.3.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/pages.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,53 @@
+<!DOCTYPE pages PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<pages no-conversation-view-id="/home.xhtml"
+ login-view-id="/login.xhtml">
+
+ <page view-id="*">
+ <navigation>
+ <rule if-outcome="home">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <exception class="org.jboss.seam.framework.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.EntityNotFoundException">
+ <redirect view-id="/error.xhtml">
+ <message>Not found</message>
+ </redirect>
+ </exception>
+
+ <exception class="javax.persistence.OptimisticLockException">
+ <end-conversation/>
+ <redirect view-id="/error.xhtml">
+ <message>Another user changed the same data, please try again</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <redirect>
+ <message>You don't have permission to do this</message>
+ </redirect>
+ </exception>
+
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ <message>Please log in first</message>
+ </redirect>
+ </exception>
+
+ <exception>
+ <redirect view-id="/error.xhtml">
+ <message>Unexpected error, please try again</message>
+ </redirect>
+ </exception>
+
+</pages>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/WEB-INF/web.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,89 @@
+<?xml version="1.0" ?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <!-- Ajax4jsf (must come first!) -->
+
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>ajax4jsf</filter-name>
+ <url-pattern>*.seam</url-pattern>
+ </filter-mapping>
+
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
+ </context-param>
+
+ <!-- Seam -->
+
+ <listener>
+ <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
+ </listener>
+
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <servlet>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Seam Resource Servlet</servlet-name>
+ <url-pattern>/seam/resource/*</url-pattern>
+ </servlet-mapping>
+
+ <!-- Facelets development mode (disable in production) -->
+
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <!-- JSF -->
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <security-constraint>
+ <display-name>Restrict raw XHTML Documents</display-name>
+ <web-resource-collection>
+ <web-resource-name>XHTML</web-resource-name>
+ <url-pattern>*.xhtml</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+
+</web-app>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/error.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,18 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/form.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,40 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>form</h1>
+ <p>Generated form page</p>
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <h:form id="form">
+ <div class="dialog">
+ <s:validateAll>
+ <div class="prop">
+ <span class="name">Value</span>
+ <span class="value">
+ <s:decorate>
+ <h:inputText id="value" required="true"
+ value="#{form.value}"/>
+ </s:decorate>
+ </span>
+ </div>
+ </s:validateAll>
+ </div>
+ <div class="actionButtons">
+ <h:commandButton id="form" value="form"
+ action="#{form.form}"/>
+ </div>
+ </h:form>
+
+</ui:define>
+
+</ui:composition>
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/home.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <p>This empty shell application includes:</p>
+ <ul>
+ <li>Ant build script</li>
+ <li>Deployment to JBoss AS</li>
+ <li>Integration testing using TestNG and JBoss Embeddable EJB3</li>
+ <li>EJB 3.0 Seam components</li>
+ <li>Templated Facelets views</li>
+ <li>HSQL (or MySQL) Datasource</li>
+ <li>Default CSS stylesheet</li>
+ <li>Internationalization support</li>
+ </ul>
+</ui:define>
+</ui:composition>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-next.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/cal-prev.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/img/dtpick.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/index.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/loginout.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<div class="loginout"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+ <h:outputText value="Welcome, #{identity.username}" rendered="#{identity.loggedIn}"/>
+  | 
+ <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
+ <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
+ |
+</div>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/menu.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<div class="menuButtons"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+ <s:link view="/home.xhtml" value="Home"/>
+</div>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/layout/template.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,39 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>lamp</title>
+ <link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+ <ui:include src="menu.xhtml"/>
+ <ui:include src="loginout.xhtml"/>
+
+ <div class="body">
+
+ <f:facet name="aroundInvalidField">
+ <s:span styleClass="errors"/>
+ </f:facet>
+ <f:facet name="afterInvalidField">
+ <s:span> <s:message/></s:span>
+ </f:facet>
+
+ <h1>lamp</h1>
+ <ui:insert name="body"/>
+
+ </div>
+
+ <div class="footer">
+ Powered by <a href="http://jboss.com/products/seam">Seam</a>.
+ Generated by seam-gen.
+ </div>
+
+</body>
+</html>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.page.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,11 @@
+<!DOCTYPE page PUBLIC
+ "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
+ "http://jboss.com/products/seam/pages-1.2.dtd">
+
+<page>
+ <navigation from-action="#{identity.login}">
+ <rule if="#{identity.loggedIn}">
+ <redirect view-id="/home.xhtml"/>
+ </rule>
+ </navigation>
+</page>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/login.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,40 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Login</h1>
+ <p>Please login using any username and password</p>
+
+ <h:messages styleClass="message"/>
+
+ <h:form id="login">
+
+ <div class="dialog">
+ <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value">
+ <h:outputLabel for="username">Username</h:outputLabel>
+ <h:inputText id="username"
+ value="#{identity.username}"/>
+ <h:outputLabel for="password">Password</h:outputLabel>
+ <h:inputSecret id="password"
+ value="#{identity.password}"/>
+ <h:outputLabel for="rememberMe">Remember me</h:outputLabel>
+ <h:selectBooleanCheckbox id="rememberMe"
+ value="#{identity.rememberMe}"/>
+ </h:panelGrid>
+ </div>
+
+ <div class="actionButtons">
+ <h:commandButton value="Login" action="#{identity.login}"/>
+ </div>
+
+ </h:form>
+
+</ui:define>
+</ui:composition>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/ping.xhtml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,27 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>ping</h1>
+ <p>Generated action page</p>
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <h:form id="ping">
+ <div>
+ <h:commandButton id="ping" value="ping!"
+ action="#{ping.ping}"/>
+ </div>
+ </h:form>
+
+</ui:define>
+
+</ui:composition>
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/WebContent/stylesheet/theme.css 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,359 @@
+a:active, a:link, a:visited {
+ color: #0D5798;
+}
+a:hover {
+ color: #8CAFCD;
+}
+
+.menuButtons {
+ background-color: #FF6600; /*#8CAFCD*/
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.menuButtons a {
+ font-weight: bold;
+ text-decoration: none;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+.menuButtons a:active, .menuButtons a:link, .menuButtons a:visited {
+ font-family: Arial,sans-serif;
+ background-color: #FF6600; /*#8CAFCD*/
+ color: white;
+ border-right: 1px solid white;
+}
+.menuButtons a:hover {
+ font-family: Arial,sans-serif;
+ background-color: white;
+ color: #FF6600; /*#8CAFCD*/
+}
+
+.loginout {
+ font-family: Arial,sans-serif;
+ text-align: right;
+ padding-right: 10px;
+ padding-top: 5px;
+ font-size: 0.85em;
+}
+.loginout a {
+ text-decoration: none;
+}
+
+.footer {
+ text-align: center;
+ font-size: 0.8em;
+}
+
+.actionButtons {
+ width: 100%;
+ text-align: center;
+ padding-top: 10px;
+}
+.tableControl {
+ width: 100%;
+ text-align: right;
+ padding-top: 15px;
+}
+.actionButtons a, .tableControl a {
+ font-family: Arial,sans-serif;
+ font-weight: bold;
+ color: #578BB8;
+ border: 1px solid #578BB8;
+ text-decoration: none;
+ padding: 5px;
+ margin: 5px;
+}
+.actionButtons a:hover, .tableControl a:hover {
+ color: white;
+ background-color: #578BB8;
+ margin: 5px;
+}
+
+h1 {
+ font-family: Arial,sans-serif;
+ color: #578BB8;
+ font-size: 1.6em;
+ margin-top: 0;
+}
+
+body {
+ margin: 0px;
+ font-family: Arial,sans-serif;
+ color: #616161;
+}
+
+.body {
+ padding: 30px;
+}
+
+
+table {
+ width: 100%;
+}
+th {
+ background-color: #578BB8;
+ color: white;
+ font-family: Arial,sans-serif;
+ padding: 5px;
+
+}
+td {
+ background-color: #F0F0F0;
+ text-align: center;
+}
+.narrow {
+ width: 20%;
+}
+.wide {
+ width: 80%;
+}
+.first td {
+ background-color: #F0F0F0;
+}
+.second td {
+ background-color: white;
+}
+
+.dialog
+{
+ padding: 15px;
+ background-color: #F0F0F0;
+ margin: 10px;
+}
+.dialog table
+{
+ width: auto;
+}
+
+.columnHeader:link, .columnHeader:visited, .columnHeader:active
+{
+ color: white;
+ text-decoration: none;
+}
+
+.columnHeader:hover
+{
+ color: #FF6600;
+}
+
+.message {
+ border: 1px solid #FFCC00;
+ padding: 5px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ background-color: #F0F0F0;
+}
+
+.prop {
+ padding: 5px;
+}
+.prop .name {
+ font-weight: bold;
+ text-align: left;
+ width: 115px;
+}
+.prop .value {
+ text-align: left;
+}
+.prop .errors {
+ color: red;
+ text-align: left;
+ font-size: 0.8em;
+}
+/*.value input {
+ width:190px;
+}*/
+.errors input {
+ border: 1px solid red;
+}
+.required {
+ color: red;
+}
+
+/* date picker style */
+div.seam-date
+{
+ width: 300px;
+ margin-top: 5px;
+ border: 1px solid #AAAAAA;
+ background-color: #FFFFFF;
+ color: #505050;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+}
+
+table.seam-date td {
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: 12px;
+ border: 0px;
+}
+
+.seam-date-monthNames
+{
+ width: 70px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-monthNameLink, a.seam-date-monthNameLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-monthNameLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+.seam-date-years
+{
+ height: 10em;
+ overflow: auto;
+ width: 60px;
+ border: 1px solid #dddddd;
+ border-right: 3px solid #444444;
+ border-bottom: 3px solid #444444;
+ background-color: #ffffff;
+ font-size: 12px;
+ cursor: pointer;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: normal;
+}
+
+a.seam-date-yearLink, a.seam-date-yearLink:visited
+{
+ text-align: center;
+ display: block;
+ color: #555555;
+}
+
+a.seam-date-yearLink:hover
+{
+ background-color: #CCCCCC;
+ color: red;
+}
+
+tr.seam-date-header
+{
+ padding: 2px 0px 2px 0px;
+}
+
+td.seam-date-header
+{
+ padding: 0px 8px 0px 8px;
+ text-align: center;
+ color: gray;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-weight: bold;
+ font-size: 12px;
+}
+
+td.seam-date-header-prevMonth
+{
+ background-image: url("../img/cal-prev.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-left: 2px;
+}
+
+td.seam-date-header-nextMonth
+{
+ background-image: url("../img/cal-next.png");
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 0px 2px 0px 2px;
+ width: 17px;
+ height: 16px;
+ margin-right: 2px;
+}
+
+tr.seam-date-headerDays
+{
+ color: white;
+ font-weight: normal;
+}
+
+tr.seam-date-headerDays > td
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: white;
+ text-align: center;
+ width: 26px;
+}
+
+tr.seam-date-footer
+{
+ background-color: white;
+ color: #505050;
+ font-weight: bold;
+}
+
+tr.seam-date-footer > td
+{
+ text-align: center;
+}
+
+td.seam-date-inMonth
+{
+ background-color: white;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-outMonth
+{
+ background-color: white;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-selected
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ color: black;
+ font-weight: normal;
+}
+
+td.seam-date-dayOff-inMonth
+{
+ background-color: #efefef;
+ color: black;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-dayOff-outMonth
+{
+ background-color: #efefef;
+ color: #999999;
+ font-weight: normal;
+ cursor: pointer;
+ border: 1px solid #ece9d8;
+}
+
+td.seam-date-hover
+{
+ background-color: #CCCCCC;
+ border: 1px solid #AAAAAA;
+ cursor: pointer;
+ color: red;
+}
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/hibernate-console.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,10 @@
+#File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
+hibernate.connection.password=
+hibernate.connection.username=sa
+hibernate.connection.driver_class=org.hsqldb.jdbcDriver
+hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.connection.url=jdbc:hsqldb:dfdf
+
+hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider
+hibernate.datasource=
+hibernate.transaction.manager_lookup_class=
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/import.sql
===================================================================
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/messages_en.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,89 @@
+up=\u2191
+down=\u2193
+left=\u2039
+right=\u203A
+
+validator.assertFalse=validation failed
+validator.assertTrue=validation failed
+validator.future=must be a future date
+validator.length=length must be between {min} and {max}
+validator.max=must be less than or equal to {value}
+validator.min=must be greater than or equal to {value}
+validator.notNull=may not be null
+validator.past=must be a past date
+validator.pattern=must match "{regex}"
+validator.range=must be between {min} and {max}
+validator.size=size must be between {min} and {max}
+validator.email=must be a well-formed email address
+
+org.jboss.seam.loginFailed=Login failed
+org.jboss.seam.loginSuccessful=Welcome, #0
+
+org.jboss.seam.TransactionFailed=Transaction failed
+org.jboss.seam.NoConversation=The conversation ended, timed out or was processing another request
+org.jboss.seam.IllegalNavigation=Illegal navigation
+org.jboss.seam.ProcessEnded=Process #0 already ended
+org.jboss.seam.ProcessNotFound=Process #0 not found
+org.jboss.seam.TaskEnded=Task #0 already ended
+org.jboss.seam.TaskNotFound=Task #0 not found
+org.jboss.seam.NotLoggedIn=Please log in first
+
+javax.faces.component.UIInput.CONVERSION=value could not be converted to the expected type
+javax.faces.component.UIInput.REQUIRED=value is required
+javax.faces.component.UIInput.UPDATE=an error occurred when processing your submitted information
+javax.faces.component.UISelectOne.INVALID=value is not valid
+javax.faces.component.UISelectMany.INVALID=value is not valid
+
+javax.faces.converter.BigDecimalConverter.DECIMAL=value must be a number
+javax.faces.converter.BigDecimalConverter.DECIMAL_detail=value must be a signed decimal number consisting of zero or more digits, optionally followed by a decimal point and fraction, eg. {1}
+javax.faces.converter.BigIntegerConverter.BIGINTEGER=value must be a number
+javax.faces.converter.BigIntegerConverter.BIGINTEGER_detail=value must be a signed integer number consisting of zero or more digits
+javax.faces.converter.BooleanConverter.BOOLEAN=value must be true or false
+javax.faces.converter.BooleanConverter.BOOLEAN_detail=value must be true or false (any value other than true will evaluate to false)
+javax.faces.converter.ByteConverter.BYTE=value must be a number between 0 and 255
+javax.faces.converter.ByteConverter.BYTE_detail=value must be a number between 0 and 255
+javax.faces.converter.CharacterConverter.CHARACTER=value must be a character
+javax.faces.converter.CharacterConverter.CHARACTER_detail=value must be a valid ASCII character
+javax.faces.converter.DateTimeConverter.DATE=value must be a date
+javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date, eg. {1}
+javax.faces.converter.DateTimeConverter.TIME=value must be a time
+javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time, eg. {1}
+javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and time
+javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a date and time, eg. {1}
+javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type attribute must be specified to convert the value
+javax.faces.converter.DoubleConverter.DOUBLE=value must be a number
+javax.faces.converter.DoubleConverter.DOUBLE_detail=value must be a number between 4.9E-324 and 1.7976931348623157E308
+javax.faces.converter.EnumConverter.ENUM=value must be convertible to an enum
+javax.faces.converter.EnumConverter.ENUM_detail=value must be convertible to an enum or from the enum that contains the constant {1}
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS=value must be convertible to an enum or from the enum, but no enum class provided
+javax.faces.converter.EnumConverter.ENUM_NO_CLASS_detail=value must be convertible to an enum or from the enum, but no enum class provided
+javax.faces.converter.FloatConverter.FLOAT=value must be a number
+javax.faces.converter.FloatConverter.FLOAT_detail=value must be a number between 1.4E-45 and 3.4028235E38
+javax.faces.converter.IntegerConverter.INTEGER=value must be a number
+javax.faces.converter.IntegerConverter.INTEGER_detail=value must be a number between -2147483648 and 2147483647
+javax.faces.converter.LongConverter.LONG=value must be a number
+javax.faces.converter.LongConverter.LONG_detail=must be a number between -9223372036854775808 and 9223372036854775807
+javax.faces.converter.NumberConverter.CURRENCY=value must be a currency amount
+javax.faces.converter.NumberConverter.CURRENCY_detail=value must be a currency amount, eg. {1}
+javax.faces.converter.NumberConverter.PERCENT=value must be a percentage amount
+javax.faces.converter.NumberConverter.PERCENT_detail=value must be a percentage amount, eg. {1}
+javax.faces.converter.NumberConverter.NUMBER=value must be a number
+javax.faces.converter.NumberConverter.NUMBER_detail=value must be a number
+javax.faces.converter.NumberConverter.PATTERN=value must be a number
+javax.faces.converter.NumberConverter.PATTERN_detail=value must be a number
+javax.faces.converter.ShortConverter.SHORT=value must be a number
+javax.faces.converter.ShortConverter.SHORT_detail=value must be a number between -32768 and 32767
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=value must be greater than or equal to {0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.DoubleRangeValidator.TYPE=value is not of the correct type
+javax.faces.validator.LengthValidator.MAXIMUM=value is must be shorter than or equal to {0} characters
+javax.faces.validator.LengthValidator.MINIMUM=value is must be longer than or equal to {0} characters
+javax.faces.validator.LongRangeValidator.MAXIMUM=value must be less than or equal to {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=value must be greater than or equal to {0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.validator.LongRangeValidator.TYPE=value is not of the correct type
+
+javax.faces.validator.NOT_IN_RANGE=value must be between {0} and {1}
+javax.faces.converter.STRING=value could not be converted to a string
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/seam.properties
===================================================================
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp/src/action/security.drl 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.project 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp-ear</name>
+ <comment></comment>
+ <projects>
+ <project>lamp-ejb</project>
+ <project>lamp</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.component 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp">
+<wb-resource deploy-path="/" source-path="/EarContent"/>
+<dependent-module deploy-path="/" handle="module:/resource/lamp-ejb/lamp-ejb">
+<dependency-type>uses</dependency-type>
+</dependent-module>
+<dependent-module deploy-path="/" handle="module:/resource/lamp/lamp">
+<dependency-type>uses</dependency-type>
+</dependent-module>
+</wb-module>
+</project-modules>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.ear"/>
+ <installed facet="jst.ear" version="5.0"/>
+</faceted-project>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/MANIFEST.MF 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/application.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application 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://java.sun.com/xml/ns/javaee/application_5.xsd"
+ version="5">
+
+ <display-name>t2</display-name>
+
+ <module>
+ <web>
+ <web-uri>lamp.war</web-uri>
+ <context-root>/lamp</context-root>
+ </web>
+ </module>
+
+ <module>
+ <ejb>lamp-ejb.jar</ejb>
+ </module>
+
+ <!-- Seam and EL -->
+ <module>
+ <java>jboss-seam.jar</java>
+ </module>
+
+ <!-- jBPM -->
+ <module>
+ <java>jbpm-3.1.4.jar</java>
+ </module>
+
+ <!-- Drools and dependencies -->
+ <module>
+ <java>drools-core-3.0.5.jar</java>
+ </module>
+ <module>
+ <java>drools-compiler-3.0.5.jar</java>
+ </module>
+ <module>
+ <java>janino-2.4.3.jar</java>
+ </module>
+ <module>
+ <java>antlr-2.7.6.jar</java>
+ </module>
+ <module>
+ <java>antlr-3.0ea8.jar</java>
+ </module>
+ <module>
+ <java>commons-jci-core-1.0-406301.jar</java>
+ </module>
+ <module>
+ <java>commons-jci-janino-2.4.3.jar</java>
+ </module>
+ <module>
+ <java>stringtemplate-2.3b6.jar</java>
+ </module>
+
+</application>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/META-INF/jboss-app.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<jboss-app>
+ <loader-repository>
+ seam.jboss.org:loader=lamp
+ </loader-repository>
+</jboss-app>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-2.7.6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/antlr-3.0ea8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-core-1.0-406301.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/commons-jci-janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-compiler-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/drools-core-3.0.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/janino-2.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jboss-seam.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/jbpm-3.1.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/security.drl 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+package Permissions;
+
+import java.security.Principal;
+
+import org.jboss.seam.security.PermissionCheck;
+import org.jboss.seam.security.Role;
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ear/EarContent/stringtemplate-2.3b6.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.classpath 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.generic.runtimeTarget/"/>
+ <classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0_12"/>
+ <classpathentry kind="con" path="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer/JBoss 4.2 runtime"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.project 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <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.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jdt.core.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+#Thu Jul 19 17:20:50 PDT 2007
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.jst.common.project.facet.core.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Aug 24 14:33:09 CEST 2007
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer\:\:JBoss\ 4.2\ runtime/owners=jst.ejb\:3.0
+eclipse.preferences.version=1
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.component 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+<wb-module deploy-name="lamp-ejb">
+<wb-resource deploy-path="/" source-path="/ejbModule"/>
+<wb-resource deploy-path="/" source-path="/src"/>
+<property name="java-output-path" value="build/classes"/>
+</wb-module>
+</project-modules>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.eclipse.wst.common.project.facet.core.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 4.2 runtime"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.ejb"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.ejb" version="3.0"/>
+</faceted-project>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/.settings/org.hibernate.eclipse.console.prefs 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,4 @@
+#Fri Feb 23 14:56:36 CET 2007
+default.configuration=lamp
+eclipse.preferences.version=1
+hibernate3.enabled=true
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/lamp-ejb.launch 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Hibernate Console launch configuration -->
+<launchConfiguration type="org.hibernate.eclipse.launch.ConsoleConfigurationLaunchConfigurationType">
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lamp"/>
+<stringAttribute key="org.hibernate.eclipse.launch.PROPERTY_FILE" value="/lamp/hibernate-console.properties"/>
+<stringAttribute key="org.hibernate.eclipse.launch.CONFIGURATION_FACTORY" value="JPA"/>
+</launchConfiguration>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/MANIFEST.MF 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Class-Path: antlr-2.7.6.jar
+ antlr-3.0ea8.jar
+ commons-collections-3.1.jar
+ commons-jci-core-1.0-406301.jar
+ commons-jci-janino-2.4.3.jar
+ drools-compiler-3.0.5.jar
+ drools-core-3.0.5.jar
+ janino-2.4.3.jar
+ jboss-seam.jar
+ jbpm-3.1.4.jar
+ lamp-ejb.jar
+ stringtemplate-2.3b6.jar
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/ejb-jar.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ejb-jar 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://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
+ version="3.0">
+
+ <interceptors>
+ <interceptor>
+ <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor>
+ </interceptors>
+
+ <assembly-descriptor>
+ <interceptor-binding>
+ <ejb-name>*</ejb-name>
+ <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>
+ </interceptor-binding>
+ </assembly-descriptor>
+
+</ejb-jar>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/META-INF/persistence.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Persistence deployment descriptor for dev profile -->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <persistence-unit name="lamp">
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <jta-data-source>java:/lampDatasource</jta-data-source>
+ <properties>
+ <property name="hibernate.hbm2ddl.auto" value="${hibernate.hbm2ddl.auto}"/>
+ <property name="hibernate.cache.use_query_cache" value="true"/>
+ <property name="hibernate.show_sql" value="true"/>
+ <property name="jboss.entity.manager.factory.jndi.name" value="java:/lampEntityManagerFactory"/>
+ </properties>
+ </persistence-unit>
+
+</persistence>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/import.sql
===================================================================
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Authenticator.java 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+package org.domain.lamp.session;
+
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.security.Identity;
+
+
+@Name("authenticator")
+public class Authenticator
+{
+ @Logger Log log;
+
+ @In Identity identity;
+
+ public boolean authenticate()
+ {
+ log.info("authenticating #0", identity.getUsername());
+ //write your authentication logic here,
+ //return true if the authentication was
+ //successful, false otherwise
+ identity.addRole("admin");
+ return true;
+ }
+}
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/FormBean.java 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,48 @@
+package org.domain.lamp.session;
+
+import javax.ejb.Remove;
+import javax.ejb.Stateful;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+import org.hibernate.validator.Length;
+
+@Stateful
+@Name("form")
+public class FormBean implements IForm {
+
+ @Logger private Log log;
+
+ @In
+ FacesMessages facesMessages;
+
+ private String value;
+
+ //seam-gen method
+ public String form()
+ {
+ //implement your business logic here
+ log.info("form.form() action called with: #{form.value}");
+ facesMessages.add("form #{form.value}");
+ return "success";
+ }
+
+ //add additional action methods
+
+ @Length(max=10)
+ public String getValue()
+ {
+ return value;
+ }
+
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ @Destroy @Remove
+ public void destroy() {}
+}
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/IForm.java 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,15 @@
+package org.domain.lamp.session;
+
+import javax.ejb.Local;
+
+@Local
+public interface IForm {
+
+ //seam-gen methods
+ public String form();
+ public String getValue();
+ public void setValue(String value);
+ public void destroy();
+
+ //add additional interface methods here
+}
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/org/domain/lamp/session/Ping.java 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,28 @@
+package org.domain.lamp.session;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+@Name("ping")
+public class Ping {
+
+ @Logger private Log log;
+
+ @In
+ FacesMessages facesMessages;
+
+ //seam-gen method
+ public String ping()
+ {
+ //implement your business logic here
+ log.info("ping.ping() action called");
+ facesMessages.add("ping");
+ return "success";
+ }
+
+ //add additional action methods
+
+}
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-ejb/src/seam.properties
===================================================================
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.classpath 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/test"/>
+ <classpathentry kind="src" path="embedded-ejb/conf"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/lamp"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/lamp-ejb"/>
+ <classpathentry kind="lib" path="lib/testng-4.5.1-jdk15.jar"/>
+ <classpathentry kind="lib" path="lib/myfaces-api-1.1.4.jar"/>
+ <classpathentry kind="lib" path="lib/myfaces-impl-1.1.4.jar"/>
+ <classpathentry kind="lib" path="lib/servlet-api.jar"/>
+ <classpathentry kind="lib" path="lib/hibernate-all.jar"/>
+ <classpathentry kind="lib" path="lib/jboss-ejb3-all.jar"/>
+ <classpathentry kind="lib" path="lib/thirdparty-all.jar"/>
+ <classpathentry kind="lib" path="lib/el-api.jar"/>
+ <classpathentry kind="lib" path="lib/el-ri.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/.project 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>lamp-test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.ide.eclipse.archives.core.archivesBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.jboss.ide.eclipse.archives.core.archivesNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/default.persistence.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,17 @@
+hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
+#hibernate.connection.release_mode=after_statement
+#hibernate.transaction.flush_before_completion=false
+#hibernate.transaction.auto_close_session=false
+#hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
+#hibernate.hbm2ddl.auto=create-drop
+#hibernate.hbm2ddl.auto=create
+hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
+# Clustered cache with TreeCache
+#hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
+#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
+#hibernate.dialect=org.hibernate.dialect.HSQLDialect
+hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+hibernate.bytecode.use_reflection_optimizer=false
+# I don't think this is honored, but EJB3Deployer uses it
+hibernate.bytecode.provider=javassist
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/ejb3-interceptors-aop.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE aop PUBLIC
+ "-//JBoss//DTD JBOSS AOP 1.0//EN"
+ "http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd">
+
+<aop>
+ <interceptor class="org.jboss.aspects.remoting.InvokeRemoteInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.security.SecurityClientInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.tx.ClientTxPropagationInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.remoting.IsLocalInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.aspects.remoting.ClusterChooserInterceptor" scope="PER_VM"/>
+
+ <interceptor class="org.jboss.aspects.tx.TxPropagationInterceptor" scope="PER_VM"/>
+
+ <stack name="ServiceClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="AsynchronousStatelessSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="AsynchronousStatefulSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="StatelessSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="StatefulSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="ClusteredStatelessSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <stack name="ClusteredStatefulSessionClientInterceptors">
+ <interceptor-ref name="org.jboss.ejb3.remoting.IsLocalInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.security.SecurityClientInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.ClientTxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.ClusterChooserInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.remoting.InvokeRemoteInterceptor"/>
+ </stack>
+
+ <interceptor class="org.jboss.ejb3.asynchronous.AsynchronousInterceptor" scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.ENCPropagationInterceptor" scope="PER_VM"/>
+ <interceptor name="Basic Authorization" factory="org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor name="JACC Authorization" factory="org.jboss.ejb3.security.JaccAuthorizationInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor factory="org.jboss.ejb3.security.AuthenticationInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor factory="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.stateless.StatelessInstanceInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.stateful.StatefulInstanceInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.service.ServiceSingletonInterceptor" scope="PER_VM"/>
+ <interceptor class="org.jboss.ejb3.cache.StatefulReplicationInterceptor" scope="PER_VM"/>
+ <interceptor factory="org.jboss.ejb3.stateful.StatefulRemoveFactory" scope="PER_CLASS_JOINPOINT"/>
+ <interceptor factory="org.jboss.ejb3.tx.TxInterceptorFactory" scope="PER_CLASS_JOINPOINT"/>
+ <interceptor factory="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory" scope="PER_CLASS_JOINPOINT"/>
+ <interceptor factory="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.AllowedOperationsInterceptor" scope="PER_VM"/>
+ <interceptor factory="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory" scope="PER_CLASS"/>
+ <interceptor class="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" scope="PER_VM"/>
+
+ <domain name="Stateless Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="JACC Stateless Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="JACC Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Base Stateful Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300)
+ </annotation>
+
+ <!-- Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300)
+ </annotation>
+ </domain>
+
+ <domain name="JACC Stateful Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="JACC Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.remoting.ReplicantsManagerInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.StatefulRemoveFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.StatefulInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * $instanceof{javax.ejb.SessionSynchronization}->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateful.SessionSynchronizationInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+
+ <bind pointcut="execution(public * @org.jboss.annotation.ejb.Clustered->*(..)) AND !execution(public * *->@javax.ejb.Remove(..))">
+ <interceptor-ref name="org.jboss.ejb3.cache.StatefulReplicationInterceptor"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.simple.SimpleStatefulCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.PersistenceManager) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.PersistenceManager (org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.simple.CacheConfig) AND !class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.simple.CacheConfig (maxSize=100000, idleTimeoutSeconds=300)
+ </annotation>
+
+ <!-- Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache) AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.tree.StatefulTreeCache.class)
+ </annotation>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.tree.CacheConfig) AND class((a)org.jboss.annotation.ejb.Clustered)">
+ @org.jboss.annotation.ejb.cache.tree.CacheConfig (name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000, idleTimeoutSeconds=300)
+ </annotation>
+ </domain>
+
+ <domain name="Embedded Stateful Bean" extends="Base Stateful Bean" inheritBindings="true">
+ <!-- NON Clustered cache configuration -->
+ <annotation expr="!class((a)org.jboss.annotation.ejb.cache.Cache)">
+ @org.jboss.annotation.ejb.cache.Cache (org.jboss.ejb3.cache.NoPassivationCache.class)
+ </annotation>
+
+ </domain>
+
+ <domain name="Message Driven Bean">
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Message Inflow Driven Bean">
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Consumer Bean">
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.stateless.StatelessInstanceInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND (has(* *->@org.jboss.annotation.ejb.CurrentMessage(..)) OR hasfield(* *->@org.jboss.annotation.ejb.CurrentMessage))">
+ <interceptor-ref name="org.jboss.ejb3.mdb.CurrentMessageInjectorInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ <annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
+ @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=10000)
+ </annotation>
+ </domain>
+
+ <domain name="Service Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ </bind>
+ <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ </domain>
+
+ <domain name="JACC Service Bean">
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.asynchronous.AsynchronousInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.ENCPropagationInterceptor"/>
+ </bind>
+ <bind pointcut="!execution(* *->create()) AND !execution(* *->start()) AND !execution(*->new(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.AuthenticationInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * @org.jboss.annotation.security.SecurityDomain->*(..))">
+ <interceptor-ref name="Basic Authorization"/>
+ </bind>
+ <bind pointcut="execution(public * @javax.annotation.security.RunAs->*(..))">
+ <interceptor-ref name="org.jboss.ejb3.security.RunAsSecurityInterceptorFactory"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..))">
+ <interceptor-ref name="org.jboss.aspects.tx.TxPropagationInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.tx.TxInterceptorFactory"/>
+ <interceptor-ref name="org.jboss.ejb3.AllowedOperationsInterceptor"/>
+ <interceptor-ref name="org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor"/>
+ </bind>
+ <bind pointcut="execution(public * *->*(..)) AND !execution(* *->create()) AND !execution(* *->start())">
+ <interceptor-ref name="org.jboss.ejb3.interceptor.EJB3InterceptorsFactory"/>
+ </bind>
+ </domain>
+
+
+</aop>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/embedded-jboss-beans.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+ <bean name="Naming" class="org.jnp.server.SingletonNamingServer"/>
+
+ <bean name="InitialContextProperties" class="java.util.Hashtable">
+ <constructor>
+ <parameter class="java.util.Map">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry>
+ <key>java.naming.factory.initial</key>
+ <value>org.jnp.interfaces.LocalOnlyContextFactory</value>
+ </entry>
+ <entry>
+ <key>java.naming.factory.url.pkgs</key>
+ <value>org.jboss.naming:org.jnp.interfaces</value>
+ </entry>
+ </map>
+ </parameter>
+ </constructor>
+ </bean>
+
+ <bean name="java:comp/Initializer" class="org.jboss.ejb3.embedded.JavaCompInitializer">
+ <property name="jndiProperties"><inject bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="XidFactory" class="org.jboss.tm.XidFactoryImpl"/>
+
+ <bean name="XidFactoryMBean" class="org.jboss.ejb3.embedded.XidFactoryMBean">
+ <constructor>
+ <parameter class="org.jboss.tm.XidFactoryBase">
+ <inject bean="XidFactory"/>
+ </parameter>
+ </constructor>
+ </bean>
+
+ <bean name="TransactionManagerInitializer" class="org.jboss.tm.TransactionManagerInitializer">
+ <property name="xidFactory"><inject bean="XidFactory"/></property>
+ <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="UserTransaction" class="org.jboss.ejb3.embedded.UserTransactionImpl">
+ <demand>TransactionManagerInitializer</demand>
+ </bean>
+
+ <bean name="UserTransactionBinding" class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject bean="InitialContextProperties"/></property>
+ <property name="target"><inject bean="UserTransaction"/></property>
+ <property name="bindTo">UserTransaction</property>
+ <property name="serializable">false</property>
+ </bean>
+
+
+ <bean name="TransactionManager" class="java.lang.Object">
+ <constructor factoryMethod="getTransactionManager">
+ <factory bean="TransactionManagerInitializer"/>
+ </constructor>
+ </bean>
+ <bean name="CachedConnectionManager" class="org.jboss.resource.connectionmanager.CachedConnectionManagerReference">
+ <property name="transactionManager"><inject bean="TransactionManager"/></property>
+ </bean>
+
+ <!--
+ <bean class="org.jboss.jdbc.HypersonicDatabase"
+ name="jboss:service=Hypersonic,database=localDB">
+ <property name="database">localDB</property>
+ <property name="inProcessMode">true</property>
+ <property name="dbDataDir">.</property>
+ </bean>
+ -->
+
+ <bean name="DefaultDSBootstrap" class="org.jboss.resource.adapter.jdbc.local.LocalTxDataSource">
+ <property name="driverClass">org.hsqldb.jdbcDriver</property>
+ <property name="connectionURL">jdbc:hsqldb:.</property>
+ <!-- <property name="connectionURL">jdbc:hsqldb:./hypersonic/localDB</property> -->
+ <property name="userName">sa</property>
+ <property name="jndiName">java:/DefaultDS</property>
+ <property name="minSize">0</property>
+ <property name="maxSize">10</property>
+ <property name="blockingTimeout">1000</property>
+ <property name="idleTimeout">100000</property>
+ <property name="transactionManager"><inject bean="TransactionManager"/></property>
+ <property name="cachedConnectionManager"><inject bean="CachedConnectionManager"/></property>
+ <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property>
+ </bean>
+
+ <bean name="DefaultDS" class="java.lang.Object">
+ <constructor factoryMethod="getDatasource">
+ <factory bean="DefaultDSBootstrap"/>
+ </constructor>
+ </bean>
+
+
+</deployment>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jboss-jms-beans.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+ <bean name="jboss.mq:service=JMSProviderLoader,name=JMSProvider" class="org.jboss.jms.jndi.JNDIProviderAdapter">
+ <property name="factoryRef">java:/XAConnectionFactory</property>
+ <property name="queueFactoryRef">java:/XAConnectionFactory</property>
+ <property name="topicFactoryRef">java:/XAConnectionFactory</property>
+ <property name="properties" class="java.util.Properties">
+ <map keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry>
+ <key>java.naming.factory.initial</key>
+ <value>org.jnp.interfaces.LocalOnlyContextFactory</value>
+ </entry>
+ <entry>
+ <key>java.naming.factory.url.pkgs</key>
+ <value>org.jboss.naming:org.jnp.interfaces</value>
+ </entry>
+ </map>
+ </property>
+ </bean>
+
+ <bean name="b1" class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject bean="InitialContextProperties"/></property>
+ <property name="target"><inject bean="jboss.mq:service=JMSProviderLoader,name=JMSProvider"/></property>
+ <property name="bindTo">java:/DefaultJMSProvider</property>
+ <property name="serializable">true</property>
+ </bean>
+
+ <bean name="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool" class="org.jboss.jms.asf.StdServerSessionPoolFactory">
+ <property name="name">StdJMSPool</property>
+ <property name="xidFactory"><inject bean="XidFactoryMBean"/></property>
+ <property name="transactionManager"><inject bean="TransactionManager"/></property>
+ </bean>
+
+ <bean name="b2" class="org.jboss.ejb3.embedded.JndiBinder">
+ <property name="jndiProperties"><inject bean="InitialContextProperties"/></property>
+ <property name="target"><inject bean="jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool"/></property>
+ <property name="bindTo">java:/StdJMSPool</property>
+ <property name="serializable">false</property>
+ </bean>
+
+
+ <bean name="jboss.mq:service=PersistenceManager" class="org.jboss.mq.kernel.JDBC2PersistenceManager">
+ <property name="transactionManager">
+ <inject bean="TransactionManager"/>
+ </property>
+ <property name="datasource">
+ <inject bean="DefaultDS"/>
+ </property>
+ <property name="sqlProperties">
+
+ BLOB_TYPE=OBJECT_BLOB
+ INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?)
+ INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)
+ SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS
+ SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES
+ SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=?
+ SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+ MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=?
+ UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=?
+ UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=?
+ UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=?
+ DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS)
+ DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ?
+ DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=?
+ DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=?
+ CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \
+ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \
+ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
+ CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID)
+ CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION)
+ CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) )
+ CREATE_TABLES_ON_STARTUP = TRUE
+ DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T'
+
+ </property>
+ </bean>
+
+ <bean name="jboss.mq:service=MessageCache" class="org.jboss.mq.kernel.MessageCache">
+ <property name="persistenceManager"><inject bean="jboss.mq:service=PersistenceManager"/></property>
+ <property name="highMemoryMark">50</property>
+ <property name="maxMemoryMark">60</property>
+ </bean>
+
+ <bean name="jboss.mq:service=StateManager" class="org.jboss.mq.kernel.JDBCStateManager">
+ <property name="transactionManager">
+ <inject bean="TransactionManager"/>
+ </property>
+ <property name="datasource">
+ <inject bean="DefaultDS"/>
+ </property>
+ <property name="sqlProperties">
+
+ CREATE_TABLES_ON_STARTUP = TRUE
+ CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, \
+ CLIENTID VARCHAR(128), PRIMARY KEY(USERID))
+ CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT NULL, USERID VARCHAR(32) NOT NULL, \
+ PRIMARY KEY(USERID, ROLEID))
+ CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID VARCHAR(128) NOT NULL, \
+ SUBNAME VARCHAR(128) NOT NULL, TOPIC VARCHAR(255) NOT NULL, \
+ SELECTOR VARCHAR(255), PRIMARY KEY(CLIENTID, SUBNAME))
+ GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+ LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+ GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE TOPIC=?
+ INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?)
+ UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, SELECTOR=? WHERE CLIENTID=? AND SUBNAME=?
+ REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=?
+ GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS WHERE CLIENTID=?
+ GET_USER = SELECT PASSWD, CLIENTID FROM JMS_USERS WHERE USERID=?
+ POPULATE.TABLES.01 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('guest', 'guest')
+ POPULATE.TABLES.02 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('j2ee', 'j2ee')
+ POPULATE.TABLES.03 = INSERT INTO JMS_USERS (USERID, PASSWD, CLIENTID) VALUES ('john', 'needle', 'DurableSubscriberExample')
+ POPULATE.TABLES.04 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('nobody', 'nobody')
+ POPULATE.TABLES.05 = INSERT INTO JMS_USERS (USERID, PASSWD) VALUES ('dynsub', 'dynsub')
+ POPULATE.TABLES.06 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('guest','guest')
+ POPULATE.TABLES.07 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('j2ee','guest')
+ POPULATE.TABLES.08 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('john','guest')
+ POPULATE.TABLES.09 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('subscriber','john')
+ POPULATE.TABLES.10 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','john')
+ POPULATE.TABLES.11 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('publisher','dynsub')
+ POPULATE.TABLES.12 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','john')
+ POPULATE.TABLES.13 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('durpublisher','dynsub')
+ POPULATE.TABLES.14 = INSERT INTO JMS_ROLES (ROLEID, USERID) VALUES ('noacc','nobody')
+
+ </property>
+ </bean>
+
+
+ <bean name="BasicQueueParameters" class="org.jboss.mq.server.BasicQueueParameters"/>
+
+ <bean name="jboss.mq:service=ThreadPool" class="org.jboss.util.threadpool.BasicThreadPool">
+ <property name="name">JMSThread</property>
+ <property name="threadGroupName">JBossMQ Server Threads</property>
+ <!-- The max number of threads in the pool -->
+ <property name="maximumPoolSize">10</property>
+ <!-- The max number of tasks before the queue is full -->
+ <property name="maximumQueueSize">1000</property>
+ <!-- The behavior of the pool when a task is added and the queue is full.
+ abort - a RuntimeException is thrown
+ run - the calling thread executes the task
+ wait - the calling thread blocks until the queue has room
+ discard - the task is silently discarded without being run
+ discardOldest - check to see if a task is about to complete and enque
+ the new task if possible, else run the task in the calling thread
+ -->
+ <property name="blockingModeString">run</property>
+ </bean>
+
+ <bean name="jboss.mq:service=DestinationManager" class="org.jboss.mq.server.JMSDestinationManager">
+ <constructor>
+ <parameter class="org.jboss.mq.server.BasicQueueParameters">
+ <inject bean="BasicQueueParameters"/>
+ </parameter>
+ </constructor>
+ <property name="persistenceManager"><inject bean="jboss.mq:service=PersistenceManager"/></property>
+ <property name="messageCache"><inject bean="jboss.mq:service=MessageCache"/></property>
+ <property name="stateManager"><inject bean="jboss.mq:service=StateManager"/></property>
+ <property name="threadPool"><inject bean="jboss.mq:service=ThreadPool"/></property>
+ <property name="threadGroup"><inject bean="jboss.mq:service=ThreadPool" property="threadGroup"/></property>
+ <start method="startServer"/>
+ <stop method="stopServer"/>
+ </bean>
+
+ <bean name="jboss.mq.destination:service=Queue,name=DLQ" class="org.jboss.mq.kernel.Queue">
+ <property name="destinationManagerPojo"><inject bean="jboss.mq:service=DestinationManager"/></property>
+ <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property>
+ <property name="destinationName">DLQ</property>
+ </bean>
+
+ <bean name="jboss.mq:service=Invoker" class="org.jboss.mq.server.JMSServerInvoker">
+ <property name="next"><inject bean="jboss.mq:service=DestinationManager"/></property>
+ </bean>
+
+ <bean name="jboss.mq:service=InvocationLayer,type=JVM" class="org.jboss.mq.kernel.JVMIL">
+ <property name="jmsInvoker"><inject bean="jboss.mq:service=Invoker"/></property>
+ <property name="connectionFactoryJNDIRef">java:/ConnectionFactory</property>
+ <property name="xAConnectionFactoryJNDIRef">java:/XAConnectionFactory</property>
+ <property name="pingPeriod">0</property>
+ <property name="initialContextProperties"><inject bean="InitialContextProperties"/></property>
+ </bean>
+
+</deployment>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/jndi.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory
+java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/log4j.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.9 2006/07/04 01:14:18 gavin Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!--
+ <category name="org.hibernate">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.seam">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.ejb3">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!--
+ <category name="org.jboss.kernel">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <root>
+ <priority value="INFO"/>
+ <appender-ref ref="CONSOLE"/>
+ </root>
+
+</log4j:configuration>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/login-config.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,63 @@
+<?xml version='1.0'?>
+
+<!DOCTYPE policy PUBLIC
+ "-//JBoss//DTD JBOSS Security Config 3.0//EN"
+ "http://www.jboss.org/j2ee/dtd/security_config.dtd">
+
+<!-- The XML based JAAS login configuration read by the
+org.jboss.security.auth.login.XMLLoginConfig mbean. Add
+an application-policy element for each security domain.
+
+The outline of the application-policy is:
+<application-policy name="security-domain-name">
+ <authentication>
+ <login-module code="login.module1.class.name" flag="control_flag">
+ <module-option name = "option1-name">option1-value</module-option>
+ <module-option name = "option2-name">option2-value</module-option>
+ ...
+ </login-module>
+
+ <login-module code="login.module2.class.name" flag="control_flag">
+ ...
+ </login-module>
+ ...
+ </authentication>
+</application-policy>
+
+$Revision: 1.1 $
+-->
+
+<policy>
+ <!-- Used by clients within the application server VM such as
+ mbeans and servlets that access EJBs.
+ -->
+ <application-policy name="client-login">
+ <authentication>
+ <login-module code="org.jboss.security.ClientLoginModule"
+ flag="required">
+ <!-- Any existing security context will be restored on logout -->
+ <module-option name="restore-login-identity">true</module-option>
+ </login-module>
+ </authentication>
+ </application-policy>
+
+ <application-policy name="other">
+ <!-- A simple server login module, which can be used when the number
+ of users is relatively small. It uses two properties files:
+ users.properties, which holds users (key) and their password (value).
+ roles.properties, which holds users (key) and a comma-separated list of
+ their roles (value).
+ The unauthenticatedIdentity property defines the name of the principal
+ that will be used when a null username and password are presented as is
+ the case for an unuathenticated web client or MDB. If you want to
+ allow such users to be authenticated add the property, e.g.,
+ unauthenticatedIdentity="nobody"
+ -->
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required"/>
+ </authentication>
+ </application-policy>
+
+</policy>
+
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/embedded-ejb/conf/security-beans.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
+ xmlns="urn:jboss:bean-deployer">
+
+ <bean class="org.jboss.ejb3.embedded.JaasSecurityManagerService"
+ name="jboss.security:service=JaasSecurityManager">
+ <property name="initialContextProperties">
+ <inject bean="InitialContextProperties"/>
+ </property>
+ </bean>
+</deployment>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-api.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/el-ri.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/hibernate-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/jboss-ejb3-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-api-1.1.4.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/myfaces-impl-1.1.4.jar
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/servlet-api.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/testng-4.5.1-jdk15.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/lib/thirdparty-all.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/PingTest.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd" >
+
+<suite name="Ping Tests" verbose="2" parallel="false">
+ <test name="Ping Test">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest"/>
+ </classes>
+ </test>
+</suite>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/src/test/org/domain/lamp/session/PingTest.java 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,26 @@
+package org.domain.lamp.session;
+
+import org.testng.annotations.Test;
+import org.jboss.seam.mock.SeamTest;
+
+public class PingTest extends SeamTest {
+
+ @Test
+ public void test() throws Exception {
+ new FacesRequest() {
+ @Override
+ protected void updateModelValues() throws Exception {
+ //set form input to model attributes
+ }
+ @Override
+ protected void invokeApplication() {
+ //call action methods here
+ invokeMethod("#{ping.ping}");
+ }
+ @Override
+ protected void renderResponse() {
+ //check model attributes if needed
+ }
+ }.run();
+ }
+}
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,79 @@
+<html>
+<head>
+<title>TestNG: Ping Test</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+
+<style type="text/css">
+.log { display: none;}
+.stack-trace { display: none;}
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+ current = e.style.display;
+ if (current == 'block') {
+ e.style.display = 'none';
+ }
+ else {
+ e.style.display = 'block';
+ }
+}
+
+function toggleBox(szDivId)
+{
+ if (document.getElementById) {
+ flip(document.getElementById(szDivId));
+ }
+ else if (document.all) {
+ // this is the way old msie versions work
+ var style2 = document.all[szDivId].style;
+ style2.display = style2.display? "":"block";
+ }
+
+}
+
+function toggleAllBoxes() {
+ if (document.getElementsByTagName) {
+ d = document.getElementsByTagName('div');
+ for (i = 0; i < d.length; i++) {
+ if (d[i].className == 'log') {
+ flip(d[i]);
+ }
+ }
+ }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>Ping Test</h2><table border='1' align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
+</tr><tr>
+<td>Started on:</td><td>Mon Aug 27 11:54:02 CEST 2007</td>
+</tr>
+<tr><td>Total time:</td><td>2 seconds (2893 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='3' align='center'><b>PASSED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td width="30%"><b>Exception</b></td>
+</tr>
+<tr>
+<td title='org.domain.lamp.session.PingTest.test()'>test</td>
+<td>0</td>
+<td></td>
+</tr>
+</table><p>
+</body>
+</html>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.properties
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.properties (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.properties 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+[SuiteResult Ping Test]
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/Ping Test.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite name="Ping Test" failures="0" tests="1" time="2.893" errors="0">
+ <properties/>
+ <testcase name="test" time="0.304" classname="org.domain.lamp.session.PingTest"/>
+</testsuite>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/classes.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/classes.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/classes.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,44 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>org.domain.lamp.session.PingTest</td>
+<td> </td><td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td> </td>
+<td>test</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td> </td>
+<td>init</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td> </td>
+<td>begin</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td> </td>
+<td>end</td>
+<td> </td></tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td> </td>
+<td>cleanup</td>
+<td> </td></tr>
+</table>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/groups.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/groups.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/groups.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<h2>Groups used for this test run</h2>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/index.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/index.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/index.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,6 @@
+<html><head><title>Results for Ping Tests</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/main.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/main.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/main.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+<html><head><title>Results for Ping Tests</title></head>
+<body>Select a result on the left-hand pane.</body></html>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-alphabetical.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-alphabetical.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-alphabetical.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Ping Tests</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>0</td> <td> </td><td> </td><td> </td><td> </td><td title=">>org.jboss.seam.mock.SeamTest.begin()">>>begin</td>
+<td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>308</td> <td> </td><td> </td><td title="<<org.jboss.seam.mock.SeamTest.cleanup()"><<cleanup</td>
+<td> </td><td> </td><td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>305</td> <td> </td><td> </td><td> </td><td> </td><td title="<<org.jboss.seam.mock.SeamTest.end()"><<end</td>
+<td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:02</td> <td>-2572</td> <td> </td><td> </td><td title=">>org.jboss.seam.mock.SeamTest.init()">>>init</td>
+<td> </td><td> </td><td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="6c68c3"> <td>07/08/27 11:54:05</td> <td>4</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.domain.lamp.session.PingTest.test()">test</td>
+ <td>main@9182681</td> <td></td> </tr>
+</table>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-not-run.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-not-run.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods-not-run.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/methods.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,14 @@
+<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Ping Tests</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:02</td> <td>0</td> <td> </td><td> </td><td title=">>org.jboss.seam.mock.SeamTest.init()">>>init</td>
+<td> </td><td> </td><td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>2572</td> <td> </td><td> </td><td> </td><td> </td><td title=">>org.jboss.seam.mock.SeamTest.begin()">>>begin</td>
+<td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="6c68c3"> <td>07/08/27 11:54:05</td> <td>2576</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="org.domain.lamp.session.PingTest.test()">test</td>
+ <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>2877</td> <td> </td><td> </td><td> </td><td> </td><td title="<<org.jboss.seam.mock.SeamTest.end()"><<end</td>
+<td> </td> <td>main@9182681</td> <td></td> </tr>
+<tr bgcolor="e59188"> <td>07/08/27 11:54:05</td> <td>2880</td> <td> </td><td> </td><td title="<<org.jboss.seam.mock.SeamTest.cleanup()"><<cleanup</td>
+<td> </td><td> </td><td> </td> <td>main@9182681</td> <td></td> </tr>
+</table>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/reporter-output.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/reporter-output.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/reporter-output.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<h2>Reporter output</h2><table></table>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng-failed.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng-failed.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng-failed.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,16 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite thread-count="5" verbose="2" name="Failed suite [Ping Tests]" junit="false" parallel="false" annotations="JDK">
+ <test name="Ping Test(failed)" junit="false" parallel="false" annotations="JDK">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest">
+ <methods>
+ <include name="begin"/>
+ <include name="cleanup"/>
+ <include name="init"/>
+ <include name="end"/>
+ <include name="test"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+</suite>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng.xml.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng.xml.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/testng.xml.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1 @@
+<html><head><title>testng.xml for Ping Tests</title></head><body><tt><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"><br/><suite thread-count="5" verbose="2" name="Ping Tests" junit="false" parallel="false" annotations="JDK"><br/> <test name="Ping Test" junit="false"><br/> <classes><br/> <class name="org.domain.lamp.session.PingTest"/><br/> </classes><br/> </test><br/></suite><br/></tt></body></html>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/toc.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/toc.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/Ping Tests/toc.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Ping Tests</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Ping Tests</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1 class</a></td>
+<td>1 method:<br/>
+ <a target='mainFrame' href='methods.html'>chronological</a><br/>
+ <a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+ <a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>0 group</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-passed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>Ping Test (1/0/0)</td><td valign='top' align='right'>
+ <a href='Ping Test.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
\ No newline at end of file
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/emailable-report.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>TestNG: Unit Test</title>
+<style type="text/css">
+table caption,table.info_table,table.param,table.passed,table.failed {margin-bottom:10px;border:1px solid #000099;border-collapse:collapse;empty-cells:show;}
+table.info_table td,table.info_table th,table.param td,table.param th,table.passed td,table.passed th,table.failed td,table.failed th {
+border:1px solid #000099;padding:.25em .5em .25em .5em
+}
+table.param th {vertical-align:bottom}
+td.numi,th.numi,td.numi_attn {
+text-align:right
+}
+tr.total td {font-weight:bold}
+table caption {
+text-align:center;font-weight:bold;
+}
+table.passed tr.stripe td,table tr.passedodd td {background-color: #00AA00;}
+table.passed td,table tr.passedeven td {background-color: #33FF33;}
+table.passed tr.stripe td,table tr.skippedodd td {background-color: #cccccc;}
+table.passed td,table tr.skippedodd td {background-color: #dddddd;}
+table.failed tr.stripe td,table tr.failedodd td,table.param td.numi_attn {background-color: #FF3333;}
+table.failed td,table tr.failedeven td,table.param tr.stripe td.numi_attn {background-color: #DD0000;}
+tr.stripe td,tr.stripe th {background-color: #E6EBF9;}
+p.totop {font-size:85%;text-align:center;border-bottom:2px black solid}
+div.shootout {padding:2em;border:3px #4854A8 solid}
+</style>
+</head>
+<body>
+<table cellspacing=0 cellpadding=0 class="param">
+<tr><th>Test</th><th class="numi">Methods<br/>Passed</th><th class="numi">Scenarios<br/>Passed</th><th class="numi"># skipped</th><th class="numi"># failed</th><th class="numi">Total<br/>Time</th><th class="numi">Included<br/>Groups</th><th class="numi">Excluded<br/>Groups</th></tr>
+<tr><td style="text-align:left;padding-right:2em">Ping Test</td><td class="numi">1</td><td class="numi">1</td><td class="numi">0</td><td class="numi">0</td><td class="numi">2.9 seconds</td><td class="numi"></td><td class="numi"></td></tr>
+</table>
+<a id="summary"></a>
+<table cellspacing=0 cellpadding=0 class="passed">
+<tr><th>Class</th><th>Method</th><th># of<br/>Scenarios</th><th>Time<br/>(Msecs)</th></tr>
+<tr><th colspan="4">Ping Test — passed</th></tr>
+<tr class="passedodd"><td rowspan="1">org.domain.lamp.session.PingTest<td><a href="#m1">test</a></td><td class="numi">1</td><td class="numi">304</td></tr>
+</table>
+<h1>Ping Test</h1>
+<a id="m1"></a><h2>org.domain.lamp.session.PingTest:test</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+</body></html>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/index.html 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet" type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>1</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr>
+<tr align='center' class='invocation-passed'><td><a href='Ping Tests/index.html'>Ping Tests</a></td>
+<td>1</td><td>0</td><td>0</td><td><a href='Ping Tests/testng.xml.html'>Link</a></td></tr></table></body></html>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-failed.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,16 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite thread-count="5" verbose="2" name="Failed suite [Ping Tests]" junit="false" parallel="false" annotations="JDK">
+ <test name="Ping Test(failed)" junit="false" parallel="false" annotations="JDK">
+ <classes>
+ <class name="org.domain.lamp.session.PingTest">
+ <methods>
+ <include name="begin"/>
+ <include name="cleanup"/>
+ <include name="init"/>
+ <include name="end"/>
+ <include name="test"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+</suite>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng-results.xml 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,22 @@
+<testng-results>
+ <reporter-output>
+ </reporter-output>
+ <suite name="Ping Tests">
+ <groups>
+ </groups>
+ <test name="Ping Test">
+ <class name="org.domain.lamp.session.PingTest">
+ <test-method status="PASS" signature="test()" name="test" duration-ms="304" started-at="2007-08-27T11:54:05Z" finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="cleanup()" name="cleanup" is-config="true" duration-ms="2" started-at="2007-08-27T11:54:05Z" finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="begin()" name="begin" is-config="true" duration-ms="0" started-at="2007-08-27T11:54:05Z" finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="2573" started-at="2007-08-27T11:54:02Z" finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ <test-method status="PASS" signature="end()" name="end" is-config="true" duration-ms="2" started-at="2007-08-27T11:54:05Z" finished-at="2007-08-27T11:54:05Z">
+ </test-method>
+ </class>
+ </test>
+ </suite>
+</testng-results>
Added: trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css
===================================================================
--- trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css (rev 0)
+++ trunk/documentation/development/usecases/en/modules/projectexample/lamp-test/test-output/testng.css 2007-08-27 13:28:22 UTC (rev 3359)
@@ -0,0 +1,9 @@
+.invocation-failed, .test-failed { background-color: #DD0000; }
+.invocation-percent, .test-percent { background-color: #006600; }
+.invocation-passed, .test-passed { background-color: #00AA00; }
+.invocation-skipped, .test-skipped { background-color: #CCCC00; }
+
+.main-page {
+ font-size: x-large;
+}
+
16 years, 8 months
JBoss Tools SVN: r3358 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/editors/forms.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-27 09:16:26 -0400 (Mon, 27 Aug 2007)
New Revision: 3358
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/editors/forms/TLDFormLayoutData.java
Log:
JBIDE-852
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/editors/forms/TLDFormLayoutData.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/editors/forms/TLDFormLayoutData.java 2007-08-27 13:08:47 UTC (rev 3357)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/editors/forms/TLDFormLayoutData.java 2007-08-27 13:16:26 UTC (rev 3358)
@@ -10,15 +10,19 @@
******************************************************************************/
package org.jboss.tools.jst.web.ui.editors.forms;
+import java.util.ArrayList;
import java.util.Collections;
import java.util.Map;
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.meta.impl.XModelMetaDataImpl;
import org.jboss.tools.common.model.ui.attribute.editor.TableStructuredEditor;
import org.jboss.tools.common.model.ui.forms.ArrayToMap;
import org.jboss.tools.common.model.ui.forms.FormActionData;
import org.jboss.tools.common.model.ui.forms.FormAttributeData;
import org.jboss.tools.common.model.ui.forms.FormData;
+import org.jboss.tools.common.model.ui.forms.FormLayoutDataUtil;
import org.jboss.tools.common.model.ui.forms.IFormActionData;
import org.jboss.tools.common.model.ui.forms.IFormData;
import org.jboss.tools.common.model.ui.forms.IFormLayoutData;
@@ -48,13 +52,26 @@
private final static String STBFE_CLASS_NAME = "org.jboss.tools.common.model.ui.attribute.editor.JavaHyperlinkLineFieldEditor";
- static IFormData[] createFileTagDefinitions(String tagEntity) {
+ private static FormAttributeData[] getFileTagAttributes(String entityName) {
+ ArrayList<FormAttributeData> list = new ArrayList<FormAttributeData>();
+ XModelEntity entity = XModelMetaDataImpl.getInstance().getEntity(entityName);
+ if(entity != null) {
+ String[] attributes = {"tlibversion", "jspversion", "shortname", "uri", "display-name", "small-icon", "large-icon"};
+ for (int i = 0; i < attributes.length; i++) {
+ if(entity.getAttribute(attributes[i]) != null) list.add(new FormAttributeData(attributes[i]));
+ }
+ list.add(new FormAttributeData("description", InfoLayoutDataFactory.getInstance()));
+ }
+
+ return list.toArray(new FormAttributeData[0]);
+ }
+ static IFormData[] createFileTagDefinitions(String entity, String tagEntity) {
return new IFormData[] {
// Tiles Config Description Form
new FormData(
"Tag Library Description",
"", // "Description, description, description",
- new FormAttributeData[]{new FormAttributeData("tlibversion"), new FormAttributeData("jspversion"), new FormAttributeData("shortname"), new FormAttributeData("uri"), new FormAttributeData("display-name"), new FormAttributeData("small-icon"), new FormAttributeData("large-icon"), new FormAttributeData("description", InfoLayoutDataFactory.getInstance())}
+ getFileTagAttributes(entity)
),
// Tiles PutLists Form
new FormData(
@@ -194,13 +211,13 @@
}
),
new FormData(
- "FileTLD_1_2", createFileTagDefinitions("TLDTag12")
+ "FileTLD_1_2", createFileTagDefinitions("FileTLD_1_2", "TLDTag12")
),
new FormData(
- "FileTLD_2_0", createFileTagDefinitions("TLDTag20")
+ "FileTLD_2_0", createFileTagDefinitions("FileTLD_2_0", "TLDTag20")
),
new FormData(
- "FileTLD_2_1", createFileTagDefinitions("TLDTag21")
+ "FileTLD_2_1", createFileTagDefinitions("FileTLD_2_1", "TLDTag21")
),
new FormData(
"TLDTag12", TAG_DEFINITIONS
16 years, 8 months
JBoss Tools SVN: r3357 - in trunk: jst/plugins/org.jboss.tools.jst.web.ui and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-08-27 09:08:47 -0400 (Mon, 27 Aug 2007)
New Revision: 3357
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/RedHat4WebPerspectiveFactory.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamPerspectiveFactory.java
Log:
JBIDE-645 removing redhat from palette
+ make seam perspective include project explorer and servers view.
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java 2007-08-27 13:07:28 UTC (rev 3356)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java 2007-08-27 13:08:47 UTC (rev 3357)
@@ -37,7 +37,7 @@
import org.jboss.tools.jst.web.tld.URIConstants;
public class PaletteViewPart extends ViewPart implements IPartListener {
- public static final String VIEW_ID = "com.redhat.palette.swt";
+ public static final String VIEW_ID = "org.jboss.tools.common.model.ui.views.palette.PaletteView";
public static final String PALETTE_GEF_ID = "org.jboss.tools.vpe.ui.palette";
private IPaletteAdapter paletteAdapter = null;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2007-08-27 13:07:28 UTC (rev 3356)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2007-08-27 13:08:47 UTC (rev 3357)
@@ -1,12 +1,12 @@
providerName=Red Hat, Inc.
-actionSets.modelActions.label=Red Hat Developer Studio Run Actions
-actionSets.modelActions.description=Description For Red Hat Developer Studio Model Actions
+actionSets.modelActions.label=JBoss Tools Run Actions
+actionSets.modelActions.description=Description For JBoss Tools Model Actions
actionSets.projectActions.saveModel.label=Save Model
-actionSets.tomcatActions.selectServer.label=Red Hat Server Actions
-actionSets.tomcatActions.label=Red Hat Tomcat Actions
-actionSets.tomcatActions.description=Description for Red Hat Tomcat Actions
+actionSets.tomcatActions.selectServer.label=JBoss Tools Server Actions
+actionSets.tomcatActions.label=JBoss Tools Tomcat Actions
+actionSets.tomcatActions.description=Description for JBoss Tools Tomcat Actions
actionSets.tomcatActions.changeWebXmlTimeStamp.label=Change web.xml Time Stamp
actionSets.tomcatActions.restartTomcatServer.label=Restart Tomcat Server
actionSets.tomcatActions.stopTomcatServer.label=Stop Tomcat Server
@@ -24,11 +24,11 @@
actionSets.serverActions.startServer.label=Start Server
actionSets.serverActions.runApplicationFromSelectedElement.label=Run Application from Selected Element
-editors.tld12.name=Red Hat TLD Editor
-editors.web.name=Red Hat Web Descriptor Editor
+editors.tld12.name=JBoss Tools TLD Editor
+editors.web.name=JBoss Tools Web Descriptor Editor
textProblemName=XML Problem
-strutsProblemName=Verifification Problem
+strutsProblemName=Verification Problem
constraintProblemName=Constraint Problem
actionSets.redhatMenu.label=Red Hat
@@ -41,7 +41,7 @@
actionSets.license.label=&Red Hat Developer Studio License
perspective.name=Red Hat Developer Studio
-paletteViewPart.name=Red Hat Palette
+paletteViewPart.name=JBoss Tools Palette
actionSets_online_help.label=Red Hat Developer Studio Help
actionSets_online_help.description=
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2007-08-27 13:07:28 UTC (rev 3356)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2007-08-27 13:08:47 UTC (rev 3357)
@@ -169,7 +169,7 @@
<extension id="org.jboss.tools.jst.web.ui.views" name="Red Hat Developer Studio" point="org.eclipse.ui.views">
<category id="web.views.category.id" name="Red Hat Developer Studio">
</category>
- <view category="web.views.category.id" class="org.jboss.tools.common.model.ui.views.palette.PaletteViewPart" icon="images/xstudio/views/palette.gif" id="com.redhat.palette.swt" name="%paletteViewPart.name">
+ <view category="web.views.category.id" class="org.jboss.tools.common.model.ui.views.palette.PaletteViewPart" icon="images/xstudio/views/palette.gif" id="org.jboss.tools.common.model.ui.views.palette.PaletteView" name="%paletteViewPart.name">
</view>
<view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="Web Projects">
</view>
@@ -310,7 +310,7 @@
</viewShortcut-->
<newWizardShortcut id="org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard">
</newWizardShortcut>
- <viewShortcut id="com.redhat.palette.swt">
+ <viewShortcut id="org.jboss.tools.common.model.ui.views.palette.PaletteView">
</viewShortcut>
<viewShortcut id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView">
</viewShortcut>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/RedHat4WebPerspectiveFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/RedHat4WebPerspectiveFactory.java 2007-08-27 13:07:28 UTC (rev 3356)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/RedHat4WebPerspectiveFactory.java 2007-08-27 13:08:47 UTC (rev 3357)
@@ -47,7 +47,7 @@
IFolderLayout rightTop = layout.createFolder("right", IPageLayout.RIGHT, (float)0.8, editorArea); //$NON-NLS-1$
- rightTop.addView("com.redhat.palette.swt");
+ rightTop.addView("org.jboss.tools.common.model.ui.views.palette.PaletteView");
IFolderLayout rightBottom = layout.createFolder("rightBottom", IPageLayout.BOTTOM, (float)0.64, "right"); //$NON-NLS-1$
rightBottom.addView(IPageLayout.ID_OUTLINE);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamPerspectiveFactory.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamPerspectiveFactory.java 2007-08-27 13:07:28 UTC (rev 3356)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamPerspectiveFactory.java 2007-08-27 13:08:47 UTC (rev 3357)
@@ -4,17 +4,22 @@
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.navigator.resources.ProjectExplorer;
public class SeamPerspectiveFactory implements IPerspectiveFactory {
+ private static final String SEAM_COMPONENTS_NAVIGATOR = "org.jboss.tools.seam.ui.views.SeamComponentsNavigator";
+ private static String JBOSS_SERVERS_VIEW = "org.jboss.ide.eclipse.as.ui.views.JBossServerView";
+ private static String WTP_SERVERS_VIEW = "org.eclipse.wst.server.ui.ServersView";
+
public static final String PERSPECTIVE_ID = "org.jboss.tools.seam.ui.SeamPerspective";
-
+
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
IFolderLayout leftTop = layout.createFolder("leftTop", IPageLayout.LEFT, (float)0.2, editorArea); //$NON-NLS-1$
leftTop.addView(JavaUI.ID_PACKAGES);
- leftTop.addView("org.jboss.tools.seam.ui.views.SeamComponentsNavigator");
+ leftTop.addView(ProjectExplorer.VIEW_ID);
leftTop.addPlaceholder(IPageLayout.ID_RES_NAV);
@@ -26,10 +31,12 @@
IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, (float)0.78, editorArea); //$NON-NLS-1$
bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
bottom.addView(IPageLayout.ID_TASK_LIST);
-
-
+ bottom.addView(SEAM_COMPONENTS_NAVIGATOR);
+ bottom.addView(JBOSS_SERVERS_VIEW);
+ bottom.addView(WTP_SERVERS_VIEW);
+
IFolderLayout rightTop = layout.createFolder("right", IPageLayout.RIGHT, (float)0.8, editorArea); //$NON-NLS-1$
- rightTop.addView("com.redhat.palette.swt");
+ rightTop.addView("org.jboss.tools.common.model.ui.views.palette.PaletteView");
IFolderLayout rightBottom = layout.createFolder("rightBottom", IPageLayout.BOTTOM, (float)0.64, "right"); //$NON-NLS-1$
rightBottom.addView(IPageLayout.ID_OUTLINE);
@@ -38,7 +45,7 @@
layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
// views - seam
- layout.addShowViewShortcut("org.jboss.tools.seam.ui.views.SeamComponentsNavigator");
+ layout.addShowViewShortcut(SEAM_COMPONENTS_NAVIGATOR);
// views - java
layout.addShowViewShortcut(JavaUI.ID_PACKAGES);
16 years, 8 months
JBoss Tools SVN: r3356 - trunk/documentation/GettingStartedGuide/docs/userguide/en/images.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-08-27 09:07:28 -0400 (Mon, 27 Aug 2007)
New Revision: 3356
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamJsfEditor.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj04.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj044.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj045.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile2.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile7.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startedapplication.png
Log:
http://jira.jboss.com/jira/browse/RHDS-145 screenshots resizing
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamJsfEditor.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj04.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj044.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj045.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile2.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile7.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startedapplication.png
===================================================================
(Binary files differ)
16 years, 8 months