[seam-commits] Seam SVN: r12625 - in sandbox: modules and 9 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Apr 23 22:27:23 EDT 2010
Author: dan.j.allen
Date: 2010-04-23 22:27:22 -0400 (Fri, 23 Apr 2010)
New Revision: 12625
Added:
sandbox/examples/
sandbox/modules/
sandbox/modules/envconfig/
sandbox/modules/envconfig/branches/
sandbox/modules/envconfig/tags/
sandbox/modules/envconfig/trunk/
sandbox/modules/envconfig/trunk/pom.xml
sandbox/modules/envconfig/trunk/readme.txt
sandbox/modules/envconfig/trunk/src/
sandbox/modules/scheduling/
sandbox/modules/scheduling/branches/
sandbox/modules/scheduling/tags/
sandbox/modules/scheduling/trunk/
sandbox/modules/scheduling/trunk/pom.xml
sandbox/modules/scheduling/trunk/src/
sandbox/modules/xwidgets/
sandbox/modules/xwidgets/branches/
sandbox/modules/xwidgets/tags/
sandbox/modules/xwidgets/trunk/
sandbox/modules/xwidgets/trunk/examples/
sandbox/modules/xwidgets/trunk/prototype/
sandbox/modules/xwidgets/trunk/src/
Removed:
sandbox/trunk/modules/envconfig/pom.xml
sandbox/trunk/modules/envconfig/readme.txt
sandbox/trunk/modules/envconfig/src/
sandbox/trunk/modules/scheduling/pom.xml
sandbox/trunk/modules/scheduling/src/
sandbox/trunk/modules/xwidgets/examples/
sandbox/trunk/modules/xwidgets/prototype/
sandbox/trunk/modules/xwidgets/src/
Log:
restructuring
Copied: sandbox/modules/envconfig/trunk/pom.xml (from rev 12624, sandbox/trunk/modules/envconfig/pom.xml)
===================================================================
--- sandbox/modules/envconfig/trunk/pom.xml (rev 0)
+++ sandbox/modules/envconfig/trunk/pom.xml 2010-04-24 02:27:22 UTC (rev 12625)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>seam-parent</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>seam-envconfig</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ <packaging>ejb</packaging>
+
+ <name>Seam Environment Configuration</name>
+ <description>A set of CDI extensions that deal with configuration of the Java EE environment (e.g., binding to JNDI)</description>
+ <inceptionYear>2009</inceptionYear>
+
+ <developers>
+ <developer>
+ <name>Matt Corey</name>
+ <url>http://smokeandice.blogspot.com</url>
+ <timezone>GMT-05:00</timezone>
+ <roles>
+ <role>Module driver</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>dan.j.allen</id>
+ <name>Dan Allen</name>
+ <email>dan.j.allen at gmail.com</email>
+ <url>http://in.relation.to/Bloggers/Dan</url>
+ <organization>JBoss, by Red Hat</organization>
+ <timezone>GMT-05:00</timezone>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ </developers>
+
+ <properties>
+ <seam.version>3.0.0-SNAPSHOT</seam.version>
+ </properties>
+
+ <!-- Snapshots repo to get parent -->
+ <repositories>
+ <repository>
+ <id>oss.sonatype.org/jboss-snapshots</id>
+ <name>JBoss (Nexus) Snapshots Repository</name>
+ <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <scope>provided</scope>
+ <version>3.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <configuration>
+ <ejbVersion>3.0</ejbVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/envconfig/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/envconfig/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/Seam/modules/envconfig/trunk</url>
+ </scm>
+
+</project>
Copied: sandbox/modules/envconfig/trunk/readme.txt (from rev 12624, sandbox/trunk/modules/envconfig/readme.txt)
===================================================================
--- sandbox/modules/envconfig/trunk/readme.txt (rev 0)
+++ sandbox/modules/envconfig/trunk/readme.txt 2010-04-24 02:27:22 UTC (rev 12625)
@@ -0,0 +1,40 @@
+Seam Environment Configuration
+==============================
+
+Extension type: Portable Extension (PE)
+
+Example:
+
+The following bean will cause the string "Hello World!" to
+be bound to the JNDI name java:global/msg when the archive
+that contains this bean is deployed.
+
+import org.jboss.seam.envconfig.Bind;
+import org.jboss.seam.envconfig.EnvironmentBinding;
+
+public @EnvironmentBinding class EnvironmentVars
+{
+ @Bind("msg") String msg = "Hello World!";
+}
+
+You can then inject the value into a managed bean as follows:
+
+ at Resource(lookup = "java:global/msg") String msg;
+
+You can also bind custom objects:
+
+// somewhere in the same deployment must be a producer for @Admin User
+ at Inject @Admin @Bind("adminUser") User user;
+
+Then inject the resource:
+
+ at Resource(lookup = "java:global/adminUser") User user;
+
+TODO:
+
+- Add tests (learning Arquillian first)
+- Support unbinding, either with @Unbind, or by simply handling a 'null' value for unbind
+- Support binding producer methods
+- Make 'value' optional on @Bind, using the property name for the binding if not provided (may need to qualify it with class name, possibly even module name?)
+- Implement JndiBinder as a Servlet for non-EJB containers?
+- Create web and/or REST interface to display/reprocess bindings?
Copied: sandbox/modules/envconfig/trunk/src (from rev 12624, sandbox/trunk/modules/envconfig/src)
Copied: sandbox/modules/scheduling/trunk/pom.xml (from rev 12624, sandbox/trunk/modules/scheduling/pom.xml)
===================================================================
--- sandbox/modules/scheduling/trunk/pom.xml (rev 0)
+++ sandbox/modules/scheduling/trunk/pom.xml 2010-04-24 02:27:22 UTC (rev 12625)
@@ -0,0 +1,131 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>scheduling</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>Seam Scheduling Module</name>
+ <url>http://maven.apache.org</url>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jalopy-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ </plugin>
+ <plugin>
+ <groupId>com.google.code.maven-license-plugin</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <version>1.4.0</version>
+ <configuration>
+ <basedir>${basedir}</basedir>
+ <header>${basedir}/src/etc/header.txt</header>
+ <quiet>false</quiet>
+ <failIfMissing>true</failIfMissing>
+ <aggregate>false</aggregate>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>format</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>jsr250-api</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <!-- TODO: remove this dependency. -->
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>opensymphony</groupId>
+ <artifactId>quartz</artifactId>
+ <version>1.6.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ <version>5.10</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-se</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.ejb3</groupId>
+ <artifactId>jboss-ejb3-api</artifactId>
+ <version>3.1.0-Alpha1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core-test</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- required by weld-core-test ... -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-harness</groupId>
+ <artifactId>jboss-test-harness</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- ... required by weld-core-test -->
+ </dependencies>
+</project>
+
Copied: sandbox/modules/scheduling/trunk/src (from rev 12624, sandbox/trunk/modules/scheduling/src)
Copied: sandbox/modules/xwidgets/trunk/examples (from rev 12624, sandbox/trunk/modules/xwidgets/examples)
Copied: sandbox/modules/xwidgets/trunk/prototype (from rev 12624, sandbox/trunk/modules/xwidgets/prototype)
Copied: sandbox/modules/xwidgets/trunk/src (from rev 12624, sandbox/trunk/modules/xwidgets/src)
Deleted: sandbox/trunk/modules/envconfig/pom.xml
===================================================================
--- sandbox/trunk/modules/envconfig/pom.xml 2010-04-23 23:46:04 UTC (rev 12624)
+++ sandbox/trunk/modules/envconfig/pom.xml 2010-04-24 02:27:22 UTC (rev 12625)
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-parent</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-envconfig</artifactId>
- <version>3.0.0-SNAPSHOT</version>
- <packaging>ejb</packaging>
-
- <name>Seam Environment Configuration</name>
- <description>A set of CDI extensions that deal with configuration of the Java EE environment (e.g., binding to JNDI)</description>
- <inceptionYear>2009</inceptionYear>
-
- <developers>
- <developer>
- <name>Matt Corey</name>
- <url>http://smokeandice.blogspot.com</url>
- <timezone>GMT-05:00</timezone>
- <roles>
- <role>Module driver</role>
- </roles>
- </developer>
- <developer>
- <id>dan.j.allen</id>
- <name>Dan Allen</name>
- <email>dan.j.allen at gmail.com</email>
- <url>http://in.relation.to/Bloggers/Dan</url>
- <organization>JBoss, by Red Hat</organization>
- <timezone>GMT-05:00</timezone>
- <roles>
- <role>Developer</role>
- </roles>
- </developer>
- </developers>
-
- <properties>
- <seam.version>3.0.0-SNAPSHOT</seam.version>
- </properties>
-
- <!-- Snapshots repo to get parent -->
- <repositories>
- <repository>
- <id>oss.sonatype.org/jboss-snapshots</id>
- <name>JBoss (Nexus) Snapshots Repository</name>
- <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
-
- <dependencies>
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <scope>provided</scope>
- <version>3.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ejb-plugin</artifactId>
- <configuration>
- <ejbVersion>3.0</ejbVersion>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/envconfig/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/envconfig/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/Seam/modules/envconfig/trunk</url>
- </scm>
-
-</project>
Deleted: sandbox/trunk/modules/envconfig/readme.txt
===================================================================
--- sandbox/trunk/modules/envconfig/readme.txt 2010-04-23 23:46:04 UTC (rev 12624)
+++ sandbox/trunk/modules/envconfig/readme.txt 2010-04-24 02:27:22 UTC (rev 12625)
@@ -1,40 +0,0 @@
-Seam Environment Configuration
-==============================
-
-Extension type: Portable Extension (PE)
-
-Example:
-
-The following bean will cause the string "Hello World!" to
-be bound to the JNDI name java:global/msg when the archive
-that contains this bean is deployed.
-
-import org.jboss.seam.envconfig.Bind;
-import org.jboss.seam.envconfig.EnvironmentBinding;
-
-public @EnvironmentBinding class EnvironmentVars
-{
- @Bind("msg") String msg = "Hello World!";
-}
-
-You can then inject the value into a managed bean as follows:
-
- at Resource(lookup = "java:global/msg") String msg;
-
-You can also bind custom objects:
-
-// somewhere in the same deployment must be a producer for @Admin User
- at Inject @Admin @Bind("adminUser") User user;
-
-Then inject the resource:
-
- at Resource(lookup = "java:global/adminUser") User user;
-
-TODO:
-
-- Add tests (learning Arquillian first)
-- Support unbinding, either with @Unbind, or by simply handling a 'null' value for unbind
-- Support binding producer methods
-- Make 'value' optional on @Bind, using the property name for the binding if not provided (may need to qualify it with class name, possibly even module name?)
-- Implement JndiBinder as a Servlet for non-EJB containers?
-- Create web and/or REST interface to display/reprocess bindings?
Deleted: sandbox/trunk/modules/scheduling/pom.xml
===================================================================
--- sandbox/trunk/modules/scheduling/pom.xml 2010-04-23 23:46:04 UTC (rev 12624)
+++ sandbox/trunk/modules/scheduling/pom.xml 2010-04-24 02:27:22 UTC (rev 12625)
@@ -1,131 +0,0 @@
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.seam</groupId>
- <artifactId>scheduling</artifactId>
- <packaging>jar</packaging>
- <version>1.0.0-SNAPSHOT</version>
- <name>Seam Scheduling Module</name>
- <url>http://maven.apache.org</url>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jalopy-maven-plugin</artifactId>
- <version>1.0-alpha-1</version>
- </plugin>
- <plugin>
- <groupId>com.google.code.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <version>1.4.0</version>
- <configuration>
- <basedir>${basedir}</basedir>
- <header>${basedir}/src/etc/header.txt</header>
- <quiet>false</quiet>
- <failIfMissing>true</failIfMissing>
- <aggregate>false</aggregate>
- <encoding>UTF-8</encoding>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>format</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- <version>1.0</version>
- </dependency>
- <!-- TODO: remove this dependency. -->
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>opensymphony</groupId>
- <artifactId>quartz</artifactId>
- <version>1.6.1</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.4</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- <version>5.10</version>
- <exclusions>
- <exclusion>
- <artifactId>junit</artifactId>
- <groupId>junit</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-se</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- <version>3.1.0-Alpha1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core-test</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <!-- required by weld-core-test ... -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-harness</groupId>
- <artifactId>jboss-test-harness</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <!-- ... required by weld-core-test -->
- </dependencies>
-</project>
-
More information about the seam-commits
mailing list