Seam SVN: r14152 - branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-08-17 11:02:19 -0400 (Wed, 17 Aug 2011)
New Revision: 14152
Modified:
branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/Image.java
Log:
JBSEAM-4833 - fixed integers division ending in float variable
Modified: branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/Image.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/Image.java 2011-08-17 15:01:45 UTC (rev 14151)
+++ branches/community/Seam_2_3/jboss-seam-ui/src/main/java/org/jboss/seam/ui/graphicImage/Image.java 2011-08-17 15:02:19 UTC (rev 14152)
@@ -325,8 +325,8 @@
public Image scaleToFit(int height, int width)
throws IOException
{
- float hratio = height/getHeight();
- float wratio = width/getWidth();
+ float hratio = (float) height/getHeight();
+ float wratio = (float) width/getWidth();
if (hratio < wratio) {
return scaleToHeight(height);
13 years, 5 months
Seam SVN: r14151 - in branches/community/Seam_2_3/examples/jpa/jpa-web: src/main/resources/META-INF and 1 other directories.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-08-17 11:01:45 -0400 (Wed, 17 Aug 2011)
New Revision: 14151
Added:
branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
Modified:
branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml
branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/resources/META-INF/persistence.xml
Log:
adding profile jbossas7 to JPA example to get deployment and running on JBoss AS 7 Final
Modified: branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml 2011-08-17 13:13:27 UTC (rev 14150)
+++ branches/community/Seam_2_3/examples/jpa/jpa-web/pom.xml 2011-08-17 15:01:45 UTC (rev 14151)
@@ -138,6 +138,102 @@
<profiles>
<profile>
+ <id>jbossas7</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>src/main/webapp</directory>
+ <filtering>true</filtering>
+ </resource>
+ </webResources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.as.plugins</groupId>
+ <artifactId>jboss-as-maven-plugin</artifactId>
+ <version>7.0.0.Final</version>
+ <configuration>
+ <filename>${project.build.finalName}.war</filename>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-entitymanager</artifactId>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jpa</groupId>
+ <artifactId>ejb3-persistence</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>antlr</groupId>
+ <artifactId>antlr</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-annotations</artifactId>
+ <scope>compile</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>ejb3-persistence</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>dom4j</groupId>
+ <artifactId>dom4j</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>jbossas51</id>
<activation>
<activeByDefault>true</activeByDefault>
Modified: branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/resources/META-INF/persistence.xml
===================================================================
--- branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/resources/META-INF/persistence.xml 2011-08-17 13:13:27 UTC (rev 14150)
+++ branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/resources/META-INF/persistence.xml 2011-08-17 15:01:45 UTC (rev 14151)
@@ -9,7 +9,7 @@
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
- <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
+<!-- <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/> -->
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
<!-- Binds the EntityManagerFactory to JNDI where Seam can look it up.
This is only relevant when the container automatically loads the persistence unit, as is the case in JBoss AS 5. -->
Added: branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/webapp/WEB-INF/jboss-deployment-structure.xml
===================================================================
--- branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/webapp/WEB-INF/jboss-deployment-structure.xml (rev 0)
+++ branches/community/Seam_2_3/examples/jpa/jpa-web/src/main/webapp/WEB-INF/jboss-deployment-structure.xml 2011-08-17 15:01:45 UTC (rev 14151)
@@ -0,0 +1,16 @@
+<jboss-deployment-structure>
+ <deployment>
+ <exclusions>
+ <module name="javax.faces.api" slot="main"/>
+ <module name="com.sun.jsf-impl" slot="main"/>
+ </exclusions>
+ <dependencies>
+ <module name="org.apache.log4j" />
+ <module name="org.dom4j" />
+ <module name="org.apache.commons.logging" />
+ <module name="org.apache.commons.collections" />
+ <module name="javax.faces.api" slot="1.2"/>
+ <module name="com.sun.jsf-impl" slot="1.2"/>
+ </dependencies>
+ </deployment>
+</jboss-deployment-structure>
13 years, 5 months
Seam SVN: r14150 - branches/enterprise/JBPAPP_5_0/build.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2011-08-17 09:13:27 -0400 (Wed, 17 Aug 2011)
New Revision: 14150
Modified:
branches/enterprise/JBPAPP_5_0/build/default.build.properties
Log:
changed version number
Modified: branches/enterprise/JBPAPP_5_0/build/default.build.properties
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/default.build.properties 2011-08-15 12:36:01 UTC (rev 14149)
+++ branches/enterprise/JBPAPP_5_0/build/default.build.properties 2011-08-17 13:13:27 UTC (rev 14150)
@@ -7,7 +7,7 @@
# ------------
major.version 2
minor.version .2
-patchlevel .4
+patchlevel .5
qualifier .EAP5
#
# Other program locations
13 years, 5 months
[seam/wicket] d2163a: fixing the numberguess example, SEAMWICKET-32, SEA...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/seam/wicket
Commit: d2163a3661f4140a01d4cbb89ddc711eeb0e492e
https://github.com/seam/wicket/commit/d2163a3661f4140a01d4cbb89ddc711eeb0...
Author: Marek Schmidt <maschmid(a)redhat.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M examples/numberguess/pom.xml
Log Message:
-----------
fixing the numberguess example, SEAMWICKET-32, SEAMWICKET-33
Commit: 9d7dabd0ebab86cc2ed6530c64f14b0a629a9cdf
https://github.com/seam/wicket/commit/9d7dabd0ebab86cc2ed6530c64f14b0a629...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2011-08-08 (Mon, 08 Aug 2011)
Changed paths:
M examples/numberguess/pom.xml
Log Message:
-----------
Merge pull request #8 from maschmid/fixexample
fixing the numberguess example, SEAMWICKET-32, SEAMWICKET-33
Commit: e2d38cf9111fe11eda16b887367d45d8ef82a662
https://github.com/seam/wicket/commit/e2d38cf9111fe11eda16b887367d45d8ef8...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M dist/pom.xml
M docs/pom.xml
M examples/numberguess/pom.xml
M examples/numberguess/src/test/java/org/jboss/seam/wicket/examples/numberguess/test/HomePageTest.java
M impl/pom.xml
M mock/pom.xml
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/core/SeamApplicationTest.java
M pom.xml
Log Message:
-----------
fix compiler errors because of new shrinkwrap version, fix other stuff
Commit: 66a69d36ee4a300b73cf4c63db3486899842ae42
https://github.com/seam/wicket/commit/66a69d36ee4a300b73cf4c63db348689984...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M mock/pom.xml
Log Message:
-----------
removed arq deps from distribution
Commit: c1cdb4cec2cdae3f85a42e9f45c72b4a0829e9fc
https://github.com/seam/wicket/commit/c1cdb4cec2cdae3f85a42e9f45c72b4a082...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M dist/pom.xml
M docs/pom.xml
M examples/numberguess/pom.xml
M impl/pom.xml
M mock/pom.xml
M pom.xml
Log Message:
-----------
[maven-release-plugin] prepare release 3.1.0.Beta1
Commit: 9cb8285386ea1174940b6136e0adffd7837d8222
https://github.com/seam/wicket/commit/9cb8285386ea1174940b6136e0adffd7837...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M dist/pom.xml
M docs/pom.xml
M examples/numberguess/pom.xml
M impl/pom.xml
M mock/pom.xml
M pom.xml
Log Message:
-----------
[maven-release-plugin] prepare for next development iteration
Commit: 75cd1bd47fc3e668a455ec6a327473178efe6732
https://github.com/seam/wicket/commit/75cd1bd47fc3e668a455ec6a327473178ef...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M dist/pom.xml
M docs/pom.xml
M examples/numberguess/pom.xml
M examples/numberguess/src/test/java/org/jboss/seam/wicket/examples/numberguess/test/HomePageTest.java
M impl/pom.xml
M mock/pom.xml
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/core/SeamApplicationTest.java
M pom.xml
Log Message:
-----------
Merge branch 'release/3.1.0.Beta1'
Compare: https://github.com/seam/wicket/compare/96a4e86...75cd1bd
13 years, 5 months
[seam/wicket] e2d38c: fix compiler errors because of new shrinkwrap vers...
by noreply@github.com
Branch: refs/heads/develop
Home: https://github.com/seam/wicket
Commit: e2d38cf9111fe11eda16b887367d45d8ef82a662
https://github.com/seam/wicket/commit/e2d38cf9111fe11eda16b887367d45d8ef8...
Author: Shane Bryzak <sbryzak(a)gmail.com>
Date: 2011-08-16 (Tue, 16 Aug 2011)
Changed paths:
M dist/pom.xml
M docs/pom.xml
M examples/numberguess/pom.xml
M examples/numberguess/src/test/java/org/jboss/seam/wicket/examples/numberguess/test/HomePageTest.java
M impl/pom.xml
M mock/pom.xml
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/ConversationTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestObjectProducer.java
M mock/src/test/java/org/jboss/seam/wicket/test/application/RequestTestPage.java
M mock/src/test/java/org/jboss/seam/wicket/test/core/SeamApplicationTest.java
M pom.xml
Log Message:
-----------
fix compiler errors because of new shrinkwrap version, fix other stuff
13 years, 5 months