[jboss-svn-commits] JBoss PortletSwap SVN: r165 - in portlets/src/framework/SeamBookingPortlet: ejb and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Nov 14 18:35:46 EST 2007


Author: wesleyhales
Date: 2007-11-14 18:35:46 -0500 (Wed, 14 Nov 2007)
New Revision: 165

Modified:
   portlets/src/framework/SeamBookingPortlet/ear/pom.xml
   portlets/src/framework/SeamBookingPortlet/ejb/pom.xml
   portlets/src/framework/SeamBookingPortlet/web/pom.xml
Log:
added cargo for ear jboss deploy

Modified: portlets/src/framework/SeamBookingPortlet/ear/pom.xml
===================================================================
--- portlets/src/framework/SeamBookingPortlet/ear/pom.xml	2007-11-13 16:25:45 UTC (rev 164)
+++ portlets/src/framework/SeamBookingPortlet/ear/pom.xml	2007-11-14 23:35:46 UTC (rev 165)
@@ -19,7 +19,7 @@
 
       <dependency>
          <groupId>org.jboss.portal.example</groupId>
-         <artifactId>SeamBookingPortletEjb</artifactId>
+         <artifactId>PortletEjb</artifactId>
          <version>${project.version}</version>
          <!--<scope>provided</scope>-->
          <type>ejb</type>
@@ -27,7 +27,7 @@
 
       <dependency>
          <groupId>org.jboss.portal.example</groupId>
-         <artifactId>SeamBookingPortletWeb</artifactId>
+         <artifactId>PortletWeb</artifactId>
          <version>${project.version}</version>
          <type>war</type>
       </dependency>
@@ -145,13 +145,13 @@
 
                         <webModule>
                            <groupId>org.jboss.portal.example</groupId>
-                           <artifactId>SeamBookingPortletWeb</artifactId>
+                           <artifactId>PortletWeb</artifactId>
                            <contextRoot>/SeamBookingPortletWeb-${version}</contextRoot>
                         </webModule>
 
                         <ejbModule>
                            <groupId>org.jboss.portal.example</groupId>
-                           <artifactId>SeamBookingPortletEjb</artifactId>
+                           <artifactId>PortletEjb</artifactId>
                         </ejbModule>
 
                         <jarModule>
@@ -229,13 +229,13 @@
 
                              <zipUrlInstaller>
                                  <url>${cargo.container.url}</url>
-                                 <installDir>target/installs</installDir>
+                                 <installDir>${basedir}/target/installs</installDir>
                              </zipUrlInstaller>
                          </container>
 
                          <configuration>
                              <type>existing</type>
-                             <home>{env.JBOSS_HOME}</home>
+                             <home>${jboss.local.install}</home>
                              <properties>
                                  <cargo.jboss.configuration>default</cargo.jboss.configuration>
                                  <cargo.jvmarg>${cargo.jvmarg}</cargo.jvmarg>
@@ -245,17 +245,17 @@
                              </properties>
                          </configuration>
 
-                         <!--<deployer>
+                         <deployer>
                              <type>installed</type>
                              <deployables>
                                  <deployable>
-                                     <groupId> </groupId>
-                                     <artifactId> </artifactId>
+                                     <groupId>org.jboss.portal.example</groupId>
+                                     <artifactId>SeamBookingPortlet</artifactId>
                                      <type>ear</type>
-                                     <pingURL>{URL}</pingURL>
+                                     <pingURL>http://localhost:8080/${context.path}/</pingURL>
                                  </deployable>
                              </deployables>
-                         </deployer>-->
+                         </deployer>
                      </configuration>
                  </plugin>
 
@@ -265,7 +265,7 @@
 
          <properties>
             <containerId>jboss4x</containerId>
-            <url>http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA.zip</url>
+            <!--<url>http://internap.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA.zip</url>-->
          </properties>
       </profile>
 
@@ -308,7 +308,24 @@
     </pluginRepositories>
 
    <properties>
+      <jboss.local.install>${basedir}/target/installs/jboss-4.2.2.GA/jboss-4.2.2.GA/server/default</jboss.local.install>
+      <cargo.container>jboss4x</cargo.container>
+      <cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>
 
+      <!--copy the zip somewhere locally so you don't waste time and bandwidth, then modify below-->
+      <cargo.container.url>
+         file:/C:/www/jboss-4.2.2.GA.zip
+      </cargo.container.url>
+
+      <!--<cargo.container.url>
+         http://repository.jboss.org/maven2/org/jboss/embedded/tomcat-6.0.13-with-embedded/Beta2-2.0.0.CR2/tomcat-6.0.13-with-embedded-Beta2-2.0.0.CR2.zip
+      </cargo.container.url>-->
+      <cargo.jvmargs>-Xms256m -Xmx1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m</cargo.jvmargs>
+      <cargo.host>localhost</cargo.host>
+      <cargo.port>8080</cargo.port>
+      <cargo.wait>true</cargo.wait>
+
+
       <installDir>${java.io.tmpdir}/cargo-installs</installDir>
 
       <ear.name>${artifactId}-${project.version}</ear.name>

Modified: portlets/src/framework/SeamBookingPortlet/ejb/pom.xml
===================================================================
--- portlets/src/framework/SeamBookingPortlet/ejb/pom.xml	2007-11-13 16:25:45 UTC (rev 164)
+++ portlets/src/framework/SeamBookingPortlet/ejb/pom.xml	2007-11-14 23:35:46 UTC (rev 165)
@@ -9,7 +9,7 @@
       <version>1.0</version>
    </parent>
    <groupId>org.jboss.portal.example</groupId>
-   <artifactId>SeamBookingPortletEjb</artifactId>
+   <artifactId>PortletEjb</artifactId>
    <packaging>ejb</packaging>
    <version>1.0</version>
    <name>JBoss Portal Seam Booking Portlet Example EJB</name>

Modified: portlets/src/framework/SeamBookingPortlet/web/pom.xml
===================================================================
--- portlets/src/framework/SeamBookingPortlet/web/pom.xml	2007-11-13 16:25:45 UTC (rev 164)
+++ portlets/src/framework/SeamBookingPortlet/web/pom.xml	2007-11-14 23:35:46 UTC (rev 165)
@@ -8,7 +8,7 @@
       <version>1.0</version>
    </parent>
    <groupId>org.jboss.portal.example</groupId>
-   <artifactId>SeamBookingPortletWeb</artifactId>
+   <artifactId>PortletWeb</artifactId>
    <packaging>war</packaging>
    <version>1.0</version>
    <name>JBoss Portal Seam Booking Portlet Example WAR</name>
@@ -99,7 +99,7 @@
 
       <dependency>
          <groupId>org.jboss.portal.example</groupId>
-         <artifactId>SeamBookingPortletEjb</artifactId>
+         <artifactId>PortletEjb</artifactId>
          <version>${project.version}</version>
          <scope>provided</scope>
       </dependency>
@@ -476,7 +476,7 @@
 
             <dependency>
                <groupId>org.jboss.portal.example</groupId>
-               <artifactId>SeamBookingPortletEjb</artifactId>
+               <artifactId>PortletEjb</artifactId>
                <version>${project.version}</version>
             </dependency>
 




More information about the jboss-svn-commits mailing list