[forge/core] ed42ef: Almost modular plugin hot-loading
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: ed42efcef722e35f9d7f2b008e1f57f7e5c135b5
https://github.com/forge/core/commit/ed42efcef722e35f9d7f2b008e1f57f7e5c1...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-23 (Fri, 23 Sep 2011)
Changed paths:
M dev-plugins/src/main/java/org/jboss/forge/dev/ForgeAPIFacet.java
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/BaseJavaEEFacet.java
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
A shell/src/main/java/org/jboss/forge/shell/CompositePluginClassLoader.java
A shell/src/main/java/org/jboss/forge/shell/InstalledPluginRegistry.java
M shell/src/main/java/org/jboss/forge/shell/command/PluginRegistryImpl.java
A shell/src/test/java/org/jboss/forge/shell/InstalledPluginRegistryTest.java
Log Message:
-----------
Almost modular plugin hot-loading
Commit: 602962da7081f526be221c29ebd6fbead2cd583f
https://github.com/forge/core/commit/602962da7081f526be221c29ebd6fbead2cd...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-23 (Fri, 23 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
Log Message:
-----------
Don't fail, just ignore
Commit: cf5a80ca11e2d70b7205f213aafdd61ea590c8b6
https://github.com/forge/core/commit/cf5a80ca11e2d70b7205f213aafdd61ea590...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-23 (Fri, 23 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
A shell/src/main/java/org/jboss/forge/shell/CompositeClassLoader.java
R shell/src/main/java/org/jboss/forge/shell/CompositePluginClassLoader.java
Log Message:
-----------
Almost there
Commit: 8b743a3bf71c39581feb5edcc5d012a155c4460b
https://github.com/forge/core/commit/8b743a3bf71c39581feb5edcc5d012a155c4...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-23 (Fri, 23 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
Log Message:
-----------
cleanup
Commit: 27b8b13392cada10addb0fc5e4d036b6f0ce1004
https://github.com/forge/core/commit/27b8b13392cada10addb0fc5e4d036b6f0ce...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/validation/PropertyConstraintPlugin.java
Log Message:
-----------
add-constraint becomes constraint
Commit: 18d78d53fc04553ba0e836e4339324782a03a3dd
https://github.com/forge/core/commit/18d78d53fc04553ba0e836e4339324782a03...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M dist/src/main/assembly/assembly.xml
M dist/src/main/assembly/modules/org/jboss/forge/main/module.xml
A dist/src/main/assembly/modules/org/jboss/modules/main/module.xml
Log Message:
-----------
Jboss Modules Boots w/Plugins
Commit: e68649fcc318d83bcf750890138d8e3527cc1839
https://github.com/forge/core/commit/e68649fcc318d83bcf750890138d8e3527cc...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/ShellConfig.java
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
M shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ForgePluginTest.java
Log Message:
-----------
Seam Forge -> Forge
Commit: 677e6a3f5e5cd1cb150f207c482f1408bc465657
https://github.com/forge/core/commit/677e6a3f5e5cd1cb150f207c482f1408bc46...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell-api/src/main/java/org/jboss/forge/shell/util/Streams.java
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
M shell/src/main/java/org/jboss/forge/shell/CompositeClassLoader.java
M shell/src/main/java/org/jboss/forge/shell/InstalledPluginRegistry.java
M shell/src/main/java/org/jboss/forge/shell/ShellConfig.java
M shell/src/main/java/org/jboss/forge/shell/ShellImpl.java
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
M shell/src/main/java/org/jboss/forge/shell/util/PluginUtil.java
M shell/src/test/java/org/jboss/forge/shell/InstalledPluginRegistryTest.java
Log Message:
-----------
New plugin loading registry
Commit: 61bcea2d7b8c1d8980a4e4e4150bbd70077b883b
https://github.com/forge/core/commit/61bcea2d7b8c1d8980a4e4e4150bbd70077b...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
Log Message:
-----------
plugin hot-loading is BACK
Commit: 33f5e9632fb78eca6e17ec5c4dae454d1a55624b
https://github.com/forge/core/commit/33f5e9632fb78eca6e17ec5c4dae454d1a55...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Log Message:
-----------
Merge branches 'modules' and 'master'
Compare: https://github.com/forge/core/compare/c80e433...33f5e96
12 years, 7 months
[forge/core] 27b8b1: add-constraint becomes constraint
by noreply@github.com
Branch: refs/heads/modules
Home: https://github.com/forge/core
Commit: 27b8b13392cada10addb0fc5e4d036b6f0ce1004
https://github.com/forge/core/commit/27b8b13392cada10addb0fc5e4d036b6f0ce...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/validation/PropertyConstraintPlugin.java
Log Message:
-----------
add-constraint becomes constraint
Commit: 18d78d53fc04553ba0e836e4339324782a03a3dd
https://github.com/forge/core/commit/18d78d53fc04553ba0e836e4339324782a03...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M dist/src/main/assembly/assembly.xml
M dist/src/main/assembly/modules/org/jboss/forge/main/module.xml
A dist/src/main/assembly/modules/org/jboss/modules/main/module.xml
Log Message:
-----------
Jboss Modules Boots w/Plugins
Commit: e68649fcc318d83bcf750890138d8e3527cc1839
https://github.com/forge/core/commit/e68649fcc318d83bcf750890138d8e3527cc...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/ShellConfig.java
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
M shell/src/test/java/org/jboss/forge/shell/test/plugins/builtin/ForgePluginTest.java
Log Message:
-----------
Seam Forge -> Forge
Commit: 677e6a3f5e5cd1cb150f207c482f1408bc465657
https://github.com/forge/core/commit/677e6a3f5e5cd1cb150f207c482f1408bc46...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell-api/src/main/java/org/jboss/forge/shell/util/Streams.java
M shell/src/main/java/org/jboss/forge/shell/Bootstrap.java
M shell/src/main/java/org/jboss/forge/shell/CompositeClassLoader.java
M shell/src/main/java/org/jboss/forge/shell/InstalledPluginRegistry.java
M shell/src/main/java/org/jboss/forge/shell/ShellConfig.java
M shell/src/main/java/org/jboss/forge/shell/ShellImpl.java
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
M shell/src/main/java/org/jboss/forge/shell/util/PluginUtil.java
M shell/src/test/java/org/jboss/forge/shell/InstalledPluginRegistryTest.java
Log Message:
-----------
New plugin loading registry
Commit: 61bcea2d7b8c1d8980a4e4e4150bbd70077b883b
https://github.com/forge/core/commit/61bcea2d7b8c1d8980a4e4e4150bbd70077b...
Author: Lincoln Baxter, III <lincolnbaxter(a)gmail.com>
Date: 2011-09-26 (Mon, 26 Sep 2011)
Changed paths:
M shell/src/main/java/org/jboss/forge/shell/plugins/builtin/ForgePlugin.java
Log Message:
-----------
plugin hot-loading is BACK
Compare: https://github.com/forge/core/compare/8b743a3...61bcea2
12 years, 7 months
Seam SVN: r14206 - in branches/community/Seam_2_3: distribution/src/main/assembly and 2 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:55:24 -0400 (Mon, 26 Sep 2011)
New Revision: 14206
Modified:
branches/community/Seam_2_3/distribution/pom.xml
branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml
branches/community/Seam_2_3/jboss-seam-gen/pom.xml
branches/community/Seam_2_3/jboss-seam-parent/pom.xml
Log:
fixed distribution assembly
Modified: branches/community/Seam_2_3/distribution/pom.xml
===================================================================
--- branches/community/Seam_2_3/distribution/pom.xml 2011-09-26 15:54:58 UTC (rev 14205)
+++ branches/community/Seam_2_3/distribution/pom.xml 2011-09-26 15:55:24 UTC (rev 14206)
@@ -39,7 +39,6 @@
<configuration>
<includeGroupIds>org.jboss.seam</includeGroupIds>
<excludeGroupIds>org.jboss.seam.embedded</excludeGroupIds>
-
</configuration>
<executions>
<execution>
@@ -250,6 +249,11 @@
<version>${project.version}</version>
<classifier>sources</classifier>
</dependency>
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-gen</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
Modified: branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml 2011-09-26 15:54:58 UTC (rev 14205)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/assembly.xml 2011-09-26 15:55:24 UTC (rev 14206)
@@ -5,21 +5,51 @@
<id>distribution</id>
<formats>
- <format>zip</format>
- <format>tar.gz</format>
+ <!-- <format>dir</format> -->
+ <format>zip</format>
+ <format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<!-- Add distribution files -->
<fileSets>
+
+ <!-- All module sources defined in dependencies except examples -->
<fileSet>
+ <directory>target/dependency</directory>
+ <outputDirectory>src</outputDirectory>
+ <excludes>
+ <exclude>examples/</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- Examples only -->
+ <fileSet>
+ <directory>target/dependency</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>examples/</include>
+ </includes>
+ <excludes>
+ <exclude>examples/wiki/</exclude>
+ </excludes>
+ </fileSet>
+
+ <!-- Distribution related files -->
+ <fileSet>
<directory>src/main/assembly</directory>
<outputDirectory>.</outputDirectory>
<includes>
- <include>*.txt</include>
- <include>build.properties</include>
- <include>eclipse-code-formatter-profile.xml</include>
+ <include>readme.txt</include>
+ <include>lgpl.txt</include>
+ <include>copyright.txt</include>
+ <include>changelog.txt</include>
+ <include>seam21migration.txt</include>
+ <include>seam2migration.txt</include>
+ <include>clustering-howto.txt</include>
+ <include>seam</include>
+ <include>seam.bat</include>
</includes>
</fileSet>
<fileSet>
@@ -31,6 +61,20 @@
<include>readme.txt</include>
</includes>
</fileSet>
+ <fileSet>
+ <directory>../jboss-seam/target</directory>
+ <outputDirectory>lib/interop</outputDirectory>
+ <includes>
+ <include>jboss-seam-wls-compatible.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>../jboss-seam/target</directory>
+ <outputDirectory>lib/interop/src</outputDirectory>
+ <includes>
+ <include>jboss-seam-wls-compatible-sources.jar</include>
+ </includes>
+ </fileSet>
</fileSets>
<dependencySets>
@@ -41,13 +85,18 @@
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>org.jboss.seam:jboss-embedded-bootstrap</include>
- <include>org.jboss.seam:examples:zip:project</include>
</includes>
<unpack>true</unpack>
- <unpackOptions>
-
+ <unpackOptions>
<excludes>
<exclude>META-INF/**</exclude>
+ <exclude>.settings/</exclude>
+ <exclude>**/.settings/</exclude>
+ <exclude>.gitignore</exclude>
+ <exclude>.project</exclude>
+ <exclude>.classpath</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.classpath</exclude>
</excludes>
</unpackOptions>
<outputFileNameMapping>${artifact.artifactId}</outputFileNameMapping>
@@ -55,13 +104,15 @@
<!-- Add necessary sources jars -->
<dependencySet>
- <outputDirectory>lib/sources</outputDirectory>
+ <outputDirectory>lib/src</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
+ <useStrictFiltering>true</useStrictFiltering>
<includes>
- <include>*:sources</include>
+ <include>org.jboss.seam:*:*:sources</include>
</includes>
<excludes>
<exclude>org.jboss.seam:jboss-seam-gen:*:sources</exclude>
+ <exclude>org.jboss.seam:jboss-seam-jul:*:sources</exclude>
</excludes>
<outputFileNameMapping>${artifact.artifactId}-sources.${artifact.extension}</outputFileNameMapping>
</dependencySet>
@@ -72,35 +123,58 @@
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
<useTransitiveFiltering>true</useTransitiveFiltering>
+ <useStrictFiltering>true</useStrictFiltering>
<scope>compile</scope>
+ <includes>
+ <include>*:*:jar</include>
+ </includes>
<excludes>
+ <exclude>org.jboss.seam:jboss-embedded-bootstrap:jar</exclude>
+ <exclude>org.jboss.seam.embedded:jboss-embedded-all:jar</exclude>
+ <exclude>org.jboss.seam.embedded:hibernate-all:jar</exclude>
+ <exclude>org.jboss.seam.embedded:thirdparty-all:jar</exclude>
<exclude>org.jboss.seam:jboss-seam-gen:*:*</exclude>
<exclude>org.jboss.seam:seam-reference-guide:*:*</exclude>
- <exclude>*:sources</exclude>
- <exclude>*:javadoc</exclude>
- <exclude>*:project</exclude>
- <exclude>org.hibernate:hibernate-tools:jar</exclude>
- <exclude>freemarker:freemarker:jar</exclude>
- <exclude>org.eclipse.core:runtime:jar</exclude>
- <exclude>org.eclipse.equinox:common:jar</exclude>
- <exclude>org.eclipse:text:jar</exclude>
- <exclude>org.richfaces.samples:darkX:jar</exclude>
- <exclude>org.richfaces.samples:laguna:jar</exclude>
- <exclude>org.richfaces.samples:glassX:jar</exclude>
- <exclude>org.apache.ant:ant:jar</exclude>
- <exclude>org.jboss.seam:examples:*:*</exclude>
- <exclude>org.jboss.seam:functional-tests:*:*</exclude>
</excludes>
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
+ <!-- Seam jul -->
+ <dependencySet>
+ <outputDirectory>lib/interop</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useStrictFiltering>true</useStrictFiltering>
+ <includes>
+ <include>org.jboss.seam:jboss-seam-jul:jar</include>
+ </includes>
+ <excludes>
+ <exclude>org.jboss.seam:jboss-seam-jul:jar:sources</exclude>
+ </excludes>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ </dependencySet>
+
+ <!-- Seam jul sources -->
+ <dependencySet>
+ <outputDirectory>lib/interop/src</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <useStrictFiltering>true</useStrictFiltering>
+ <includes>
+ <include>org.jboss.seam:jboss-seam-jul:jar:sources</include>
+ </includes>
+ <outputFileNameMapping>${artifact.artifactId}-sources.${artifact.extension}</outputFileNameMapping>
+ </dependencySet>
+
<!-- Seam gen -->
<dependencySet>
<outputDirectory>lib/gen</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
+ <useStrictFiltering>true</useStrictFiltering>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
<includes>
<include>org.jboss.seam:jboss-seam-gen:jar</include>
<include>org.hibernate:hibernate-tools:jar</include>
+ <include>org.beanshell:bsh:jar</include>
+ <include>org.hibernate:jtidy:jar</include>
<include>freemarker:freemarker:jar</include>
<include>org.eclipse.core:runtime:jar</include>
<include>org.eclipse.equinox:common:jar</include>
@@ -109,9 +183,11 @@
<include>org.richfaces.samples:laguna:jar</include>
<include>org.richfaces.samples:glassX:jar</include>
<include>org.apache.ant:ant:jar</include>
+ <include>org.apache.ant:ant-launcher:jar</include>
+ <include>org.apache.ant:ant-nodeps:jar</include>
</includes>
<excludes>
- <exclude>org.jboss.seam:jboss-seam-gen:*:sources</exclude>
+ <exclude>org.jboss.seam:jboss-seam-gen:jar:sources</exclude>
</excludes>
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
@@ -122,13 +198,18 @@
<includes>
<include>org.jboss.seam:jboss-seam-gen:*:sources</include>
</includes>
- <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <outputFileNameMapping>${artifact.artifactId}-${artifact.classifier}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
<dependencySet>
<outputDirectory>./seam-gen</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<unpack>true</unpack>
+ <unpackOptions>
+ <excludes>
+ <exclude>**/.gitignore</exclude>
+ </excludes>
+ </unpackOptions>
<includes>
<include>org.jboss.seam:jboss-seam-gen:zip:distribution</include>
</includes>
@@ -166,6 +247,11 @@
<outputDirectory>doc/api</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<unpack>true</unpack>
+ <unpackOptions>
+ <excludes>
+ <exclude>META-INF/</exclude>
+ </excludes>
+ </unpackOptions>
<includes>
<include>org.jboss.seam:jboss-seam:*:javadoc</include>
</includes>
@@ -173,38 +259,19 @@
</dependencySet>
<dependencySet>
- <outputDirectory>doc/ui/api</outputDirectory>
+ <outputDirectory>doc/ui/apidocs</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<unpack>true</unpack>
+ <unpackOptions>
+ <excludes>
+ <exclude>META-INF/</exclude>
+ </excludes>
+ </unpackOptions>
<includes>
<include>org.jboss.seam:jboss-seam-ui:*:javadoc</include>
</includes>
<outputFileNameMapping>${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
-
- <!-- Add project sources -->
- <dependencySet>
- <outputDirectory>src</outputDirectory>
- <useProjectArtifact>false</useProjectArtifact>
- <unpack>true</unpack>
- <outputFileNameMapping>${artifact.artifactId}</outputFileNameMapping>
- <includes>
- <include>org.jboss.seam:jboss-seam:*:project</include>
- <include>org.jboss.seam:jboss-seam-debug:*:project</include>
- <include>org.jboss.seam:jboss-seam-excel:*:project</include>
- <include>org.jboss.seam:jboss-seam-flex:*:project</include>
- <include>org.jboss.seam:jboss-seam-ioc:*:project</include>
- <include>org.jboss.seam:jboss-seam-jul:*:project</include>
- <include>org.jboss.seam:jboss-seam-mail:*:project</include>
- <include>org.jboss.seam:jboss-seam-pdf:*:project</include>
- <include>org.jboss.seam:jboss-seam-remoting:*:project</include>
- <include>org.jboss.seam:jboss-seam-resteasy:*:project</include>
- <include>org.jboss.seam:jboss-seam-rss:*:project</include>
- <include>org.jboss.seam:jboss-seam-ui:*:project</include>
- <include>org.jboss.seam:jboss-seam-wicket:*:project</include>
- <include>org.jboss.seam:seam-integration-tests:*:project</include>
- <include>org.jboss.seam:functional-tests:*:project</include>
- </includes>
- </dependencySet>
+
</dependencySets>
</assembly>
Modified: branches/community/Seam_2_3/jboss-seam-gen/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/pom.xml 2011-09-26 15:54:58 UTC (rev 14205)
+++ branches/community/Seam_2_3/jboss-seam-gen/pom.xml 2011-09-26 15:55:24 UTC (rev 14206)
@@ -176,6 +176,22 @@
<type>jar</type>
<scope>compile</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-launcher</artifactId>
+ <version>1.7.0</version>
+ <type>jar</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.7.0</version>
+ <type>jar</type>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<modules>
</modules>
Modified: branches/community/Seam_2_3/jboss-seam-parent/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-parent/pom.xml 2011-09-26 15:54:58 UTC (rev 14205)
+++ branches/community/Seam_2_3/jboss-seam-parent/pom.xml 2011-09-26 15:55:24 UTC (rev 14206)
@@ -1857,7 +1857,7 @@
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>
</plugins>
</build>
12 years, 7 months
Seam SVN: r14205 - in branches/community/Seam_2_3: distribution/src/main/assembly and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:54:58 -0400 (Mon, 26 Sep 2011)
New Revision: 14205
Removed:
branches/community/Seam_2_3/copyright.txt
branches/community/Seam_2_3/distribution/src/main/assembly/build.properties
branches/community/Seam_2_3/distribution/src/main/assembly/eclipse-code-formatter-profile.xml
branches/community/Seam_2_3/lgpl.txt
branches/community/Seam_2_3/seam21migration.txt
branches/community/Seam_2_3/seam2migration.txt
Log:
removed duplicated files
Deleted: branches/community/Seam_2_3/copyright.txt
===================================================================
--- branches/community/Seam_2_3/copyright.txt 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/copyright.txt 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,32 +0,0 @@
-JBoss Seam is Copyright 2005-2009, Red Hat Middleware LLC and individual
-contributors. It is licensed under the GNU LGPL except where otherwise
-noted in the source file's header.
-
-A summary of the individual contributors is given below. Any omission should
-be sent to Pete Muir <pmuir(a)redhat.com>.
-
-SCM Login(s) Name Role
-------------------------------------------------------------------------
-gavin Gavin King Project founder
-pmuir,pete.muir(a)jboss.org Pete Muir Project lead
-dan.j.allen Dan Allen
-max.andersen(a)jboss.com Max Rydahl Andersen
-jbalunas(a)redhat.com Jay Balunas
-cbauer,christian.bauer(a)jboss.com Christian Bauer
-ebernard Emmanuel Bernard
-sbryzak2,shane.bryzak(a)jboss.com Shane Bryzak
-matt.drees Matt Dress
-jguglielmin Judy Guglielmin
-jharting Jozef Hartinger
-theute Thomas Heute
-alesj Ales Justin
-nickarls Nicklas Karlsson
-manaRH Marek Novotny
-jacob.orshalick Jacob Orshalick
-cpopetz Clint Popetz
-nrichards,norman.richards(a)jboss.com Norman Richards
-danielc.roth Daniel Roth
-myoungstrom Michael Youngstrom
-myuan Michael Yuan
-------------------------------------------------------------------------
-* JBoss is a registered trademark of Red Hat Middleware LLC
Deleted: branches/community/Seam_2_3/distribution/src/main/assembly/build.properties
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/build.properties 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/build.properties 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,20 +0,0 @@
-# Use this properties file to set system specific properties
-# ----------------------------------------------------------
-#
-# Location of JBoss AS and Tomcat
-# -------------------------------
-
-#jboss.home /home/mnovotny/apps/jboss-4.2.3.GA
-jboss.home /home/mnovotny/apps/jboss-5.1.0.GA
-#jboss.home /home/mnovotny/apps/jboss-6.0.0.Final
-#jboss.home /home/mnovotny/apps/jboss-6.0.0.20100911-M5
-tomcat.home /home/mnovotny/apps/apache-tomcat-6.0.18_emb
-#jboss.home C:\\jboss-4.2.3.GA
-#tomcat.home C:\\Tomcat-6.0
-#
-# Misc Settings
-# -------------
-# Directory in which to put build distribution, defaults to ../jboss-seam-${version}.${patchlevel}
-#dist.dir ../jboss-seam-dist
-# alphanumeric qualifier for the version number
-#qualifier -SNAPSHOT
Deleted: branches/community/Seam_2_3/distribution/src/main/assembly/eclipse-code-formatter-profile.xml
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/eclipse-code-formatter-profile.xml 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/eclipse-code-formatter-profile.xml 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,264 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<profiles version="11">
-<profile kind="CodeFormatterProfile" name="Seam" version="11">
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="3"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="3"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="800"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
-<setting id="org.eclipse.jdt.core.compiler.source" value="1.5"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="80"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.5"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.5"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
-<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="next_line"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
-<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
-</profile>
-</profiles>
Deleted: branches/community/Seam_2_3/lgpl.txt
===================================================================
--- branches/community/Seam_2_3/lgpl.txt 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/lgpl.txt 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,504 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Libraries
-
- If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change. You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
- To apply these terms, attach the following notices to the library. It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
- <one line to give the library's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
- <signature of Ty Coon>, 1 April 1990
- Ty Coon, President of Vice
-
-That's all there is to it!
-
-
Deleted: branches/community/Seam_2_3/seam21migration.txt
===================================================================
--- branches/community/Seam_2_3/seam21migration.txt 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/seam21migration.txt 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,238 +0,0 @@
-Seam 2.1 Migration Guide
-========================
-Before you get started with Seam 2.1, there are a few things you should be aware
-of. This process should not be too painful - if you get stuck, just refer back
-to the updated Seam examples.
-
-This migration guide assumes you are using Seam 2.0, if you are migrating from
-Seam 1.2, see the seam2migration guide as well.
-
-
-Testing
--------
-
-SeamTest now boots Seam at the start of each suite, rather than the start of
-each class. This is much faster. See the reference manual for how to alter the
-default.
-
-DTDs and Schemas
-----------------
-The DTDs for Seam XML files are no longer supported. Please use the XML schemas
-for validation. Files that use the Seam 2.0 XSDs should be updated to refer to
-the 2.1 XSDs
-
-Exception Handling
-------------------
-
-The caught exception is now available in EL as #{org.jboss.seam.caughtException}
-rather than #{org.jboss.seam.exception}
-
-
-EntityConverter configuration
------------------------------
-
-If you need to configure which entity manager to use, this is now done on the
-entity-loader component. See the documentation for details.
-
-Assumed name for managed Hibernate session
-------------------------------------------
-
-Several areas of Seam, including the Seam Application Framework, rely on a
-naming convention for the Seam-managed persistence context (JPA) and Hibernate
-session. Prior to Seam 2.1, the assumed name of the managed Hibernate session
-was "session". However, session is a very overloaded name in Seam and the Java
-Servlet API. To make it less ambigous, the default was changed to
-"hibernateSession".
-
-The benefit now is that when you inject or resolve the Hibernate session, you
-know that is the refernece you are getting (rather than the HTTP session, mail
-session, or some other "session").
-
-You would inject it as follows:
-
-@In private Session hibernateSession;
-
-or
-
-@In(name = "hibernateSession") private Session session;
-
-If the name of your Seam-managed Hibernate session is "session", you can still
-inject this reference explictly using the session property:
-
-<framework:hibernate-entity-home session="#{session}".../>
-<transaction:entity-transaction session="#{session}".../>
-
-The alternative is to override the getPersistenceContextName() method on any
-persistence controller in the Seam Application Framework:
-
-public String getPersistenceContextName() {
- "session";
-}
-
-Security
---------
-
-If you are using rule-based security in your project, the configuration for the
-security rules in components.xml has changed. Previously, the rules were configured
-as a property of the identity component as such:
-
- <security:identity security-rules="#{securityRules}" authenticate-method="#{authenticator.authenticate}"/>
-
-In Seam 2.1, rule-based permission checks are now carried out by the ruleBasedPermissionResolver
-component. You must activate this component and register the security rules with it instead of the
-identity component:
-
- <security:rule-based-permission-resolver security-rules="#{securityRules}"/>
-
-IMPORTANT! The definition of a permission has also changed. Prior to Seam 2.1, a permission
-consisted of three elements:
-
- * name
- * action
- * contextual object (optional)
-
-The name would typically be the Seam component name, entity class, or view ID. The action would be
-the method name, the JSF phase (restore or render), or an assigned term representing the intent of
-the activity. Finally, one or more contextual objects could be inserted directly into the working
-memory to help make the decision, typically the target of the activity.
-
-For example: s:hasPermission('userManager', 'edit', user)
-
-In Seam 2.1, a permission has been simplified to just two elements:
-
- * target
- * action
-
-In place of the nebulous name element, the target becomes the focus of the permission. The action
-continues to communicate the intent of the activity being secured. Inside the rules file, most of the
-checking now revolves around the target object.
-
-For example: s:hasPermission(user, 'edit')
-
-This change makes the rules more generally applicable. It also allows Seam to consult a persistent
-permission resolver (ACL) in addition to the rule-based resolver.
-
-Be aware that existing rules may behave oddly. That's because given the following permission check:
-
- s:hasPermission('userManager', 'edit', user)
-
-Seam will transpose as follows to bring it inline with the new design.
-
- s:hasPemrission(user, 'edit')
-
-Please read the new chapter on security for all the details about this new design.
-
-Identity.isLoggedIn()
----------------------
-
-This method has been modified so that it doesn't attempt to perform an authentication if credentials
-have been set. Instead, it will simply return true if the user is currently authenticated. If you
-require the previous behaviour, then please use Identity.tryLogin() instead.
-
-If you are using the token-based "Remember Me" feature of Seam Security, you will need to add the following
-section to components.xml to ensure that the user is automatically logged in when first accessing the
-application:
-
- <event type="org.jboss.seam.security.notLoggedIn">
- <action execute="#{redirect.captureCurrentView}"/>
- <action execute="#{identity.tryLogin}"/>
- </event>
- <event type="org.jboss.seam.security.loginSuccessful">
- <action execute="#{redirect.returnToCapturedView}"/>
- </event>
-
-PDF (iText)
---------
-
-The documentStore component has been moved from the pdf/itext module into Seam proper. Any
-references to pdf:document-store in components.xml should be replaced with document:document-store.
-Similary, if you are currently referencing org.jboss.seam.pdf.DocumentStoreServlet in your web.xml,
-you should now use org.jboss.seam.document.DocumentStoreServlet.
-
-
-Clustering
-----------
-
-Seam's ManagedEntityInterceptor (formally ManagedEntityIdentityInterceptor) is now disabled by
-default. If you need the ManagedEntityInterceptor for clustered failover of conversations, you can
-enable it components.xml:
-
-<core:init>
- <core:interceptors>
- <value>org.jboss.seam.core.SynchronizationInterceptor</value>
- <value>org.jboss.seam.async.AsynchronousInterceptor</value>
- <value>org.jboss.seam.ejb.RemoveInterceptor</value>
- <value>org.jboss.seam.persistence.HibernateSessionProxyInterceptor</value>
- <value>org.jboss.seam.persistence.EntityManagerProxyInterceptor</value>
- <value>org.jboss.seam.core.MethodContextInterceptor</value>
- <value>org.jboss.seam.core.EventInterceptor</value>
- <value>org.jboss.seam.core.ConversationalInterceptor</value>
- <value>org.jboss.seam.bpm.BusinessProcessInterceptor</value>
- <value>org.jboss.seam.core.ConversationInterceptor</value>
- <value>org.jboss.seam.core.BijectionInterceptor</value>
- <value>org.jboss.seam.transaction.RollbackInterceptor</value>
- <value>org.jboss.seam.transaction.TransactionInterceptor</value>
- <value>org.jboss.seam.webservice.WSSecurityInterceptor</value>
- <value>org.jboss.seam.security.SecurityInterceptor</value>
- <value>org.jboss.seam.persistence.ManagedEntityInterceptor</value>
- </core:interceptors>
-</core:init>
-
-
-Asynchronous Exception Handling
-----------------------
-
-All asynchronous invocations are now wrapped in exception handling. By default, any
-exceptions which propagate out of the asynchronous call are caught and logged at
-error level. The reference manual describes how to customize this behaviour.
-
-
-Redeploy
---------
-
-The org.jboss.seam.postInitialization event is no longer called on redeploy,
-instead org.jboss.seam.postReInitialization is called.
-
-
-Cache Support
--------------
-
-Cache support has be rewritten to support JBoss Cache, JBoss POJO Cache, JBoss
-Cache 2 and EHCache. If you are running on JBoss AS 4.2.x JBoss Cache 1.x will
-be used or on JBoss 5.x JBoss Cache 2 will be installed. You can find more about
-how to configure the cache provider in the reference manual.
-
-The use <s:cache /> is unchanged, but you can no longer inject the pojoCache
-component. Instead you should configure JBoss POJO cache as your cache provider
-in components.xml:
-
-<cache:jboss-pojo-cache-provider />
-
-and inject it using
-
-@In CacheProvider<PojoCache> cacheProvider;
-
-The CacheProvider provides a Map like interface, and the getDelegate() method
-can be used to retrieve the underling cache.
-
-
-Dependency changes (Maven)
---------------------------
-
-The "provided" platform is now JBoss AS 4.2.3, therefore javasisst:javassist and
-dom4j:dom4j are now marked as provided.
-
-
-Seam Application Framework Changes
-----------------------------------
-
-Seam now expects value expressions for a number of properties
-(entityHome.createdMessage, entityHome.updatedMessage, entityHome.deletedMessage
-and entityQuery.restrictions); if you are using components.xml to configure your
-objects, you don't need to make any changes. If you are extending the objects in
-Java, you just need to create a value expression; for example:
-
-public ValueExpression getCreatedMessage() {
- return createValueExpression("New person #{person.firstName} #{person.lastName} created");
-}
-
Deleted: branches/community/Seam_2_3/seam2migration.txt
===================================================================
--- branches/community/Seam_2_3/seam2migration.txt 2011-09-26 15:54:35 UTC (rev 14204)
+++ branches/community/Seam_2_3/seam2migration.txt 2011-09-26 15:54:58 UTC (rev 14205)
@@ -1,260 +0,0 @@
-Seam 2.0 Migration Guide
-========================
-Before you get started with Seam 2, you'll need to make a few changes to
-your existing code and configuration. This process should not be too
-painful - if you get stuck, just refer back to the updated Seam examples.
-
-Supported container environments
---------------------------------
-Seam 2.0 has been tested on the following containers:
-
-* JBoss 4.2 (it's possible to run Seam 2 on JBoss 4.0.5 by upgrading JSF to 1.2)
-* Tomcat 6.0 (Tomcat 5.5 is not compatible with JSF 1.2)
-* GlassFish V2
-* OC4J 11g Technology Preview
-
-Migration to JSF 1.2
---------------------
-Seam 2.0 requires JSF 1.2. We now recommend Sun's JSF RI as the most
-mature JSF implementation, and this is the version that ships with most
-EE 5 application servers, including JBoss 4.2. To switch to the JSF RI,
-you'll need to make some changes to web.xml:
-
-* remove the MyFaces StartupServletContextListener
-* remove the Ajax4JSF filter, mappings, and
- org.ajax4jsf.VIEW_HANDLERS context parameter
-* rename org.jboss.seam.web.SeamFilter to
- org.jboss.seam.servlet.SeamFilter
-* rename org.jboss.seam.servlet.ResourceServlet to
- org.jboss.seam.servlet.SeamResourceServlet
-* change the web-app version from 2.4 to 2.5
- also change j2ee to javaee in namespace URL
-<web-app 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-app_2_5.xsd"
- version="2.5">
- ...
-</web-app>
-
-Since Seam 1.2, you didn't need any declarations of SeamExceptionFilter
-or SeamRedirectFilter in web.xml, just a single declaration of SeamFilter.
-Make sure you've already made that change.
-
-Also note that for the JSF RI, client-side state saving, defined by
-the context param javax.faces.STATE_SAVING_METHOD, is not required
-and can be removed (server is the default).
-
-You'll also need to make some changes to faces-config.xml:
-
-* Remove the TranactionalSeamPhaseListener or SeamPhaseListener declaration,
- whichever is currently in use
-* Remove the SeamELResolver declaration, if you have one
-* Change the declaration of SeamFaceletViewHandler to the standard
- com.sun.facelets.FaceletViewHandler (and make sure it's enabled)
-* Remove the DTD on the document and add the XML Schema declarations to the
- root tag (<faces-config>)
-<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">
- ...
-</faces-config>
-
-Code migration
---------------
-Seam's built-in components have undergone a major reorganization designed
-to organize them for easier learning, and to isolate dependencies upon
-particular technologies like JSF into specific packages.
-
-* Persistence-related components moved to org.jboss.seam.persistence
-* jBPM related components moved to org.jboss.seam.bpm
-* JSF-related components moved org.jboss.seam.faces
- most significantly org.jboss.seam.faces.FacesMessages
-* Servlet-related components have moved to org.jboss.seam.web
-* Components related to asynchronicity moved to org.jboss.seam.async
-* i18n-related components moved to org.jboss.seam.international
-* The Pageflow component moved to org.jboss.seam.pageflow
-* The Pages component moved to org.jboss.seam.navigation
-
-Code which depends on these APIs will need to be changed to reflect the
-new Java package names.
-
-Annotations have also been reorganized:
-
-* BPM-related annotations moved to org.jboss.seam.annotations.bpm
-* JSF-related annotations moved to org.jboss.seam.annotations.faces
-* Interceptor annotations moved to
- org.jboss.seam.annotations.intercept
-* Annotations related to asynchronicity moved to
- org.jboss.seam.annotations.async
-* @RequestParameter moved to org.jboss.seam.annotations.web
-* @WebRemote moved to org.jboss.seam.annotations.remoting
-* @Restrict moved to org.jboss.seam.annotations.security
-* Exception handling annotations moved to
- org.jboss.seam.annotations.exception
-* Use @BypassInterceptors instead of @Intercept(NEVER)
-
-Migration of components.xml
----------------------------
-The new packaging comes with new namespaces and new schemas for
-components.xml. The namespace for components in package
-
- org.jboss.seam.foobar
-
-Is now:
-
- http://jboss.com/products/seam/foobar
-
-And the schema is:
-
- http://jboss.com/products/seam/foobar-2.0.xsd
-
-You'll need to update your components.xml file to reflect the new schemas
-and namespaces. Take a look at the Seam examples if you're unsure of
-exactly what you need to do. Specifically, you are changing the namespace
-URLs to match the Seam version (i.e., 2.0 or 2.1).
-
-Some declarations have moved or must be removed completely:
-
-* replace <core:managed-persistence-context> and <core:entity-manager-factory> with
- <persistence:managed-persistence-context> and
- <persistence:entity-manager-factory>, respectively
-* remove conversation-is-long-running-parameter attribute from <core:manager/>
-* remove <core:ejb/>
-* remove <core:microcontainer/>
-* replace <core:transaction-listener/> with <transaction:ejb-transaction/>
-* replace <core:resource-bundle/> with <core:resource-loader/>
-
-Note: Seam transaction management is now enabled by default. It's now
- controlled in components.xml rather than by a JSF phase listener
- declaration in faces-config.xml. If you want to disable use of
- Seam-managed transactions, use the following:
-
- <core:init transaction-management-enabled="false"/>
-
-Note: The expression attribute on event action's has been deprecated in favor
- of execute, e.g.
-
- <event type="org.jboss.seam.security.notLoggedIn">
- <action execute="#{redirect.captureCurrentView}"/>
- </event>
- <event type="org.jboss.seam.loginSuccessful">
- <action execute="#{redirect.returnToCapturedView}"/>
- </event>
-
-In 2.1 the security events use the prefix org.jboss.seam.security instead of
-just org.jboss.seam (e.g. org.jboss.seam.security.notLoggedIn). Note that the
-event org.jboss.seam.security.loginSuccessful event should be used in place of
-org.jboss.seam.postAuthenticate for returning to the captured view.
-
-Migration to JBoss Embedded
----------------------------
-Support for deployment to JBoss Embeddable EJB3 and JBoss Microcontainer
-has been removed. Instead, the new JBoss Embedded distribution gives you
-a full set of EE-compatible APIs with simplified deployment.
-
-For testing, you need the jars in Seam's lib/ directory, together with the
-bootstrap/ directory in your classpath. SeamTest will automatically start
-the container. You can remove any references or artifacts related to the
-JBoss Embeddable EJB3 (e.g., embedded-ejb folder and jboss-beans.xml). Refer
-to the Seam examples or seam-gen if you have trouble.
-
-For Tomcat deployment, follow the instructions in the user guide. You no
-longer need any special configuration or packaging for Tomcat deployments.
-
-Note that JBoss Embedded is able to bootstrap a datasource from a -ds.xml
-file, so there is no longer a need for jboss-beans.xml.
-
-Migration to JBPM 3.2
----------------------
-If you are using JBPM for business processes (not just pageflows), you need
-to add the tx service to jbpm.cfg.xml:
- <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
-
-Migration to RichFaces 3.1
---------------------------
-If you are using RichFaces or Ajax4jsf, a major reorganisation of the codebase
-has occurred. The JARs ajax4jsf.jar and richfaces.jar have been replaced by
-richfaces-api.jar (which should go in your ear lib/ directory) and
-richfaces-impl.jar and richfaces-ui.jar (both of which go in WEB-INF/lib).
-
-<s:selectDate> has been deprecated in favor of <rich:calendar>. No more
-development will be done on <s:selectDate>. You can remove the styles related
-to the data picker from your stylesheet to save on unnecessary bandwidth use.
-
-You should check the RichFaces documentation for more information on parameter
-name changes and namespace changes.
-
-Packaging changes
------------------
-You should place all the dependencies which you previously declared as modules
-in application.xml in the lib/ directory of your ear *except* jboss-seam.jar
-which should be declared as an ejb module in application.xml
-
-Changes to Seam UI
-------------------
-
-* <s:decorate> has become a naming container. Therefore client ids have changed
- from fooForm:fooInput to fooForm:foo:fooInput, assuming the following declaration
-<h:form id="fooForm">
- <s:decorate id="foo">
- <h:inputText id="fooInput" value="#{bean.property}"/>
- </s:decorate>
-</h:form>
-
-If you don't provide an id to <s:decorate>, one will be generated by JSF.
-
-Changes to seam-gen
--------------------
-
-There was a change in seam-gen starting with Seam 2.0.0.CR2 regarding
-how the generated classes are organized when generate-entities is
-executed.
-
-Old way:
-
- src/model/com/domain/projectname/model/EntityName.java
- src/action/com/domain/projectname/model/EntityNameHome.java
- src/action/com/domain/projectname/model/EntityNameList.java
-
-New way:
-
- src/model/com/domain/projectname/model/EntityName.java
- src/action/com/domain/projectname/action/EntityNameHome.java
- src/action/com/domain/projectname/action/EntityNameList.java
-
-Home and Query objects are "action" components, not "model" components
-and are therefore placed in the action package. This change makes the
-conventions followed by generate-entities consistent with the convensions
-used in the new-entity command.
-
-Remember, model classes are kept separate because they cannot be hot reloaded.
-
-Due to the change from JBoss Embeddable EJB3 to JBoss Embedded for testing,
-it is recommended that you generate a project using seam-gen from Seam 2
-and borrow the build.xml file from that project. If you have made
-significant changes to the build.xml in your project, you may want to focus
-on just migrating the test-related targets.
-
-In order for tests to work under JBoss Embedded, you need to change the
-value of the <datasource> element in resources/META-INF/persistence-test.xml
-(or persistence-test-war.xml) to java:/DefaultDS. The alternative is to
-deploy a -ds.xml file to the bootstrap/deploy folder and use the JNDI name
-defined by that file.
-
-If you use the build.xml from a Seam 2 seam-gen project, you will also need
-the deployed-*.list file(s). These files define which JAR files are packaged
-in the EAR or WAR. They were introduced to externalize this set of JARS from
-the build.xml file.
-
-To accomodate a change in the RichFaces panel, you need to add the following
-style to your stylesheet. Otherwise, you're search criteria block in pages
-created by generate-entities will bleed into the table of results.
-
-.rich-stglpanel-body {
- overflow: auto;
-}
12 years, 7 months
Seam SVN: r14204 - in branches/community/Seam_2_3: distribution and 1 other directory.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:54:35 -0400 (Mon, 26 Sep 2011)
New Revision: 14204
Modified:
branches/community/Seam_2_3/build/settings.xml
branches/community/Seam_2_3/distribution/pom.xml
Log:
cleaned some comments
Modified: branches/community/Seam_2_3/build/settings.xml
===================================================================
--- branches/community/Seam_2_3/build/settings.xml 2011-09-26 15:54:19 UTC (rev 14203)
+++ branches/community/Seam_2_3/build/settings.xml 2011-09-26 15:54:35 UTC (rev 14204)
@@ -193,78 +193,7 @@
|
|-->
<profiles>
- <!-- profile
- | Specifies a set of introductions to the build process, to be activated using one or more of the
- | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
- | or the command line, profiles have to have an ID that is unique.
- |
- | An encouraged best practice for profile identification is to use a consistent naming convention
- | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
- | This will make it more intuitive to understand what the set of introduced profiles is attempting
- | to accomplish, particularly when you only have a list of profile id's for debug.
- |
- | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
<profile>
- <id>jdk-1.4</id>
-
-
- <activation>
- <jdk>1.4</jdk>
- </activation>
-
-
- <repositories>
- <repository>
- <id>jdk14</id>
- <name>Repository for JDK 1.4 builds</name>
- <url>http://www.myhost.com/maven/jdk14</url>
- <layout>default</layout>
- <snapshotPolicy>always</snapshotPolicy>
- </repository>
- </repositories>
- </profile>
- -->
-
-
- <!--
- | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
- | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
- | might hypothetically look like:
- |
- | ...
- | <plugin>
- | <groupId>org.myco.myplugins</groupId>
- | <artifactId>myplugin</artifactId>
- |
- | <configuration>
- | <tomcatLocation>${tomcatPath}</tomcatLocation>
- | </configuration>
- | </plugin>
- | ...
- |
- | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
- | anything, you could just leave off the <value/> inside the activation-property.
- |
- <profile>
- <id>env-dev</id>
-
-
- <activation>
- <property>
- <name>target-env</name>
- <value>dev</value>
- </property>
- </activation>
-
-
- <properties>
- <tomcatPath>/path/to/tomcat/instance</tomcatPath>
- </properties>
- </profile>
- -->
-
-
- <profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
@@ -300,7 +229,6 @@
</pluginRepositories>
</profile>
-
<profile>
<id>jboss-deprecated-repository</id>
<repositories>
@@ -324,18 +252,7 @@
</profiles>
-
- <!-- activeProfiles
- | List of profiles that are active for all builds.
- |
<activeProfiles>
- <activeProfile>alwaysActiveProfile</activeProfile>
- <activeProfile>anotherAlwaysActiveProfile</activeProfile>
- </activeProfiles>
- -->
-
-
- <activeProfiles>
<activeProfile>jboss-public-repository</activeProfile>
<activeProfile>jboss-deprecated-repository</activeProfile>
</activeProfiles>
Modified: branches/community/Seam_2_3/distribution/pom.xml
===================================================================
--- branches/community/Seam_2_3/distribution/pom.xml 2011-09-26 15:54:19 UTC (rev 14203)
+++ branches/community/Seam_2_3/distribution/pom.xml 2011-09-26 15:54:35 UTC (rev 14204)
@@ -28,16 +28,60 @@
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
- <appendAssemblyId>false</appendAssemblyId>
+ <appendAssemblyId>true</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <includeGroupIds>org.jboss.seam</includeGroupIds>
+ <excludeGroupIds>org.jboss.seam.embedded</excludeGroupIds>
+
+ </configuration>
+ <executions>
+ <execution>
+ <id>copy-sources</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <phase>compile</phase>
+ <configuration>
+ <classifier>project</classifier>
+ <type>zip</type>
+ <excludes>META-INF/**,.settings/,**/.settings/,.gitignore,.project,.classpath,**/.project,**/.classpath</excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>examples</artifactId>
+ <classifier>project</classifier>
+ <version>${project.version}</version>
+ <type>zip</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>seam-integration-tests</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam-parent</artifactId>
+ <type>zip</type>
+ <version>${project.version}</version>
+ <classifier>project</classifier>
+ </dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
@@ -105,114 +149,7 @@
<groupId>org.jboss.seam</groupId>
<artifactId>seam-reference-guide</artifactId>
</dependency>
-
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam</artifactId>
- <classifier>project</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-debug</artifactId>
- <classifier>project</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-excel</artifactId>
- <classifier>project</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-flex</artifactId>
- <classifier>project</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-ioc</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-jul</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-mail</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-pdf</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-remoting</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-resteasy</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-rss</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-ui</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>jboss-seam-wicket</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>functional-tests</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-integration-tests</artifactId>
- <version>${project.version}</version>
- <classifier>project</classifier>
- <type>zip</type>
- </dependency>
-
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-seam-debug</artifactId>
@@ -313,6 +250,7 @@
<version>${project.version}</version>
<classifier>sources</classifier>
</dependency>
+
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>jboss-embedded-bootstrap</artifactId>
@@ -320,14 +258,6 @@
</dependency>
<dependency>
- <groupId>org.jboss.seam</groupId>
- <artifactId>examples</artifactId>
- <classifier>project</classifier>
- <version>${project.version}</version>
- <type>zip</type>
- </dependency>
-
- <dependency>
<groupId>org.jboss.seam.embedded</groupId>
<artifactId>jboss-embedded-all</artifactId>
<version>${version.jbossembedded}</version>
@@ -344,6 +274,12 @@
<artifactId>thirdparty-all</artifactId>
<version>${version.jbossembedded}</version>
</dependency>
+
+ <dependency>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>functional-tests</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
12 years, 7 months
Seam SVN: r14203 - branches/community/Seam_2_3/examples.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:54:19 -0400 (Mon, 26 Sep 2011)
New Revision: 14203
Removed:
branches/community/Seam_2_3/examples/build.xml
Log:
removed old build.xml from examples
Deleted: branches/community/Seam_2_3/examples/build.xml
===================================================================
--- branches/community/Seam_2_3/examples/build.xml 2011-09-26 15:54:04 UTC (rev 14202)
+++ branches/community/Seam_2_3/examples/build.xml 2011-09-26 15:54:19 UTC (rev 14203)
@@ -1,1323 +0,0 @@
-<?xml version="1.0"?>
-<!-- ###################### SEAM EXAMPLES BUILD FILE ###################### -->
-<!--
- This build file is used for all the Seam examples. Each example has a
- build.xml which is used to specify per project settings, and override targets
- and filesets as necessary.
-
- By looking at the SEAM JARS WITH DEPENDENCIES and OPTIONAL DEPENDENCIES FOR
- USING SEAM sections you can see what jars are required (for use on JBoss AS)
- for Seam, and if you want to use the integration with other projects
--->
-<project name="SeamExample" default="example-info" basedir="." xmlns:artifact="urn:maven-artifact-ant">
-
- <tstamp />
-
- <!-- Location of Seam -->
- <dirname property="seam.dir" file="${ant.file.SeamExample}/../" />
-
- <!-- Build resources -->
- <import file="${seam.dir}/build/common.build.xml" />
-
- <!-- ###################### PROPERTY DEFINITIONS ###################### -->
-
- <!-- Settings -->
- <property name="loadPersistenceUnits" value="true"/>
-
- <!-- different setup for jboss6 enviroment -->
- <condition property="exploded-archives.dir" value="exploded-archives-jbossas6" else="exploded-archives">
- <isset property="jboss6"/>
- </condition>
- <condition property="src.java.dir" value="staging-jbossas6/src" else="src">
- <isset property="jboss6"/>
- </condition>
- <condition property="dist.dir" value="dist-jbossas6" else="dist">
- <isset property="jboss6"/>
- </condition>
- <condition property="staging.dir" value="staging-jbossas6">
- <isset property="jboss6"/>
- </condition>
- <condition property="example.lib.dir" value="lib">
- <isset property="jboss6"/>
- </condition>
- <condition property="lib.search.dir" value="${example.lib.dir}" else="${seam.dir}/lib">
- <isset property="jboss6"/>
- </condition>
-
- <condition property="nohornetq" value="yes">
- <not> <isset property="hornetq"/></not>
- </condition>
-
- <!-- Source directories -->
- <property name="src.java.dir" value="src" />
- <property name="src.test.dir" value="src" />
- <property name="view.dir" value="view" />
- <property name="resources.dir" value="resources" />
- <property name="validate.resources.dir" value="${resources.dir}" />
- <property name="example.ds" value="${example.name}-ds.xml" />
- <property name="example.service" value="${example.name}-service.xml" />
- <property name="example.jms" value="${example.name}-hornetq-jms.xml" />
-
- <!-- Deployment directories -->
- <property name="deploy.dir" value="${jboss.home}/server/default/deploy" />
- <property name="tomcat.deploy.dir" value="${tomcat.home}/webapps" />
- <property name="farm.deploy.dir" value="${jboss.home}/server/all/farm" />
- <property name="conf.dir" value="${jboss.home}/server/default/conf" />
-
- <!-- Library directories -->
- <property name="lib.dir" value="${seam.dir}/lib" />
- <property name="mail.dir" value="${seam.dir}/mail" />
- <property name="meldware.dir" value="${lib.dir}/meldware.deployable" />
-
- <!-- Target directories -->
- <property name="dist.dir" value="dist" />
- <property name="exploded-archives.dir" value="exploded-archives" />
- <property name="ear.dir" value="${exploded-archives.dir}/${example.name}.ear" />
- <property name="jar.dir" value="${exploded-archives.dir}/${example.name}.jar" />
- <property name="war.dir" value="${exploded-archives.dir}/${example.name}.war" />
- <property name="ear.deploy.dir" value="${deploy.dir}/${example.name}.ear" />
- <property name="jar.deploy.dir" value="${ear.deploy.dir}/${example.name}.jar" />
- <property name="war.deploy.dir" value="${ear.deploy.dir}/${example.name}.war" />
-
- <!-- Testing -->
- <property name="test.dir" value="test-build" />
- <property name="coverage.dir" value="${seam.dir}/build/coverage" />
- <property name="test-report.dir" value="${seam.dir}/test-output" />
- <property name="eejb.conf.dir" value="${seam.dir}/bootstrap" />
- <property name="src.schema.dir" value="${seam.dir}/src/main/org/jboss/seam" />
- <property name="schema.version" value="${version}" />
- <property name="testng.jar" value="${seam.dir}/lib/testng-jdk15.jar" />
- <property name="testng.jvmargs" value="-Dfoo" />
- <property name="javac.debug" value="true" />
- <property name="javac.deprecation" value="false" />
-
-
- <!-- ################## PLACEHOLDERS FOR OVERRIDING ################### -->
- <!--
- This allows build files which import this one to easily add extra
- resources to the the build
- -->
-
- <!-- Added to the build classpath -->
- <path id="build.classpath.extras" />
-
- <!-- Added to the test classpath -->
- <path id="test.classpath.extras" />
-
- <!-- Added to the ejb root on build-->
- <fileset id="jar.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the war root on build -->
- <fileset id="war.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the WEB-INF/lib on build -->
- <fileset id="war.lib.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the ear root on build -->
- <fileset id="ear.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the ear lib directory on build -->
- <fileset id="ear.lib.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the tomcat war root on build -->
- <fileset id="tomcat.war.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the tomcat jar root on build -->
- <fileset id="tomcat.jar.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the non-ejb war lib on build -->
- <fileset id="noejb.war.lib.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the non-ejb jar root on build -->
- <fileset id="noejb.jar.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Added to the non-ejb war root on build -->
- <fileset id="noejb.war.extras" dir=".">
- <exclude name="**/*" />
- </fileset>
-
- <!-- Extra stuff to delete on clean -->
- <fileset id="clean.extras" dir=".">
- <exclude name="**/*"/>
- </fileset>
-
- <!-- ############## SEAM JARS AND REQUIRED DEPENDENCIES ############### -->
- <!--
- Seam is made up of a number of jars. They are specified here, with
- dependencies for each one
- -->
-
- <!-- Seam core, with required dependencies -->
- <fileset id="seam.jar" dir="${lib.dir}">
- <include name="jboss-seam.jar" />
- </fileset>
-
- <!-- Seam ui, with required dependencies -->
- <fileset id="seam.ui.jar" dir="${lib.dir}">
- <include name="jboss-seam-ui.jar" if="seam.ui.lib" />
- <include name="commons-beanutils.jar" if="seam.ui.lib" unless="richfaces.lib" />
- </fileset>
-
- <!-- tomcat needs in messages example jstl.jar -->
- <fileset dir="${lib.dir}" id="tomcat-standard-tag.jar">
- <include name="jstl.jar" if="tomcat.standard.tag"/>
- </fileset>
-
- <!-- Seam pdf, with required dependencies -->
- <fileset id="seam.pdf.jar" dir="${lib.dir}">
- <include name="jboss-seam-pdf.jar" if="seam.pdf.lib" />
- </fileset>
-
- <fileset id="seam.pdf.extra.jar" dir="${lib.dir}">
- <include name="itext.jar" if="seam.pdf.lib" />
- <include name="itext-rtf.jar" if="seam.pdf.lib" />
- <include name="jfreechart.jar" if="seam.pdf.lib" />
- <include name="jcommon.jar" if="seam.pdf.lib" />
- </fileset>
-
-
- <!-- seam flex integration and dependencies-->
- <fileset id="seam.flex.jar" dir="${lib.dir}">
- <include name="jboss-seam-flex.jar" if="seam.flex.lib" />
- </fileset>
- <fileset id="seam.flex.extra.jar" dir="${lib.dir}">
- <include name="blazeds-common.jar" if="seam.flex.lib" />
- <include name="blazeds-core.jar" if="seam.flex.lib" />
- <include name="blazeds-proxy.jar" if="seam.flex.lib" />
- <include name="blazeds-remoting.jar" if="seam.flex.lib" />
- <include name="backport-util-concurrent.jar" if="seam.flex.lib"/>
- <include name="commons-httpclient.jar" if="seam.flex.lib"/>
- </fileset>
-
-
- <!-- Seam excel, with required dependencies -->
- <fileset id="seam.excel.jar" dir="${lib.dir}">
- <include name="jboss-seam-excel.jar" if="seam.excel.lib" />
- <include name="jxl.jar" if="seam.excel.lib" />
- </fileset>
-
- <!-- openid required dependencies -->
- <fileset id="openid.jar" dir="${lib.dir}">
- <include name="openid4java.jar" if="openid.lib" />
- <include name="openxri-client.jar" if="openid.lib" />
- <include name="openxri-syntax.jar" if="openid.lib" />
- <include name="htmlparser.jar" if="openid.lib" />
- <include name="commons-codec.jar" if="openid.lib" />
- <include name="commons-httpclient.jar" if="openid.lib" />
- </fileset>
-
- <!-- Seam rss, and dependencies -->
- <fileset id="seam.rss.jar" dir="${lib.dir}">
- <include name="jboss-seam-rss.jar" if="seam.rss.lib" />
- <include name="yarfraw.jar" if="seam.rss.lib" />
- <include name="commons-lang.jar" if="seam.rss.lib" />
- <include name="commons-collections.jar" if="seam.rss.lib" />
- </fileset>
-
- <!-- Seam debug, with required dependencies -->
- <fileset id="seam.debug.jar" dir="${lib.dir}">
- <include name="jboss-seam-debug.jar" if="seam.debug.lib" />
- </fileset>
-
- <!-- Seam ioc, with required dependencies -->
- <fileset id="seam.ioc.jar" dir="${lib.dir}">
- <include name="jboss-seam-ioc.jar" if="seam.ioc.war.lib" />
- </fileset>
-
- <!-- Seam mail, with required dependencies -->
- <fileset id="seam.mail.jar" dir="${lib.dir}">
- <include name="jboss-seam-mail.jar" if="seam.mail.lib" />
- </fileset>
-
- <!-- Seam remoting, with required dependencies -->
- <fileset id="seam.remoting.jar" dir="${lib.dir}">
- <include name="jboss-seam-remoting.jar" if="seam.remoting.lib" />
- </fileset>
-
- <!-- Seam Wicket integration, with required dependencies -->
- <fileset id="seam.wicket.jar" dir="${lib.dir}">
- <include name="jboss-seam-wicket.jar" if="seam.wicket.lib" />
- <include name="wicket.jar" if="seam.wicket.lib" />
- <include name="wicket-ioc.jar" if="seam.wicket.lib" />
- <include name="slf4j-api.jar" if="seam.wicket.lib" />
- <include name="slf4j-log4j12.jar" if="seam.wicket.lib" />
- </fileset>
-
- <!-- Seam RESTEasy integration, with required dependencies -->
- <fileset id="seam.resteasy.jar" dir="${lib.dir}">
- <include name="jboss-seam-resteasy.jar" if="seam.resteasy.lib" />
- <include name="jaxrs-api.jar" if="seam.resteasy.lib" />
- <include name="resteasy-jaxrs.jar" if="seam.resteasy.lib" />
- <include name="resteasy-jaxb-provider.jar" if="seam.resteasy.lib" />
- <include name="resteasy-jettison-provider.jar" if="seam.resteasy.lib" />
- <include name="jettison.jar" if="seam.resteasy.lib" />
- <include name="resteasy-atom-provider.jar" if="seam.resteasy.lib" />
- <include name="slf4j-api.jar" if="seam.resteasy.lib" />
- <include name="slf4j-log4j12.jar" if="seam.resteasy.lib" />
- </fileset>
-
- <!-- Seam IoC Guice, with required dependencies -->
- <fileset id="seam.ioc-guice.jar" dir="${lib.dir}">
- <include name="jboss-seam-ioc.jar" if="seam.ioc-guice.lib" />
- <include name="guice.jar" if="seam.ioc-guice.lib" />
- </fileset>
-
- <!-- jboss-el -->
- <fileset id="jboss-el.jar" dir="${lib.dir}">
- <include name="jboss-el.jar" />
- </fileset>
-
- <!-- Dependencies for using Seam with JSF - only needed if the server
- doesn't come with JSF! -->
- <fileset id="jsf.jar" dir="${lib.dir}">
- <include name="jsf-api.jar" />
- <include name="jsf-impl.jar" />
- <include name="jstl.jar" />
- </fileset>
-
- <!-- ############## OPTIONAL DEPENDENCIES FOR USING SEAM ############## -->
- <!--
- Seam provides tight integration with a number of libratries and
- frameworks. There are examples for these, and the dependencies
- for each are specified here
- -->
-
- <!-- Dependencies for seam-remoting used with GWT -->
- <fileset id="gwt.jar" dir="${lib.dir}">
- <include name="gwt-servlet.jar" if="gwt.lib" />
- </fileset>
-
- <!-- Dependencies for seam used with the Quartz dispatcher -->
- <fileset id="quartz.jar" dir="${lib.dir}">
- <include name="quartz.jar" if="quartz.lib" />
- </fileset>
-
- <!-- Dependencies for seam-ioc used with Spring -->
- <fileset id="spring.jar" dir="${lib.dir}">
- <include name="spring.jar" if="spring.lib" />
- <include name="cglib-nodep.jar" if="spring.lib" />
- </fileset>
-
- <fileset id="hibernate-deps" dir="${lib.dir}">
- <include name="hibernate-core.jar" if="han.lib" />
- <include name="hibernate-annotations.jar" if="han.lib" />
- <include name="hibernate-commons-annotations.jar" if="han.lib" />
- <include name="hibernate-entitymanager.jar" if="han.lib" />
- <include name="hibernate-validator.jar" if="han.lib" />
- <include name="slf4j-api.jar" if="han.lib" />
- <include name="slf4j-log4j12.jar" if="han.lib" />
- </fileset>
-
- <!-- Optional UI jars -->
-
- <!-- Dependencies for using Seam with facelets -->
- <fileset id="facelets.jar" dir="${lib.dir}">
- <include name="jsf-facelets.jar" if="facelets.lib" />
- </fileset>
-
- <!-- Dependencies for using Seam with Richfaces -->
- <fileset id="richfaces-api.jar" dir="${lib.dir}">
- <include name="richfaces-api.jar" if="richfaces.lib" />
- <include name="commons-beanutils.jar" if="richfaces.lib" />
- <include name="commons-digester.jar" if="richfaces.lib" />
- </fileset>
-
- <fileset id="richfaces-impl.jar" dir="${lib.dir}">
- <include name="richfaces-impl.jar" if="richfaces.lib" />
- <include name="richfaces-ui.jar" if="richfaces.lib" />
- </fileset>
-
- <!-- Dependencies for using Seam with JBPM -->
- <fileset id="jbpm.jar" dir="${lib.dir}">
- <include name="jbpm-jpdl.jar" if="jbpm.lib" />
- </fileset>
-
- <!-- Dependencies for using Seam with JBPM on Tomcat-->
- <fileset id="tomcat.jbpm.jar" dir="${lib.dir}">
- <include name="bsh.jar" if="jbpm.lib" />
- </fileset>
-
- <!-- Dependencies for using Seam with JBoss Cache (s:cache) -->
- <fileset id="cache.jar" dir="${lib.dir}">
- <include name="jboss-cache.jar" if="cache.lib" />
- <include name="jboss-aop.jar" if="cache.lib" />
- <include name="jgroups.jar" if="cache.lib" />
- </fileset>
-
- <!-- Hibernate Search requires different dependencies since version 3.3
- (minimal suggested version for JBossAS 6 ) -->
- <condition property="search.lib.jb6">
- <and>
- <isset property="jboss6"/>
- <isset property="search.lib"/>
- </and>
- </condition>
- <condition property="search.lib.jb5">
- <and>
- <not>
- <isset property="jboss6"/>
- </not>
- <isset property="search.lib"/>
- </and>
- </condition>
-
- <!-- Dependencies for using Seam with Hibernate Search -->
- <fileset id="search.jar" dir="${lib.search.dir}">
- <include name="lucene-core.jar" if="search.lib" />
- <include name="lucene-snowball.jar" if="search.lib" />
- <include name="lucene-analyzers.jar" if="search.lib" />
- <include name="hibernate-search.jar" if="search.lib" />
- <include name="solr-core.jar" if="search.lib" />
- <include name="solr-lucene-analyzers.jar" if="search.lib.jb5" />
- <include name="hibernate-search-analyzers.jar" if="search.lib.jb6"/>
- <include name="hibernate-commons-annotations.jar" if="search.lib.jb5" />
- <!-- <include name="hibernate-core.jar" if="search.lib" /> remove or add condition for jboss42 only -->
- </fileset>
-
- <!-- Dependencies for using Seam with Drools -->
- <fileset id="drools.jar" dir="${lib.dir}">
- <include name="antlr-runtime.jar" if="drools.lib" />
- <include name="core.jar" if="drools.lib" />
- <include name="janino.jar" if="drools.lib" />
- <include name="mvel2.jar" if="drools.lib" />
- <include name="drools-core.jar" if="drools.lib" />
- <include name="drools-compiler.jar" if="drools.lib" />
- <include name="drools-api.jar" if="drools.lib" />
- <include name="drools-decisiontables.jar" if="drools.lib"/>
- <include name="drools-templates.jar" if="drools.lib"/>
- <include name="xstream.jar" if="drools.lib"/>
- <include name="xpp3_min.jar" if="drools.lib"/>
- <include name="jxl.jar" if="drools.lib"/>
- </fileset>
-
- <!-- Dependencies for using Spring with Cglib -->
- <fileset id="cglib.jar" dir="${lib.dir}">
- <include name="asm.jar" if="cglib.lib"/>
- <include name="cglib.jar" if="cglib.lib"/>
- </fileset>
-
- <!-- Dependencies for using Seam with JCaptcha -->
- <fileset id="jcaptcha.jar" dir="${lib.dir}">
- <include name="jcaptcha-all*.jar" if="jcaptcha.lib" />
- </fileset>
-
- <!-- Dependencies for using Seam with URLRewrite -->
- <fileset id="urlrewrite.jar" dir="${lib.dir}">
- <include name="urlrewrite*.jar" if="urlrewrite.lib" />
- </fileset>
-
- <!-- Dependencies for using with antlr (if not shipped with server) -->
- <fileset id="antlr.jar" dir="${lib.dir}">
- <include name="antlr-*.jar" if="antlr.lib" />
- </fileset>
-
- <!-- Dependencies for using with antlr (if not shipped with server) -->
- <fileset id="groovy.jar" dir="${lib.dir}">
- <include name="groovy-all.jar" if="groovy.lib" />
- </fileset>
-
- <!-- Dependencies for including dbunit.jar in ear (if classloader requires it) -->
- <fileset id="dbunit.jar" dir="${lib.dir}">
- <include name="dbunit.jar" if="dbunit.lib" />
- </fileset>
-
- <!-- Dependencies for including jboss-embedded-api.jar in ear (if classloader requires it) -->
- <fileset id="jboss-embedded-api.jar" dir="${lib.dir}">
- <include name="jboss-embedded-api.jar" if="jboss-embedded-api.lib" />
- </fileset>
-
- <!-- Dependencies for wicket -->
-
- <fileset id="wicket-extensions.jar" dir="${lib.dir}">
- <include name="wicket-extensions.jar" if="wicket-extensions.lib" />
- </fileset>
-
- <fileset id="wicket-datetime.jar" dir="${lib.dir}">
- <include name="wicket-datetime.jar" if="wicket-datetime.lib" />
- <include name="joda-time.jar" if="wicket-datetime.lib" />
- </fileset>
-
-
- <!-- Dependencies for Trinidad -->
-
- <fileset id="trinidad-api.jar" dir="${lib.dir}">
- <include name="trinidad-api.jar" if="trinidad.lib" />
- </fileset>
-
- <fileset id="trinidad-impl.jar" dir="${lib.dir}">
- <include name="trinidad-impl.jar" if="trinidad.lib" />
- </fileset>
-
- <!-- Dependencies for Metawidget -->
-
- <fileset id="metawidget.jar" dir="${lib.dir}">
- <include name="metawidget.jar" if="metawidget-war.lib" />
- </fileset>
-
- <fileset id="metawidget-frontend.jar" dir="${lib.dir}">
- <include name="metawidget-frontend.jar" if="metawidget-ear.lib" />
- </fileset>
-
- <fileset id="metawidget-backend.jar" dir="${lib.dir}">
- <include name="metawidget-backend.jar" if="metawidget-ear.lib" />
- </fileset>
-
- <!-- Dependencies if el-ri is needed -->
-
- <fileset id="el-ri.jar" dir="${lib.dir}">
- <include name="el-ri.jar" if="el-ri.lib" />
- </fileset>
-
- <fileset id="jboss-common-core.jar" dir="${lib.dir}">
- <include name="jboss-common-core.jar" if="jboss-common-core.lib" />
- <include name="concurrent.jar" if="jboss-common-core.lib" />
- </fileset>
-
- <!-- ############################ MELDWARE ############################ -->
- <!--
- Meldware from buni.org provides a java based mail server which Seam uses
- to demonstrate it's mail capabilities. It's unlike other dependencies as
- it is deployed as a number of standalone wars, rars and ears.
- -->
-
- <!-- Meldware configuration -->
- <patternset id="meldware.conf.files">
- <exclude name="**/*" unless="deploy.meldware.mail" />
- <include name="meldware.store" if="deploy.meldware.mail" />
- </patternset>
-
- <!-- Just the mail portion of meldware -->
- <patternset id="meldware.files">
- <exclude name="**/*" unless="deploy.meldware.mail" />
- <include name="_mail.ear" if="deploy.meldware.mail" />
- <include name="meldwarebase.sar" if="deploy.meldware.mail" />
- </patternset>
-
-
- <!-- ############### RESOURCES FOR EXAMPLES ################ -->
- <!--
- A number of configuration files are needed for Seam, and it's
- dependencies. The examples place all their configuration files in the
- resources directory. They aren't split along packaging lines (as this
- varies depending on what platform you deploy to), but rather by location.
- Here, therefore, we split them into the ejb, the war and the ear.
- Some resource are also placed in the deploy and conf directory of JBoss
- AS.
- -->
-
- <!-- View files -->
- <fileset id="war.view" dir="${view.dir}">
- <include name="**/*" />
- </fileset>
-
- <!-- resources to go in the war -->
- <fileset id="war.resources" dir="${resources.dir}">
- <include name="WEB-INF/*.xml" />
- <include name="WEB-INF/*.sql" />
- </fileset>
-
- <!-- resources to go in the jar -->
- <fileset id="jar.resources" dir="${resources.dir}">
- <include name="import.sql" />
- <include name="seam.properties" />
- <include name="seam.quartz.properties" />
- <include name="*.drl" />
- <include name="META-INF/persistence.xml" />
- <include name="META-INF/ejb-jar.xml" />
- <include name="META-INF/orm.xml" />
- <include name="META-INF/components.xml" />
- <include name="META-INF/jboss.xml" />
- <include name="META-INF/security-config.xml" />
- <include name="META-INF/security-rules.drl" />
- <!--<include name="META-INF/standard-jaxws-endpoint-config.xml" /> -->
- <include name="*.jpdl.xml" />
- <exclude name=".gpd*" />
- </fileset>
-
- <!-- binary resources to go in the jar -->
- <fileset id="jar.binary.resources" dir="${resources.dir}">
- <include name="*.xls" />
- <include name="*.rf" />
- <include name="*.rfm" />
- </fileset>
-
- <!-- resources to go in the jar for tomcat -->
- <fileset id="tomcat.jar.resources" dir="${resources.dir}">
- <include name="${example.ds}" />
- <include name="treecache.xml" />
- <include name="*.jpdl.xml" />
- <include name="jbpm.cfg.xml" />
- <include name="hibernate.cfg.xml" />
- </fileset>
-
- <!-- resources to go in the jar for jbosswar -->
- <fileset id="noejb.jar.resources" dir="${resources.dir}">
- <include name="${example.ds}" />
- <include name="treecache.xml" />
- <include name="*.jpdl.xml" />
- <include name="jbpm.cfg.xml" />
- <include name="hibernate.cfg.xml" />
- <include name="*.drl" />
- </fileset>
-
- <!-- Resources to go in the ear -->
- <fileset id="ear.resources" dir="${resources.dir}">
- <include name="META-INF/application.xml" />
- <include name="META-INF/jboss-app.xml" />
- <include name="META-INF/jboss-structure.xml" />
- <include name="META-INF/*-service.xml" />
- <include name="META-INF/*-xmbean.xml" />
- <include name="treecache.xml" />
- <include name="*.jpdl.xml" />
- <exclude name=".gpd.*" />
- <include name="*.cfg.xml" />
- <include name="*.xsd" />
- </fileset>
-
- <!-- Property resources (e.g. themes, i8ln) get put on the classpath -->
- <fileset id="war.classes.resources" dir="${resources.dir}">
- <exclude name="seam.properties" />
- <exclude name="components.properties" />
- <include name="*.properties" />
- </fileset>
-
- <!-- files for Seam Component jars -->
- <patternset id="components-jar.files">
- <include name="**/*.class" />
- <include name="**/*.component.xml" />
- <include name="**/components.xml" />
- </patternset>
-
- <!-- files to use as test resources, by default everything -->
- <patternset id="test.resources.files">
- <include name="**/*" />
- </patternset>
-
- <!-- files from the view/ directory to copy to the test environment, by default *.xml -->
- <patternset id="test.view.files">
- <include name="**/*.page.xml" />
- </patternset>
-
- <patternset id="test.src.files">
- <include name="**/*.xml" />
- </patternset>
-
- <!-- Build classpath -->
- <path id="build.classpath">
- <fileset dir="${lib.dir}">
- <include name="*.jar" />
- <include name="jboss-seam-wicket.jar" />
- <exclude name="jboss-seam-debug.jar" />
- <exclude name="jboss-seam-ui.jar" />
- <exclude name="jboss-seam-mail.jar" />
- <exclude name="jboss-seam-pdf.jar" />
- <!-- <exclude name="jboss-seam-flex.jar" /> -->
- <exclude name="jboss-seam-excel.jar" />
- <exclude name="jboss-seam-rss.jar" />
- <exclude name="hibernate-search.jar" if="jboss6"/>
- <exclude name="lucene-core.jar" if="jboss6"/>
- </fileset>
- <path refid="build.classpath.extras" />
- </path>
-
- <path id="test.classpath">
- <path path="${test.dir}" />
- <fileset dir="${lib.dir}/test">
- <include name="*.jar" />
- </fileset>
- <fileset dir="${lib.dir}">
- <!-- Don't include seam-ui or interop modules -->
- <exclude name="jboss-seam-ui.jar" />
- <exclude name="jboss-seam-wicket.jar" />
- <exclude name="interop/**/*" />
- <exclude name="gen/**/*" />
- <exclude name="src/**/*" />
- </fileset>
- <path path="${eejb.conf.dir}" />
- <path refid="test.classpath.extras" />
- <path refid="build.classpath.extras" />
- <path location="${seam.dir}/src/test/resources/log4j.xml" />
- </path>
-
-
- <!-- ##################### BUILD TARGETS (COMMON) ##################### -->
- <!--
- The build targets which are used for all builds
- -->
-
- <!-- Initialize the build -->
- <target name="init" depends="copyseam,copyseamdependencies,initpoms,copyextradependencies">
- <echo message="Building ${Name} ${version}" />
- <mkdir dir="${jar.dir}" />
- <mkdir dir="${ear.dir}" />
- <mkdir dir="${war.dir}" />
- <mkdir dir="${dist.dir}" />
- </target>
-
- <target name="copyextradependencies" depends="gettrinidad, getmetawidget, getelri, gethsearch3.3, gethsearch3.1" />
-
- <target name="getmetawidget" depends="getmetawidget-war,getmetawidget-ear"/>
-
- <target name="gethsearch3.3" if="jboss6">
- <copyInlineDependencies id="org.hibernate.search" scope="runtime" todir="${example.lib.dir}">
- <dependency groupId="org.hibernate" artifactId="hibernate-search" version="3.3.0.Final">
- <exclusion groupId="org.hibernate" artifactId="hibernate-core"/>
- </dependency>
- <dependency groupId="org.hibernate" artifactId="hibernate-search-analyzers" version="3.3.0.Final" />
- <dependency groupId="org.apache.lucene" artifactId="lucene-snowball" version="3.0.3" />
- </copyInlineDependencies>
- </target>
-
- <target name="gethsearch3.1" if="search.lib.jb5">
- <copyInlineDependencies id="org.hibernate.search" scope="runtime" todir="${example.lib.dir}">
- <dependency groupId="org.apache.solr" artifactId="solr-core" version="1.3.0">
- <exclusion groupId="commons-httpclient" artifactId="commons-httpclient" />
- <exclusion groupId="org.apache.solr" artifactId="solr-solrj" />
- <exclusion groupId="org.apache.solr" artifactId="solr-lucene-queries" />
- <exclusion groupId="org.apache.solr" artifactId="solr-lucene-core" />
- <exclusion groupId="org.apache.solr" artifactId="solr-lucene-highlighter" />
- <exclusion groupId="org.apache.solr" artifactId="solr-lucene-spellchecker" />
- <exclusion groupId="org.apache.solr" artifactId="solr-commons-csv" />
- <exclusion groupId="woodstox" artifactId="wstx-asl" />
- <exclusion groupId="net.java.dev.stax-utils" artifactId="stax-utils" />
- <exclusion groupId="commons-logging" artifactId="commons-logging" />
- <exclusion groupId="org.apache.geronimo.specs" artifactId="geronimo-stax-api_1.0_spec" />
- </dependency>
- </copyInlineDependencies>
- </target>
-
- <target name="getmetawidget-war" if="metawidget-war.lib">
- <copyInlineDependencies id="metawidget" scope="runtime" todir="${lib.dir}">
- <dependency groupId="org.metawidget" artifactId="metawidget" version="0.95"/>
- </copyInlineDependencies>
- </target>
-
- <target name="getmetawidget-ear" if="metawidget-ear.lib">
- <copyInlineDependencies id="metawidget" scope="runtime" todir="${lib.dir}">
- <dependency groupId="org.metawidget" artifactId="metawidget-frontend" version="0.95"/>
- <dependency groupId="org.metawidget" artifactId="metawidget-backend" version="0.95"/>
- </copyInlineDependencies>
- </target>
-
- <target name="gettrinidad" if="trinidad.lib">
- <copyInlineDependencies id="trinidad" scope="runtime" todir="${lib.dir}">
- <dependency groupId="org.apache.myfaces.trinidad" artifactId="trinidad-api" version="1.2.5">
- <exclusion groupId="org.apache.myfaces.trinidad" artifactId="trinidad-build" />
- <exclusion groupId="javax.servlet" artifactId="servlet-api" />
- <exclusion groupId="javax.servlet.jsp" artifactId="jsp-api"/>
- <exclusion groupId="javax.faces" artifactId="jsf-api"/>
- </dependency>
- <dependency groupId="org.apache.myfaces.trinidad" artifactId="trinidad-impl" version="1.2.5">
- <exclusion groupId="org.apache.myfaces.trinidad" artifactId="trinidad-build" />
- <exclusion groupId="javax.servlet" artifactId="servlet-api" />
- <exclusion groupId="javax.servlet.jsp" artifactId="jsp-api"/>
- <exclusion groupId="portlet-api" artifactId="portlet-api"/>
- <exclusion groupId="jstl" artifactId="jstl"/>
- <exclusion groupId="commons-beanutils" artifactId="commons-beanutils"/>
- <exclusion groupId="javax.faces" artifactId="jsf-api"/>
- <exclusion groupId="com.sun.facelets" artifactId="jsf-facelets"/>
- </dependency>
- </copyInlineDependencies>
- </target>
-
- <target name="getelri" if="el-ri.lib">
- <copyInlineDependencies id="elri" scope="runtime" todir="${lib.dir}">
- <dependency groupId="javax.el" artifactId="el-ri" version="1.2" />
- </copyInlineDependencies>
- </target>
-
- <!-- Use the Eclipse compiler, if it is available -->
- <target name="select-compiler">
- <available classname="org.eclipse.jdt.core.JDTCompilerAdapter" property="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" />
- </target>
-
- <!-- Compile the source code, directly into the jar -->
- <target name="compile" depends="init, select-compiler">
- <javac classpathref="build.classpath" destdir="${jar.dir}" debug="${javac.debug}" deprecation="${javac.deprecation}" nowarn="on" >
- <src path="${src.java.dir}" />
- </javac>
- <copy todir="${jar.dir}">
- <fileset dir="${src.java.dir}">
- <include name="**/*.component.xml" />
- <include name="**/components.xml" />
- </fileset>
- </copy>
- </target>
-
- <!-- Build the exploded jar -->
- <target name="jar" depends="compile">
- <copy todir="${jar.dir}">
- <fileset refid="jar.resources" />
- <fileset refid="jar.extras" />
- <filterset>
- <filter token="distributable" value="${distributable}" />
- </filterset>
- </copy>
- <!-- copy decision tables (binary) without the filter definitions
- so that they won't get corrupted -->
- <copy todir="${jar.dir}">
- <fileset refid="jar.binary.resources" />
- </copy>
- </target>
-
- <target name="init.war">
- <property name="distributable" value="false"/>
- </target>
-
- <!-- Build the exploded war -->
- <target name="war" depends="compile, init.war">
- <copy todir="${war.dir}">
- <fileset refid="war.view" />
- <fileset refid="war.extras" />
- </copy>
- <copy todir="${war.dir}/WEB-INF/lib">
- <fileset refid="seam.debug.jar" />
- <fileset refid="seam.ioc.jar" />
- <fileset refid="seam.mail.jar" />
- <fileset refid="seam.excel.jar" />
- <fileset refid="seam.rss.jar" />
- <fileset refid="seam.pdf.jar" />
- <!-- <fileset refid="seam.flex.jar" /> -->
- <fileset refid="seam.ui.jar" />
- <fileset refid="facelets.jar" />
- <fileset refid="urlrewrite.jar" />
- <fileset refid="richfaces-impl.jar" />
- <fileset refid="trinidad-impl.jar" />
- <fileset refid="metawidget-frontend.jar" />
- <fileset refid="jboss-common-core.jar" />
- <fileset refid="war.lib.extras" />
- <fileset refid="tomcat-standard-tag.jar" />
- <mapper type="flatten" />
- </copy>
- <!-- Put properties into the classpath -->
- <copy todir="${war.dir}/WEB-INF/classes">
- <fileset refid="war.classes.resources" />
- </copy>
- </target>
-
- <target name="clean" description="Cleans up the build directory">
- <delete dir="${dist.dir}" />
- <delete dir="${exploded-archives.dir}" />
- <delete dir="${ear.dir}" />
- <delete dir="${war.dir}" />
- <delete dir="${jar.dir}" />
- <delete dir="${test.dir}" />
- <delete dir="${clean.extra}" />
- <delete dir="${staging.dir}" />
- <delete dir="${example.lib.dir}" />
- </target>
-
-
- <!-- #################### BUILD TARGETS (JBOSS AS EAR) #################### -->
- <!--
- The build targets for the examples. Both unexploded (deploy, undeploy)
- and unexploded (explode, unexplode, restart) deployment is possible.
- -->
-
- <!-- Extend the standard war target to add extras which JBoss needs -->
- <target name="jboss.war" depends="war">
- <!-- Copy in resources, with filtering -->
- <copy todir="${war.dir}">
- <fileset refid="war.resources" />
- <filterset>
- <filter token="debug" value="${debug}" />
- <filter token="distributable" value="${distributable}" />
- <filter token="jndiPattern" value="${example.name}/#{ejbName}/local" />
- <filter token="loadPersistenceUnits" value="${loadPersistenceUnits}" />
- </filterset>
- </copy>
- </target>
-
- <target name="distributable.war" if="use.session.replication">
- <replace file="${war.dir}/WEB-INF/web.xml">
- <replacetoken><![CDATA[<!-- <distributable/> -->]]></replacetoken>
- <replacevalue><![CDATA[<distributable/>]]></replacevalue>
- </replace>
- </target>
-
- <!-- Build the exploded ear -->
- <target name="ear">
- <copy todir="${ear.dir}">
- <fileset refid="seam.jar" />
- <fileset refid="ear.resources" />
- <fileset refid="ear.extras" />
- </copy>
- <mkdir dir="${ear.dir}/lib" />
- <copy todir="${ear.dir}/lib">
- <fileset refid="richfaces-api.jar" />
- <fileset refid="ear.lib.extras" />
- <fileset refid="jboss-el.jar" />
- <fileset refid="cglib.jar" />
- <fileset refid="drools.jar" />
- <fileset refid="jbpm.jar" />
- <fileset refid="cache.jar" />
- <fileset refid="search.jar" />
- <fileset refid="dbunit.jar" />
- <fileset refid="jboss-embedded-api.jar" />
- <fileset refid="gwt.jar" />
- <fileset refid="quartz.jar" />
- <fileset refid="seam.pdf.extra.jar" />
- <fileset refid="seam.flex.extra.jar" />
- <fileset refid="spring.jar" />
- <fileset refid="jcaptcha.jar" />
- <fileset refid="antlr.jar" />
- <fileset refid="wicket-extensions.jar" />
- <fileset refid="wicket-datetime.jar" />
- <fileset refid="seam.wicket.jar" />
- <fileset refid="seam.resteasy.jar" />
- <fileset refid="seam.remoting.jar" />
- <fileset refid="seam.flex.jar" />
- <fileset refid="seam.ioc-guice.jar" />
- <fileset refid="el-ri.jar" />
- <fileset refid="trinidad-api.jar" />
- <fileset refid="metawidget-backend.jar" />
- <fileset refid="jboss-common-core.jar" />
- <fileset refid="openid.jar" />
- <fileset refid="hibernate-deps" />
- <mapper type="flatten" />
- </copy>
- </target>
-
- <target name="archive" depends="jar,jboss.war,distributable.war,ear" description="Package the archives">
- <jar jarfile="${dist.dir}/${example.name}.jar" basedir="${jar.dir}" />
- <jar jarfile="${dist.dir}/${example.name}.war" basedir="${war.dir}" />
- <jar jarfile="${dist.dir}/${example.name}.ear">
- <fileset dir="${ear.dir}" />
- <fileset dir="${dist.dir}">
- <include name="${example.name}.jar" />
- <include name="${example.name}.war" />
- </fileset>
- </jar>
- </target>
-
- <!-- Deploy the target to JBoss AS -->
- <target name="deploy" depends="archive, datasource, service, meldware" description="Deploy the example to JBoss AS">
- <fail unless="jboss.home">
- jboss.home not set, update build.properties
- </fail>
- <copy file="${dist.dir}/${example.name}.ear" todir="${deploy.dir}" />
- </target>
-
- <!-- Deploy meldware to JBoss AS -->
- <target name="meldware" if="deploy.meldware.mail">
- <copyInlineDependencies id="jbosscommoncore" scope="runtime" todir="${meldware.dir}">
- <dependency groupId="org.buni.meldware" artifactId="mail" type="ear" version="1.0M8" />
- <dependency groupId="org.buni.meldware" artifactId="meldware" type="store" version="1.0M8" />
- <dependency groupId="org.buni.meldware" artifactId="meldwarebase" type="sar" version="1.0M8" />
- </copyInlineDependencies>
- <copy todir="${deploy.dir}">
- <fileset dir="${meldware.dir}">
- <patternset refid="meldware.files" />
- </fileset>
- </copy>
- <copy todir="${conf.dir}">
- <fileset dir="${meldware.dir}">
- <patternset refid="meldware.conf.files" />
- </fileset>
- </copy>
- </target>
-
- <target name="undeploy" description="Undeploy the example from JBoss">
- <delete file="${deploy.dir}/${example.name}.ear" />
- <delete file="${deploy.dir}/${example.ds}" />
- <delete file="${deploy.dir}/${example.service}" failonerror="no" />
- <delete file="${deploy.dir}/${example.jms}" failonerror="no"/>
- <delete>
- <fileset dir="${deploy.dir}">
- <patternset refid="meldware.files" />
- </fileset>
- </delete>
- </target>
-
- <!-- Copy the data source to JBoss AS -->
- <target name="datasource">
- <fail unless="jboss.home">jboss.home not set</fail>
- <copy todir="${deploy.dir}">
- <fileset dir="${resources.dir}">
- <include name="${example.ds}" />
- </fileset>
- </copy>
- </target>
-
- <!-- Copy service file to JBoss AS -->
- <target name="service">
- <fail unless="jboss.home">jboss.home not set</fail>
- <copy todir="${deploy.dir}">
- <fileset dir="${resources.dir}">
- <include name="${example.service}" if="nohornetq"/>
- <include name="${example.jms}" if="hornetq" />
- </fileset>
- </copy>
- </target>
-
- <target name="init.distributable">
- <property name="distributable" value="true"/>
- <condition property="use.session.replication">
- <or>
- <not><isset property="session.replication"/></not>
- <equals arg1="${session.replication}" arg2="true"/>
- </or>
- </condition>
- </target>
-
- <target name="farm-archive" depends="init.distributable,archive"/>
-
- <!-- FIXME Set the deploy.dir dynamically to avoid the duplicate targets for farming -->
-
- <target name="farm-datasource" description="Deploy the datasource to a JBoss AS cluster">
- <fail unless="jboss.home">jboss.home not set</fail>
- <copy todir="${farm.deploy.dir}">
- <fileset dir="${resources.dir}">
- <include name="${example.ds}" />
- </fileset>
- </copy>
- </target>
-
- <target name="farm" depends="farm-archive,farm-datasource" description="Deploy the example to a JBoss AS cluster">
- <fail unless="jboss.home">
- jboss.home not set, update build.properties
- </fail>
- <copy file="${dist.dir}/${example.name}.ear" todir="${farm.deploy.dir}" />
- </target>
-
- <target name="unfarm" description="Undeploy the example from a JBoss AS cluster">
- <delete file="${farm.deploy.dir}/${example.name}.ear" />
- <delete file="${farm.deploy.dir}/${example.ds}" />
- </target>
-
- <target name="explode" depends="jar,jboss.war,ear,datasource, meldware" description="Deploy the exploded archive">
- <fail unless="jboss.home">jboss.home not set</fail>
-
- <mkdir dir="${jar.deploy.dir}" />
- <mkdir dir="${war.deploy.dir}" />
-
- <copy todir="${jar.deploy.dir}">
- <fileset dir="${jar.dir}" />
- </copy>
- <copy todir="${war.deploy.dir}">
- <fileset dir="${war.dir}" />
- </copy>
- <copy todir="${ear.deploy.dir}">
- <fileset dir="${ear.dir}" />
- </copy>
- </target>
-
- <target name="unexplode" description="Undeploy the exploded archive">
- <delete failonerror="no">
- <fileset dir="${ear.deploy.dir}">
- <exclude name="**/*.jar" />
- </fileset>
- </delete>
- <delete file="${deploy.dir}/${example.ds}" failonerror="no" />
- <delete file="${deploy.dir}/${example.name}-service.xml" failonerror="no" />
- <delete dir="${ear.deploy.dir}" failonerror="no" />
- <delete failonerror="no">
- <fileset dir="${deploy.dir}">
- <patternset refid="meldware.files" />
- </fileset>
- </delete>
- </target>
-
- <target name="restart" depends="explode" description="Restart the exploded archive">
- <touch file="${ear.deploy.dir}/META-INF/application.xml" />
- </target>
-
- <target name="restartclean" depends="clean, unexplode, restart" description="Clean the example and restart it" />
-
- <!-- #################### BUILD TARGETS (TOMCAT) #################### -->
-
-
- <target name="tomcat.warn">
- <echo message="If you built for JBoss AS, remember to run clean before building for Tomcat" />
- <echo message="Remember to configure Embedded JBoss" />
- </target>
-
- <target name="tomcat.jar" depends="jar">
- <copy todir="${jar.dir}">
- <fileset refid="tomcat.jar.resources" />
- </copy>
- </target>
-
- <!-- Extend the standard war target to add extras which Tomcat needs -->
- <target name="tomcat.war" depends="war">
- <copy todir="${war.dir}/WEB-INF/lib">
- <fileset refid="seam.jar" />
- <fileset refid="tomcat.war.extras" />
- <fileset refid="cglib.jar" />
- <fileset refid="drools.jar" />
- <fileset refid="cache.jar" />
- <fileset refid="jbpm.jar" />
- <fileset refid="tomcat.jbpm.jar" />
- <fileset refid="seam.remoting.jar" />
- <fileset refid="seam.wicket.jar"/>
- <fileset refid="seam.debug.jar" />
- <fileset refid="wicket-extensions.jar"/>
- <fileset refid="wicket-datetime.jar"/>
- <fileset refid="seam.debug.jar"/>
- <fileset refid="spring.jar" />
- <fileset refid="gwt.jar" />
- <fileset refid="openid.jar" />
- <fileset refid="jboss-el.jar" />
- <fileset refid="jsf.jar" />
- <fileset refid="search.jar" />
- <fileset refid="richfaces-api.jar" />
- <fileset refid="seam.pdf.extra.jar" />
- <fileset refid="seam.flex.extra.jar" />
- <mapper type="flatten" />
- </copy>
- <!-- Copy in resources, with filtering -->
- <copy todir="${war.dir}">
- <fileset refid="war.resources" />
- <filterset>
- <filter token="debug" value="${debug}" />
- <filter token="distributable" value="${distributable}" />
- <filter token="jndiPattern" value="#{ejbName}/local" />
- </filterset>
- </copy>
- </target>
-
- <target name="tomcat.archive" depends="tomcat.warn,tomcat.jar,tomcat.war" description="Package the archives for tomcat">
- <jar jarfile="${dist.dir}/${example.name}.jar" basedir="${jar.dir}" />
- <jar jarfile="${dist.dir}/${example.name}.war">
- <fileset dir="${war.dir}" />
- <zipfileset dir="${dist.dir}" prefix="WEB-INF/lib">
- <include name="${example.name}.jar" />
- </zipfileset>
- </jar>
- </target>
-
- <target name="tomcat.deploy" depends="tomcat.archive" description="Deploy the example to Tomcat">
-
- <fail unless="tomcat.home">
- tomcat.home not set, update build.properties
- </fail>
- <copy file="${dist.dir}/${example.name}.war" todir="${tomcat.deploy.dir}" />
- </target>
-
- <target name="tomcat.undeploy" description="Undeploy the example from Tomcat">
- <delete file="${tomcat.deploy.dir}/${example.name}.war" />
- </target>
-
-
-
- <!-- #################### BUILD TARGETS (NOEJB) ##################### -->
-
- <target name="noejb.jar" depends="jar">
- <copy todir="${war.dir}/WEB-INF/classes">
- <fileset dir="${jar.dir}">
- <exclude name="**/ejb-jar.xml" />
- </fileset>
- <fileset refid="noejb.jar.extras" />
- <fileset refid="noejb.jar.resources" />
- </copy>
- </target>
-
- <!-- Extend the standard war target to add extras which non-ejb wars needs -->
- <target name="noejb.war" depends="war">
- <copy todir="${war.dir}/WEB-INF/lib">
- <fileset refid="seam.jar" />
- <fileset refid="noejb.war.lib.extras" />
- <fileset refid="cglib.jar" />
- <fileset refid="drools.jar" />
- <fileset refid="cache.jar" />
- <fileset refid="jbpm.jar" />
- <fileset refid="hibernate-deps" />
- <fileset refid="spring.jar" />
- <fileset refid="gwt.jar" />
- <fileset refid="jboss-el.jar" />
- <fileset refid="search.jar" />
- <fileset refid="richfaces-api.jar" />
- <fileset refid="groovy.jar" />
- <fileset refid="wicket-extensions.jar" />
- <fileset refid="wicket-datetime.jar" />
- <fileset refid="seam.wicket.jar" />
- <fileset refid="seam.resteasy.jar" />
- <fileset refid="trinidad-api.jar" />
- <fileset refid="metawidget.jar" />
- <fileset refid="el-ri.jar"/>
- <mapper type="flatten" />
- </copy>
- <copy todir="${war.dir}">
- <fileset refid="noejb.war.extras" />
- </copy>
- <!-- Copy in resources, with filtering -->
- <copy todir="${war.dir}">
- <fileset refid="war.resources" />
- <filterset>
- <filter token="debug" value="${debug}" />
- <filter token="distributable" value="${distributable}" />
- <filter token="jndiPattern" value="#{ejbName}/local" />
- <filter token="loadPersistenceUnits" value="${loadPersistenceUnits}" />
- </filterset>
- </copy>
- </target>
-
- <target name="noejb.archive" depends="noejb.jar,noejb.war,distributable.war" description="Package the archives for non-ejb war">
- <jar jarfile="${dist.dir}/${example.name}.war">
- <fileset dir="${war.dir}" />
- <zipfileset dir="${dist.dir}" prefix="WEB-INF/lib">
- <include name="${example.name}.jar" />
- </zipfileset>
- </jar>
- </target>
-
- <!-- #################### BUILD TARGETS (JBOSS AS WAR) #################### -->
-
- <target name="jbosswar.deploy" depends="noejb.archive, datasource" description="Deploy the example to JBoss AS">
- <fail unless="jboss.home">
- jboss.home not set, update build.properties
- </fail>
- <copy file="${dist.dir}/${example.name}.war" todir="${deploy.dir}" />
- </target>
-
- <target name="jbosswar.undeploy" description="Undeploy the example from JBoss">
- <delete file="${deploy.dir}/${example.name}.war" />
- </target>
-
- <target name="noejb.farm-archive" depends="init.distributable,noejb.archive"/>
-
- <!-- FIXME Set the deploy.dir dynamically to avoid the duplicate targets for farming -->
-
- <target name="jbosswar.farm" depends="noejb.farm-archive,farm-datasource" description="Deploy the example to a JBoss AS cluster">
- <fail unless="jboss.home">
- jboss.home not set, update build.properties
- </fail>
- <copy file="${dist.dir}/${example.name}.war" todir="${farm.deploy.dir}" />
- </target>
-
- <target name="jbosswar.unfarm" description="Undeploy the example from a JBoss AS cluster">
- <delete file="${farm.deploy.dir}/${example.name}.war" />
- </target>
-
- <target name="jbosswar.explode" depends="noejb.jar, noejb.war, datasource" description="Deploy the example (exploded) to JBoss AS">
- <fail unless="jboss.home">
- jboss.home not set, update build.properties
- </fail>
- <copy todir="${deploy.dir}/${example.name}.war">
- <fileset dir="${exploded-archives.dir}/${example.name}.war" />
- </copy>
- <copy todir="${deploy.dir}/${example.name}.war/WEB-INF/classes">
- <fileset dir="${exploded-archives.dir}/${example.name}.jar" />
- </copy>
- </target>
-
- <target name="jbosswar.restart" depends="jbosswar.explode" description="Restart the exploded archive">
- <touch file="${deploy.dir}/${example.name}.war/WEB-INF/web.xml" />
- </target>
-
- <target name="jbosswar.unexplode" description="Undeploy the example from JBoss">
- <delete dir="${deploy.dir}/${example.name}.war" />
- <delete file="${deploy.dir}/${example.ds}" failonerror="no" />
- <delete file="${deploy.dir}/${example.name}-service.xml" failonerror="no" />
- </target>
-
- <!-- #################### TEST TARGETS (JBOSS AS) ##################### -->
- <!--
- You can test the example by running the test target.
- -->
-
- <target name="validateConfiguration" description="Validate XML Configuration files">
- <echo message="Validating configuaration files for ${Name}" />
- <ant antfile="${build.dir}/validate.xml" target="validateConfiguration">
- <reference refid="validate.resources" />
- </ant>
- </target>
-
- <!-- Compile the test classes -->
- <target name="compiletest" unless="eclipse.running" depends="init">
- <mkdir dir="${test.dir}" />
- <javac classpathref="build.classpath" destdir="${test.dir}" debug="${javac.debug}" deprecation="${javac.deprecation}" nowarn="on">
- <src path="${src.java.dir}" />
- <src path="${src.test.dir}" />
- </javac>
- </target>
-
- <!-- Build the exploded test directory structure -->
- <target name="buildtest" depends="compiletest">
- <copy todir="${test.dir}">
- <fileset dir="${resources.dir}">
- <patternset refid="test.resources.files" />
- </fileset>
- </copy>
- <copy todir="${test.dir}">
- <fileset dir="${src.test.dir}">
- <patternset refid="test.src.files" />
- </fileset>
- </copy>
- <copy todir="${test.dir}">
- <fileset dir="${view.dir}">
- <patternset refid="test.view.files" />
- </fileset>
- </copy>
- </target>
-
- <target name="test" depends="buildtest, copyjbossembedded,getemma" description="Run the tests">
- <condition property="incompatible.jdk">
- <and>
- <equals arg1="${ant.java.version}" arg2="1.6"/>
- <not><available classname="javax.xml.bind.JAXB"/></not>
- </and>
- </condition>
- <fail if="incompatible.jdk">You are using an incompatible JDK 6. Please use Sun JDK 6 Update 4 (1.6.0_04) or newer or use Open JDK 6.</fail>
- <taskdef resource="testngtasks" classpathref="test.classpath" />
- <testng outputdir="${test-report.dir}">
- <jvmarg line="-Xmx800M" />
- <jvmarg line="-Djava.awt.headless=true" />
- <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
- <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
- <!--added for JDK6 compatibility with JBoss embedded-->
- <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
- <jvmarg line="${testng.jvmargs}" />
- <classpath>
- <path refid="test.classpath" />
- <path refid="runtime.emma.path" />
- </classpath>
- <xmlfileset dir="${src.test.dir}" includes="**/testng.xml" />
- </testng>
- <echo>You can increase the logging by editing bootstrap/log4j.xml</echo>
- </target>
-
- <target name="testclass" depends="buildtest, copyjbossembedded,getemma" description="Run a specific test">
- <taskdef resource="testngtasks" classpathref="build.classpath" />
- <testng outputdir="${test-report.dir}" testname="${className}" suitename="${className}" >
- <jvmarg line="-Xmx800M" />
- <jvmarg line="-Djava.awt.headless=true" />
- <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
- <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
- <!--added for JDK6 compatibility with JBoss embedded-->
- <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
- <jvmarg line="${testng.jvmargs}" />
- <classpath>
- <path refid="test.classpath" />
- <path refid="runtime.emma.path" />
- </classpath>
- <classfileset dir="${test.dir}" includes="**/${className}.class"/>
- </testng>
- <echo>You can increase the logging by editing bootstrap/log4j.xml</echo>
- </target>
-
- <target name="example-info">
- <echo>
-This is the Seam examples directory. The example projects can be run
-using the individual build files in the each example subdirectory.
- </echo>
- </target>
-</project>
12 years, 7 months
Seam SVN: r14202 - branches/community/Seam_2_3/jboss-seam-parent.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:54:04 -0400 (Mon, 26 Sep 2011)
New Revision: 14202
Modified:
branches/community/Seam_2_3/jboss-seam-parent/pom.xml
Log:
changed order of modules in distribution profile
Modified: branches/community/Seam_2_3/jboss-seam-parent/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-parent/pom.xml 2011-09-26 15:53:50 UTC (rev 14201)
+++ branches/community/Seam_2_3/jboss-seam-parent/pom.xml 2011-09-26 15:54:04 UTC (rev 14202)
@@ -1835,9 +1835,9 @@
<profile>
<id>distribution</id>
<modules>
- <module>../distribution</module>
<module>../examples</module>
<module>../seam-reference-guide</module>
+ <module>../distribution</module>
</modules>
<build>
<plugins>
12 years, 7 months
Seam SVN: r14201 - branches/community/Seam_2_3/distribution/src/main/assembly.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:53:50 -0400 (Mon, 26 Sep 2011)
New Revision: 14201
Modified:
branches/community/Seam_2_3/distribution/src/main/assembly/copyright.txt
Log:
changed Copyright.txt
Modified: branches/community/Seam_2_3/distribution/src/main/assembly/copyright.txt
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/copyright.txt 2011-09-26 15:53:31 UTC (rev 14200)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/copyright.txt 2011-09-26 15:53:50 UTC (rev 14201)
@@ -1,14 +1,15 @@
-JBoss Seam is Copyright 2005-2009, Red Hat Middleware LLC and individual
+JBoss Seam is Copyright 2005-2011, JBoss by Red Hat and individual
contributors. It is licensed under the GNU LGPL except where otherwise
noted in the source file's header.
A summary of the individual contributors is given below. Any omission should
-be sent to Pete Muir <pmuir(a)redhat.com>.
+be sent to mnovotny(a)redhat.com.
SCM Login(s) Name Role
------------------------------------------------------------------------
gavin Gavin King Project founder
-pmuir,pete.muir(a)jboss.org Pete Muir Project lead
+manaRH Marek Novotny Project lead
+pmuir,pete.muir(a)jboss.org Pete Muir
dan.j.allen Dan Allen
max.andersen(a)jboss.com Max Rydahl Andersen
jbalunas(a)redhat.com Jay Balunas
@@ -21,7 +22,6 @@
theute Thomas Heute
alesj Ales Justin
nickarls Nicklas Karlsson
-manaRH Marek Novotny
jacob.orshalick Jacob Orshalick
cpopetz Clint Popetz
nrichards,norman.richards(a)jboss.com Norman Richards
12 years, 7 months
Seam SVN: r14200 - branches/community/Seam_2_3/jboss-seam.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:53:31 -0400 (Mon, 26 Sep 2011)
New Revision: 14200
Modified:
branches/community/Seam_2_3/jboss-seam/pom.xml
Log:
added creation of jboss-seam-wls-compatible jars for Weblogic
Modified: branches/community/Seam_2_3/jboss-seam/pom.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam/pom.xml 2011-09-26 15:53:12 UTC (rev 14199)
+++ branches/community/Seam_2_3/jboss-seam/pom.xml 2011-09-26 15:53:31 UTC (rev 14200)
@@ -57,6 +57,40 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <configuration>
+ <target>
+ <jar destfile="${project.build.directory}/jboss-seam-wls-compatible.jar">
+ <zipfileset includes="**/*" excludes="org/jboss/seam/async/TimerServiceDispatcher*" src="${project.build.directory}/jboss-seam.jar"/>
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Title" value="JBoss Seam Weblogic compatible"/>
+ <attribute name="Implementation-Version" value="${project.version}"/>
+ </manifest>
+ </jar>
+ <jar destfile="${project.build.directory}/jboss-seam-wls-compatible-sources.jar">
+ <zipfileset includes="**/*" excludes="org/jboss/seam/async/TimerServiceDispatcher.java" src="${project.build.directory}/jboss-seam-sources.jar"/>
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Implementation-Vendor" value="${project.organization.name}"/>
+ <attribute name="Implementation-Title" value="JBoss Seam Weblogic compatible"/>
+ <attribute name="Implementation-Version" value="${project.version}"/>
+ </manifest>
+ </jar>
+ </target>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
12 years, 7 months
Seam SVN: r14199 - in branches/community/Seam_2_3: distribution/src/main/assembly and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-09-26 11:53:12 -0400 (Mon, 26 Sep 2011)
New Revision: 14199
Added:
branches/community/Seam_2_3/distribution/src/main/assembly/seam
branches/community/Seam_2_3/distribution/src/main/assembly/seam.bat
branches/community/Seam_2_3/jboss-seam-gen/dist/ivy/ivy.settings.xml
Modified:
branches/community/Seam_2_3/.gitignore
Log:
fixed missing ignored project files in seam-gen - second try
Modified: branches/community/Seam_2_3/.gitignore
===================================================================
--- branches/community/Seam_2_3/.gitignore 2011-09-26 15:52:30 UTC (rev 14198)
+++ branches/community/Seam_2_3/.gitignore 2011-09-26 15:53:12 UTC (rev 14199)
@@ -1,7 +1,7 @@
# ignore eclipse files
.project
.classpath
-*.settings*
+.settings/
*.ipr
.idea
*.iws
Added: branches/community/Seam_2_3/distribution/src/main/assembly/seam
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/seam (rev 0)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/seam 2011-09-26 15:53:12 UTC (rev 14199)
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+##############################################
+# #
+# seam-gen - Seam project and code generator #
+# #
+##############################################
+
+# Validate the JDK installation
+if [ -z "$JAVA_HOME" ]; then
+ echo "The JAVA_HOME environment variable is not set"
+ echo "Please point it to a JDK installation"
+ exit 1
+elif [ ! -x "$JAVA_HOME/bin/javac" ]; then
+ echo "The JAVA_HOME environment variable should point to a JDK, not a JRE"
+ exit 1
+fi
+
+WORKING_DIR=$PWD
+
+if [ -z "$SEAM_HOME" ]; then
+ if [ -h "$0" ]; then
+ SEAM_SCRIPT=`readlink "$0"`
+ else
+ SEAM_SCRIPT=$0
+ fi
+ # get the full path without any relative bits (not really necessary)
+ SEAM_SCRIPT_ABS_PATH=`readlink -f "$0" 2>/dev/null`
+ if [ $? -eq 0 ]; then
+ SEAM_SCRIPT=$SEAM_SCRIPT_ABS_PATH
+ fi
+ SEAM_HOME=`dirname "$SEAM_SCRIPT"`
+fi
+
+SEAM_GEN_DIR="$SEAM_HOME/seam-gen"
+SEAM_COMMAND="$1"
+
+echo "SEAM_HOME: $SEAM_HOME"
+echo "Using seam-gen sources from: $SEAM_GEN_DIR"
+
+cygwin=false;
+case "`uname`" in
+ CYGWIN*)
+ cygwin=true
+ ;;
+esac
+
+if [ -z "$SEAM_COMMAND" ]; then
+ cat "$SEAM_GEN_DIR/USAGE"
+elif [ "$SEAM_COMMAND" = help ]; then
+ cat "$SEAM_GEN_DIR/README"
+elif $cygwin; then
+ # Must pass real Windows paths to Java (Java doesn't execute in the context of cgywin)
+ JAVA_HOME_WINPATH=`cygpath -aw "$JAVA_HOME"`
+ SEAM_HOME_WINPATH=`cygpath -aw "$SEAM_HOME"`
+ SEAM_GEN_DIR_WINPATH=`cygpath -aw "$SEAM_GEN_DIR"`
+ WORKING_DIR_WINPATH=`cygpath -aw "$WORKING_DIR"`
+ "$JAVA_HOME/bin/java" -cp "$JAVA_HOME_WINPATH\lib\tools.jar;$SEAM_HOME_WINPATH\build\lib\ant-launcher.jar;$SEAM_HOME_WINPATH\build\lib\ant-nodeps.jar;$SEAM_HOME_WINPATH\build\lib\ant.jar" -Dant.home="$SEAM_HOME_WINPATH\lib" org.apache.tools.ant.launch.Launcher -buildfile "$SEAM_GEN_DIR_WINPATH\build.xml" -Dworking.dir="$WORKING_DIR_WINPATH" "$@"
+else
+ "$JAVA_HOME/bin/java" -cp "$JAVA_HOME/lib/tools.jar:$SEAM_HOME/build/lib/ant-launcher.jar:$SEAM_HOME/build/lib/ant-nodeps.jar:$SEAM_HOME/build/lib/ant.jar" -Dant.home="$SEAM_HOME/lib" org.apache.tools.ant.launch.Launcher -buildfile "$SEAM_GEN_DIR/build.xml" -Dworking.dir="$WORKING_DIR" "$@"
+fi
Property changes on: branches/community/Seam_2_3/distribution/src/main/assembly/seam
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/community/Seam_2_3/distribution/src/main/assembly/seam.bat
===================================================================
--- branches/community/Seam_2_3/distribution/src/main/assembly/seam.bat (rev 0)
+++ branches/community/Seam_2_3/distribution/src/main/assembly/seam.bat 2011-09-26 15:53:12 UTC (rev 14199)
@@ -0,0 +1,63 @@
+@echo off
+@if "%OS%" == "Windows_NT" setlocal
+
+rem ##############################################
+rem # #
+rem # seam-gen - Seam project and code generator #
+rem # #
+rem ##############################################
+
+set WORKING_DIR=%CD%
+if "%WORKING_DIR:~-1%" == "\" (
+ set WORKING_DIR=%WORKING_DIR:~0,-1%
+)
+
+if ["%SEAM_HOME%"] == [""] (
+ set SEAM_HOME=%~dp0
+) else (
+ if not exist "%SEAM_HOME%\seam.bat" (goto noseam)
+)
+if "%SEAM_HOME:~-1%" == "\" (
+ set SEAM_HOME=%SEAM_HOME:~0,-1%
+)
+
+set SEAM_GEN_DIR=%SEAM_HOME%\seam-gen
+set COMMAND=%1%
+
+if [%COMMAND%] == [] (goto usage)
+
+if %COMMAND% == help (goto help)
+
+if ["%JAVA_HOME%"] == [""] (goto nojava)
+
+if not exist "%JAVA_HOME%\bin\javac.exe" (goto nojdk)
+
+echo SEAM_HOME: %SEAM_HOME%
+echo Using seam-gen sources from: %SEAM_GEN_DIR%
+
+"%JAVA_HOME%\bin\java" -cp "%JAVA_HOME%\lib\tools.jar;%SEAM_HOME%\build\lib\ant-launcher.jar;%SEAM_HOME%\build\lib\ant-nodeps.jar;%SEAM_HOME%\build\lib\ant.jar" -Dant.home="%SEAM_HOME%\lib" org.apache.tools.ant.launch.Launcher -buildfile "%SEAM_GEN_DIR%\build.xml" -Dworking.dir="%WORKING_DIR%" %*
+
+goto END_NO_PAUSE
+
+:nojava
+echo The JAVA_HOME environment variable is not set
+echo Please point it to a JDK installation
+goto END_NO_PAUSE
+
+:nojdk
+echo The JAVA_HOME environment variable should point to a JDK, not a JRE
+goto END_NO_PAUSE
+
+:noseam
+echo The SEAM_HOME environment variable should point to a Seam distribution
+goto END_NO_PAUSE
+
+:usage
+more "%SEAM_GEN_DIR%\USAGE"
+goto END_NO_PAUSE
+
+:help
+more "%SEAM_GEN_DIR%\README"
+goto END_NO_PAUSE
+
+:END_NO_PAUSE
Property changes on: branches/community/Seam_2_3/distribution/src/main/assembly/seam.bat
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/community/Seam_2_3/jboss-seam-gen/dist/ivy/ivy.settings.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/ivy/ivy.settings.xml (rev 0)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/ivy/ivy.settings.xml 2011-09-26 15:53:12 UTC (rev 14199)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ivysettings>
+ <settings defaultResolver="seam"/>
+ <include url="${ivy.default.settings.dir}/ivysettings.xml" />
+ <resolvers>
+ <ibiblio name="jboss" m2compatible="true" usepoms="true" root="${jboss.repo}" pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/>
+ <ibiblio name="jboss-deprec" m2compatible="true" usepoms="true" root="${jboss.deprecated.repo}" pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"/>
+ <chain name="seam" dual="true">
+ <!-- local is always checked; public needs to be before jboss to allow Ivy to properly locate sources -->
+ <resolver ref="public"/>
+ <resolver ref="jboss"/>
+ <resolver ref="jboss-deprec"/>
+ </chain>
+ </resolvers>
+</ivysettings>
12 years, 7 months