Seam SVN: r7865 - trunk/examples/spring and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 07:22:29 -0400 (Tue, 08 Apr 2008)
New Revision: 7865
Modified:
branches/Seam_2_0/examples/spring/readme.txt
trunk/examples/spring/readme.txt
Log:
JBSEAM-2832
Modified: branches/Seam_2_0/examples/spring/readme.txt
===================================================================
--- branches/Seam_2_0/examples/spring/readme.txt 2008-04-08 10:49:35 UTC (rev 7864)
+++ branches/Seam_2_0/examples/spring/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
@@ -1,6 +1,6 @@
SeamBay Example
===============
This example shows Seam/Spring integration.
-Currently it runs on Tomcat only.
+Currently it runs on JBoss AS 4.2 only.
Visit http://localhost:8080/jboss-seam-spring
\ No newline at end of file
Modified: trunk/examples/spring/readme.txt
===================================================================
--- trunk/examples/spring/readme.txt 2008-04-08 10:49:35 UTC (rev 7864)
+++ trunk/examples/spring/readme.txt 2008-04-08 11:22:29 UTC (rev 7865)
@@ -1,6 +1,6 @@
SeamBay Example
===============
This example shows Seam/Spring integration.
-Currently it runs on Tomcat only.
+Currently it runs on JBoss AS 4.2 only.
Visit http://localhost:8080/jboss-seam-spring
\ No newline at end of file
16 years, 7 months
Seam SVN: r7864 - trunk/examples/mail/src/org/jboss/seam/example/mail/test and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 06:49:35 -0400 (Tue, 08 Apr 2008)
New Revision: 7864
Modified:
branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java
trunk/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java
Log:
Fix tests
Modified: branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java
===================================================================
--- branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java 2008-04-08 10:26:33 UTC (rev 7863)
+++ branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java 2008-04-08 10:49:35 UTC (rev 7864)
@@ -117,8 +117,8 @@
assert to.getAddress().equals("gavin(a)king.com");
assert to.getPersonal().equals("Gavin King");
InternetAddress from = (InternetAddress) renderedMessage.getFrom()[0];
- assert from.getAddress().equals("peter(a)email.tld");
- assert from.getPersonal().equals("Peter");
+ assert from.getAddress().equals("do-not-reply(a)jboss.com");
+ assert from.getPersonal().equals("Seam");
assert "Try out Seam!".equals(renderedMessage.getSubject());
MimeMultipart body = (MimeMultipart) renderedMessage.getContent();
@@ -275,7 +275,7 @@
// m:header
assert renderedMessage.getHeader("X-Sent-From") != null;
assert renderedMessage.getHeader("X-Sent-From").length == 1;
- assert "JBoss Seam".equals(renderedMessage.getHeader("X-Sent-From")[0]);
+ assert "Seam".equals(renderedMessage.getHeader("X-Sent-From")[0]);
MimeMultipart body = (MimeMultipart) renderedMessage.getContent();
Modified: trunk/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java
===================================================================
--- trunk/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java 2008-04-08 10:26:33 UTC (rev 7863)
+++ trunk/examples/mail/src/org/jboss/seam/example/mail/test/MailTest.java 2008-04-08 10:49:35 UTC (rev 7864)
@@ -117,8 +117,8 @@
assert to.getAddress().equals("gavin(a)king.com");
assert to.getPersonal().equals("Gavin King");
InternetAddress from = (InternetAddress) renderedMessage.getFrom()[0];
- assert from.getAddress().equals("peter(a)email.tld");
- assert from.getPersonal().equals("Peter");
+ assert from.getAddress().equals("do-not-reply(a)jboss.com");
+ assert from.getPersonal().equals("Seam");
assert "Try out Seam!".equals(renderedMessage.getSubject());
MimeMultipart body = (MimeMultipart) renderedMessage.getContent();
@@ -275,7 +275,7 @@
// m:header
assert renderedMessage.getHeader("X-Sent-From") != null;
assert renderedMessage.getHeader("X-Sent-From").length == 1;
- assert "JBoss Seam".equals(renderedMessage.getHeader("X-Sent-From")[0]);
+ assert "Seam".equals(renderedMessage.getHeader("X-Sent-From")[0]);
MimeMultipart body = (MimeMultipart) renderedMessage.getContent();
16 years, 7 months
Seam SVN: r7863 - branches/Seam_2_0/examples/mail/view and 2 other directories.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 06:26:33 -0400 (Tue, 08 Apr 2008)
New Revision: 7863
Added:
branches/Seam_2_0/examples/mail/view/seamlogo.png
trunk/examples/mail/view/seamlogo.png
Removed:
branches/Seam_2_0/examples/mail/view/no_image.png
trunk/examples/mail/view/no_image.png
Modified:
branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/Person.java
branches/Seam_2_0/examples/mail/view/attachment.xhtml
trunk/examples/mail/src/org/jboss/seam/example/mail/Person.java
trunk/examples/mail/view/attachment.xhtml
Log:
JBSEAM-2825
Modified: branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/Person.java
===================================================================
--- branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/Person.java 2008-04-08 10:15:58 UTC (rev 7862)
+++ branches/Seam_2_0/examples/mail/src/org/jboss/seam/example/mail/Person.java 2008-04-08 10:26:33 UTC (rev 7863)
@@ -15,7 +15,7 @@
private String firstname;
private String lastname;
private String address;
- private transient InputStream photo = ResourceLoader.instance().getResourceAsStream("/no_image.png");
+ private transient InputStream photo = ResourceLoader.instance().getResourceAsStream("/seamlogo.png");
@Factory("people")
public List<Person> getPeople() {
Modified: branches/Seam_2_0/examples/mail/view/attachment.xhtml
===================================================================
--- branches/Seam_2_0/examples/mail/view/attachment.xhtml 2008-04-08 10:15:58 UTC (rev 7862)
+++ branches/Seam_2_0/examples/mail/view/attachment.xhtml 2008-04-08 10:26:33 UTC (rev 7863)
@@ -6,9 +6,9 @@
<m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam!</m:subject>
- <m:attachment value="/jboss.jpg" />
+ <m:attachment value="/jboss.jpg" status="jbossLogo" />
<m:attachment value="#{numbers}" />
- <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" status="personPhoto" disposition="inline" />
+ <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" disposition="inline" />
<m:attachment fileName="whyseam.pdf">
<ui:include src="/whyseam.xhtml" />
</m:attachment>
@@ -19,7 +19,7 @@
<p><h:outputText value="Dear #{person.firstname}" />,</p>
<p>This example email demonstrates how easy it is to add attachments to an email!</p>
<p>We can even display attached images inline:</p>
- <img src="cid:#{personPhoto.contentId}" />
+ <img src="cid:#{jbossLogo.contentId}" />
<p>The attached pdf was generated by Seam's PDF library</p>
</m:body>
</m:message>
\ No newline at end of file
Deleted: branches/Seam_2_0/examples/mail/view/no_image.png
===================================================================
(Binary files differ)
Added: branches/Seam_2_0/examples/mail/view/seamlogo.png
===================================================================
(Binary files differ)
Property changes on: branches/Seam_2_0/examples/mail/view/seamlogo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/examples/mail/src/org/jboss/seam/example/mail/Person.java
===================================================================
--- trunk/examples/mail/src/org/jboss/seam/example/mail/Person.java 2008-04-08 10:15:58 UTC (rev 7862)
+++ trunk/examples/mail/src/org/jboss/seam/example/mail/Person.java 2008-04-08 10:26:33 UTC (rev 7863)
@@ -15,7 +15,7 @@
private String firstname;
private String lastname;
private String address;
- private transient InputStream photo = ResourceLoader.instance().getResourceAsStream("/no_image.png");
+ private transient InputStream photo = ResourceLoader.instance().getResourceAsStream("/seamlogo.png");
@Factory("people")
public List<Person> getPeople() {
Modified: trunk/examples/mail/view/attachment.xhtml
===================================================================
--- trunk/examples/mail/view/attachment.xhtml 2008-04-08 10:15:58 UTC (rev 7862)
+++ trunk/examples/mail/view/attachment.xhtml 2008-04-08 10:26:33 UTC (rev 7863)
@@ -6,9 +6,9 @@
<m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam!</m:subject>
- <m:attachment value="/jboss.jpg" />
+ <m:attachment value="/jboss.jpg" status="jbossLogo" />
<m:attachment value="#{numbers}" />
- <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" status="personPhoto" disposition="inline" />
+ <m:attachment value="#{person.photo}" contentType="image/png" fileName="#{person.firstname}_#{person.lastname}.jpg" disposition="inline" />
<m:attachment fileName="whyseam.pdf">
<ui:include src="/whyseam.xhtml" />
</m:attachment>
@@ -19,7 +19,7 @@
<p><h:outputText value="Dear #{person.firstname}" />,</p>
<p>This example email demonstrates how easy it is to add attachments to an email!</p>
<p>We can even display attached images inline:</p>
- <img src="cid:#{personPhoto.contentId}" />
+ <img src="cid:#{jbossLogo.contentId}" />
<p>The attached pdf was generated by Seam's PDF library</p>
</m:body>
</m:message>
\ No newline at end of file
Deleted: trunk/examples/mail/view/no_image.png
===================================================================
(Binary files differ)
Added: trunk/examples/mail/view/seamlogo.png
===================================================================
(Binary files differ)
Property changes on: trunk/examples/mail/view/seamlogo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 7 months
Seam SVN: r7862 - trunk/examples/mail/view and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 06:15:58 -0400 (Tue, 08 Apr 2008)
New Revision: 7862
Modified:
branches/Seam_2_0/examples/mail/view/attachment.xhtml
trunk/examples/mail/view/attachment.xhtml
Log:
JBSEAM-2824
Modified: branches/Seam_2_0/examples/mail/view/attachment.xhtml
===================================================================
--- branches/Seam_2_0/examples/mail/view/attachment.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
+++ branches/Seam_2_0/examples/mail/view/attachment.xhtml 2008-04-08 10:15:58 UTC (rev 7862)
@@ -3,7 +3,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
- <m:from name="Peter" address="peter(a)email.tld" />
+ <m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam!</m:subject>
<m:attachment value="/jboss.jpg" />
Modified: trunk/examples/mail/view/attachment.xhtml
===================================================================
--- trunk/examples/mail/view/attachment.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
+++ trunk/examples/mail/view/attachment.xhtml 2008-04-08 10:15:58 UTC (rev 7862)
@@ -3,7 +3,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
- <m:from name="Peter" address="peter(a)email.tld" />
+ <m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam!</m:subject>
<m:attachment value="/jboss.jpg" />
16 years, 7 months
Seam SVN: r7861 - trunk/examples/mail/view and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 06:01:15 -0400 (Tue, 08 Apr 2008)
New Revision: 7861
Modified:
branches/Seam_2_0/examples/mail/view/html.xhtml
branches/Seam_2_0/examples/mail/view/simple.xhtml
trunk/examples/mail/view/html.xhtml
trunk/examples/mail/view/simple.xhtml
Log:
JBSEAM-2823
Modified: branches/Seam_2_0/examples/mail/view/html.xhtml
===================================================================
--- branches/Seam_2_0/examples/mail/view/html.xhtml 2008-04-08 09:54:39 UTC (rev 7860)
+++ branches/Seam_2_0/examples/mail/view/html.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
importance="low" requestReadReceipt="true">
- <m:header name="X-Sent-From" value="JBoss Seam" />
+ <m:header name="X-Sent-From" value="Seam" />
<m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Seam Mail</m:subject>
Modified: branches/Seam_2_0/examples/mail/view/simple.xhtml
===================================================================
--- branches/Seam_2_0/examples/mail/view/simple.xhtml 2008-04-08 09:54:39 UTC (rev 7860)
+++ branches/Seam_2_0/examples/mail/view/simple.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
@@ -7,7 +7,7 @@
<m:subject>Try out Seam!</m:subject>
<m:body>
<p><h:outputText value="Dear #{person.firstname}" />,</p>
- <p>You can try out Seam by visiting <a href="http://labs.jboss.com/jbossseam">http://labs.jboss.com/jbossseam</a>.</p>
+ <p>You can try out Seam by visiting <a href="http://www.seamframework.org">http://www.seamframework.org</a>.</p>
<p>Regards</p>
<p>Peter</p>
</m:body>
Modified: trunk/examples/mail/view/html.xhtml
===================================================================
--- trunk/examples/mail/view/html.xhtml 2008-04-08 09:54:39 UTC (rev 7860)
+++ trunk/examples/mail/view/html.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
@@ -3,7 +3,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
importance="low" requestReadReceipt="true">
- <m:header name="X-Sent-From" value="JBoss Seam" />
+ <m:header name="X-Sent-From" value="Seam" />
<m:from name="Seam" address="do-not-reply(a)jboss.com" />
<m:to name="#{person.firstname} #{person.lastname}">#{person.address}</m:to>
<m:subject>Seam Mail</m:subject>
Modified: trunk/examples/mail/view/simple.xhtml
===================================================================
--- trunk/examples/mail/view/simple.xhtml 2008-04-08 09:54:39 UTC (rev 7860)
+++ trunk/examples/mail/view/simple.xhtml 2008-04-08 10:01:15 UTC (rev 7861)
@@ -7,7 +7,7 @@
<m:subject>Try out Seam!</m:subject>
<m:body>
<p><h:outputText value="Dear #{person.firstname}" />,</p>
- <p>You can try out Seam by visiting <a href="http://labs.jboss.com/jbossseam">http://labs.jboss.com/jbossseam</a>.</p>
+ <p>You can try out Seam by visiting <a href="http://www.seamframework.org">http://www.seamframework.org</a>.</p>
<p>Regards</p>
<p>Peter</p>
</m:body>
16 years, 7 months
Seam SVN: r7860 - branches/Seam_2_0/examples.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 05:54:39 -0400 (Tue, 08 Apr 2008)
New Revision: 7860
Modified:
branches/Seam_2_0/examples/build.xml
Log:
Another one for JBSEAM-2828 and JBSEAM-2829
Modified: branches/Seam_2_0/examples/build.xml
===================================================================
--- branches/Seam_2_0/examples/build.xml 2008-04-08 09:53:37 UTC (rev 7859)
+++ branches/Seam_2_0/examples/build.xml 2008-04-08 09:54:39 UTC (rev 7860)
@@ -802,6 +802,17 @@
<fileset dir="${exploded-archives.dir}/${example.name}.jar" />
</copy>
</target>
+
+ <target name="jbosswar.archive" depends="noejb.jar,noejb.war" description="Package the archives">
+ <copy todir="${exploded-archives.dir}/${example.name}-tmp.war">
+ <fileset dir="${exploded-archives.dir}/${example.name}.war" />
+ </copy>
+ <copy todir="${exploded-archives.dir}/${example.name}-tmp.war">
+ <fileset dir="${exploded-archives.dir}/${example.name}.jar" />
+ </copy>
+ <jar jarfile="${dist.dir}/${example.name}.war" basedir="${exploded-archives.dir}/${example.name}-tmp.war" />
+ <delete dir="${exploded-archives.dir}/${example.name}-tmp.war"/>
+ </target>
<target name="jbosswar.restart" depends="jbosswar.explode" description="Restart the exploded archive">
<touch file="${deploy.dir}/${example.name}.war/WEB-INF/web.xml" />
16 years, 7 months
Seam SVN: r7859 - trunk/examples/hibernate and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 05:53:37 -0400 (Tue, 08 Apr 2008)
New Revision: 7859
Added:
branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
trunk/examples/hibernate/build-jboss-embedded.xml
Modified:
branches/Seam_2_0/examples/hibernate/build.xml
branches/Seam_2_0/examples/hibernate/readme.txt
trunk/examples/hibernate/build.xml
trunk/examples/hibernate/readme.txt
Log:
JBSEAM-2829
Added: branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
===================================================================
--- branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml (rev 0)
+++ branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml 2008-04-08 09:53:37 UTC (rev 7859)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="Hibernate Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The Hibernate Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-hibernate"/>
+
+ <!-- resources -->
+ <property name="resources.dir" value="resources-jboss" />
+ <property name="dist.dir" value="dist-jboss-embedded" />
+ <property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+
+ <!-- Libraries to include -->
+ <property name="seam.ui.lib" value="true"/>
+ <property name="seam.debug.lib" value="true"/>
+ <property name="facelets.lib" value="true"/>
+ <property name="richfaces.lib" value="true"/>
+
+ <import file="../build.xml"/>
+
+ <fileset id="war.lib.extras" dir="${seam.dir}">
+ <include name="lib/jsf-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/jstl.jar" />
+ </fileset>
+
+</project>
+
Property changes on: branches/Seam_2_0/examples/hibernate/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/Seam_2_0/examples/hibernate/build.xml
===================================================================
--- branches/Seam_2_0/examples/hibernate/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
+++ branches/Seam_2_0/examples/hibernate/build.xml 2008-04-08 09:53:37 UTC (rev 7859)
@@ -5,10 +5,14 @@
<target name="jboss" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
<ant antfile="build-jboss.xml"/>
</target>
+
+ <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+ <ant antfile="build-jboss-embedded.xml"/>
+ </target>
- <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
- <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
- </target>
+ <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
+ <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
+ </target>
<target name="jboss405" description="Build the Hibernate Booking example artifacts, suitable for deployment to JBoss 4.0.5.GA">
<ant antfile="build-jboss405.xml"/>
Modified: branches/Seam_2_0/examples/hibernate/readme.txt
===================================================================
--- branches/Seam_2_0/examples/hibernate/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
+++ branches/Seam_2_0/examples/hibernate/readme.txt 2008-04-08 09:53:37 UTC (rev 7859)
@@ -45,11 +45,11 @@
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-hibernate/
-Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with embeddable JBoss:
* Install Tomcat
* Install Embeddable JBoss
- * ant jboss
- * Deploy dist-jboss/jboss-seam-hibernate.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-hibernate.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-hibernate/
Added: trunk/examples/hibernate/build-jboss-embedded.xml
===================================================================
--- trunk/examples/hibernate/build-jboss-embedded.xml (rev 0)
+++ trunk/examples/hibernate/build-jboss-embedded.xml 2008-04-08 09:53:37 UTC (rev 7859)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="Hibernate Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The Hibernate Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-hibernate"/>
+
+ <!-- resources -->
+ <property name="resources.dir" value="resources-jboss" />
+ <property name="dist.dir" value="dist-jboss-embedded" />
+ <property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+
+ <!-- Libraries to include -->
+ <property name="seam.ui.lib" value="true"/>
+ <property name="seam.debug.lib" value="true"/>
+ <property name="facelets.lib" value="true"/>
+ <property name="richfaces.lib" value="true"/>
+
+ <import file="../build.xml"/>
+
+ <fileset id="war.lib.extras" dir="${seam.dir}">
+ <include name="lib/jsf-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/jstl.jar" />
+ </fileset>
+
+</project>
+
Property changes on: trunk/examples/hibernate/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/examples/hibernate/build.xml
===================================================================
--- trunk/examples/hibernate/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
+++ trunk/examples/hibernate/build.xml 2008-04-08 09:53:37 UTC (rev 7859)
@@ -5,10 +5,14 @@
<target name="jboss" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
<ant antfile="build-jboss.xml"/>
</target>
+
+ <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+ <ant antfile="build-jboss-embedded.xml"/>
+ </target>
- <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
- <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
- </target>
+ <target name="jboss.undeploy" description="Build the Hibernate Booking example artifacts, and deploy to JBoss 4.2.0.GA">
+ <ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
+ </target>
<target name="jboss405" description="Build the Hibernate Booking example artifacts, suitable for deployment to JBoss 4.0.5.GA">
<ant antfile="build-jboss405.xml"/>
Modified: trunk/examples/hibernate/readme.txt
===================================================================
--- trunk/examples/hibernate/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
+++ trunk/examples/hibernate/readme.txt 2008-04-08 09:53:37 UTC (rev 7859)
@@ -45,11 +45,11 @@
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-hibernate/
-Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with embeddable JBoss:
* Install Tomcat
* Install Embeddable JBoss
- * ant jboss
- * Deploy dist-jboss/jboss-seam-hibernate.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-hibernate.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-hibernate/
16 years, 7 months
Seam SVN: r7858 - trunk/examples/jpa and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 05:47:00 -0400 (Tue, 08 Apr 2008)
New Revision: 7858
Added:
branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml
trunk/examples/jpa/build-jboss-embedded.xml
Modified:
branches/Seam_2_0/examples/jpa/build.xml
branches/Seam_2_0/examples/jpa/readme.txt
trunk/examples/jpa/build.xml
trunk/examples/jpa/readme.txt
Log:
JBSEAM-2828
Added: branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml (rev 0)
+++ branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="JPA Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The JPA Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-jpa"/>
+
+ <!-- resources -->
+ <property name="resources.dir" value="resources-jboss" />
+ <property name="dist.dir" value="dist-jboss-embedded" />
+ <property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+
+ <!-- Libraries to include -->
+ <property name="seam.ui.lib" value="true"/>
+ <property name="seam.debug.lib" value="true"/>
+ <property name="facelets.lib" value="true"/>
+ <property name="richfaces.lib" value="true"/>
+
+ <import file="../build.xml"/>
+
+ <fileset id="war.lib.extras" dir="${seam.dir}">
+ <include name="lib/jsf-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/jstl.jar" />
+ </fileset>
+
+</project>
+
Property changes on: branches/Seam_2_0/examples/jpa/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/Seam_2_0/examples/jpa/build.xml
===================================================================
--- branches/Seam_2_0/examples/jpa/build.xml 2008-04-08 09:02:36 UTC (rev 7857)
+++ branches/Seam_2_0/examples/jpa/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -5,6 +5,10 @@
<target name="jboss" description="Build the JPA artifacts, and deploy to JBoss 4.2.0.GA">
<ant antfile="build-jboss.xml"/>
</target>
+
+ <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+ <ant antfile="build-jboss-embedded.xml"/>
+ </target>
<target name="jboss.undeploy" description="Undeploy JPA example from JBoss AS">
<ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
Modified: branches/Seam_2_0/examples/jpa/readme.txt
===================================================================
--- branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 09:02:36 UTC (rev 7857)
+++ branches/Seam_2_0/examples/jpa/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
@@ -47,17 +47,17 @@
* Start the application
* Access it at http://localhost:9080/context_root/index.html
-Tomcat with JBoss Embedded(the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with JBoss Embedded:
* Install Tomcat
* Install JBoss Embedded
- * ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-jpa.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-jpa/
Tomcat (5.5 or 6) without JBoss Embedded:
* Install Tomcat
- * Copy the lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
+ * Copy the seam-gen/lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
* ant tomcat55 or ant tomcat6
* Deploy dist-jboss/jboss-seam-jpa.war
* Start Tomcat
Added: trunk/examples/jpa/build-jboss-embedded.xml
===================================================================
--- trunk/examples/jpa/build-jboss-embedded.xml (rev 0)
+++ trunk/examples/jpa/build-jboss-embedded.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+
+<project name="JPA Booking" default="jbosswar.archive" basedir=".">
+
+ <!-- Naming -->
+ <property name="Name" value="The JPA Example for JBoss Embedded in Tomcat"/>
+ <property name="example.name" value="jboss-seam-jpa"/>
+
+ <!-- resources -->
+ <property name="resources.dir" value="resources-jboss" />
+ <property name="dist.dir" value="dist-jboss-embedded" />
+ <property name="exploded-archives.dir" value="exploded-archives-jboss-embedded" />
+
+ <!-- Libraries to include -->
+ <property name="seam.ui.lib" value="true"/>
+ <property name="seam.debug.lib" value="true"/>
+ <property name="facelets.lib" value="true"/>
+ <property name="richfaces.lib" value="true"/>
+
+ <import file="../build.xml"/>
+
+ <fileset id="war.lib.extras" dir="${seam.dir}">
+ <include name="lib/jsf-api.jar" />
+ <include name="lib/jsf-impl.jar" />
+ <include name="lib/jstl.jar" />
+ </fileset>
+
+</project>
+
Property changes on: trunk/examples/jpa/build-jboss-embedded.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/examples/jpa/build.xml
===================================================================
--- trunk/examples/jpa/build.xml 2008-04-08 09:02:36 UTC (rev 7857)
+++ trunk/examples/jpa/build.xml 2008-04-08 09:47:00 UTC (rev 7858)
@@ -5,6 +5,10 @@
<target name="jboss" description="Build the JPA artifacts, and deploy to JBoss 4.2.0.GA">
<ant antfile="build-jboss.xml"/>
</target>
+
+ <target name="jboss-embedded" description="Build the JPA artifacts, and deploy to JBoss Embedded in Tomcat">
+ <ant antfile="build-jboss-embedded.xml"/>
+ </target>
<target name="jboss.undeploy" description="Undeploy JPA example from JBoss AS">
<ant antfile="build-jboss.xml" target="jbosswar.undeploy"/>
Modified: trunk/examples/jpa/readme.txt
===================================================================
--- trunk/examples/jpa/readme.txt 2008-04-08 09:02:36 UTC (rev 7857)
+++ trunk/examples/jpa/readme.txt 2008-04-08 09:47:00 UTC (rev 7858)
@@ -47,17 +47,17 @@
* Start the application
* Access it at http://localhost:9080/context_root/index.html
-Tomcat with JBoss Embedded(the build is the same as JBoss 4.2.0 GA WAR):
+Tomcat with JBoss Embedded:
* Install Tomcat
* Install JBoss Embedded
- * ant jboss
- * Deploy dist-jboss/jboss-seam-jpa.war
+ * ant jboss-embedded
+ * Deploy dist-jboss-embedded/jboss-seam-jpa.war
* Start Tomcat
* Access the app at http://localhost:8080/jboss-seam-jpa/
Tomcat (5.5 or 6) without JBoss Embedded:
* Install Tomcat
- * Copy the lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
+ * Copy the seam-gen/lib/hsqldb.jar into $TOMCAT_HOME/common/lib (Tomcat 5.5) or $TOMCAT_HOME/lib (Tomcat 6)
* ant tomcat55 or ant tomcat6
* Deploy dist-jboss/jboss-seam-jpa.war
* Start Tomcat
16 years, 7 months
Seam SVN: r7857 - branches/Seam_2_0/build.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-08 05:02:36 -0400 (Tue, 08 Apr 2008)
New Revision: 7857
Modified:
branches/Seam_2_0/build/docs.pom.xml
Log:
Minor
Modified: branches/Seam_2_0/build/docs.pom.xml
===================================================================
--- branches/Seam_2_0/build/docs.pom.xml 2008-04-08 08:29:00 UTC (rev 7856)
+++ branches/Seam_2_0/build/docs.pom.xml 2008-04-08 09:02:36 UTC (rev 7857)
@@ -64,7 +64,7 @@
</dependency>
</dependencies>
<configuration>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
<sourceDocumentName>master.xml</sourceDocumentName>
<imageResource>
<directory>${pom.basedir}/en</directory>
16 years, 7 months