You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/10/16 07:26:08 UTC

svn commit: r464380 - in /incubator/tuscany/branches/sca-java-M2/samples: applications/bigbank/ applications/bigbank/account/ applications/bigbank/webclient/ applications/bigbank/webclient/src/main/resources/wsdl/ webapp/webapp/

Author: jboynes
Date: Sun Oct 15 22:26:05 2006
New Revision: 464380

URL: http://svn.apache.org/viewvc?view=rev&rev=464380
Log:
update instructions for building BigBank
remove old .bat and readme files
remove version from context path

Added:
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt   (with props)
Removed:
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/readme.htm
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/build.xml
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/install.bat
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/readme.htm.old
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/readme.txt
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/starttc.bat
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/readme.htm
Modified:
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/pom.xml
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/pom.xml
    incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/resources/wsdl/AccountService.wsdl
    incubator/tuscany/branches/sca-java-M2/samples/webapp/webapp/pom.xml

Added: incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt?view=auto&rev=464380
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt (added)
+++ incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt Sun Oct 15 22:26:05 2006
@@ -0,0 +1,31 @@
+BigBank Sample Application
+==========================
+
+The BigBank sample application shows multiple SCA composites cooperating to provide a
+single application. There are two modules: webclient provides the front-end user
+interface and account provides the back-end business services. These are deployed
+as separate web applications.
+
+Building
+--------
+
+This sample can be built from the bigbank directory using Maven 2.0.4:
+$ mvn package
+
+Maven will recurse into and build the two sub-modules: account and webclient
+
+Deploying
+---------
+
+If you have enabled remote deployment as described in the root README file, you
+can deploy the WARs to Tomcat using the tomcat-maven-plugin:
+$ mvn tomcat:deploy
+
+Alternatively you can copy the WAR files to the webapps directory
+$ cp account/target/sample-bigbank-account.war ${catalina.home}/webapps/.
+$ cp webclient/target/sample-bigbank-webclient.war ${catalina.home}/webapps/.
+
+Running
+-------
+The home page for the application is
+http://localhost:8080/sample-bigbank-webclient/

Propchange: incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/pom.xml?view=diff&rev=464380&r1=464379&r2=464380
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/account/pom.xml Sun Oct 15 22:26:05 2006
@@ -94,21 +94,7 @@
         </dependency>
     </dependencies>
     <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>${notice.dir}</directory>
-                <targetPath>META-INF</targetPath>
-                <filtering>true</filtering>
-                <includes>
-                    <include>LICENSE.txt</include>
-                    <include>NOTICE.txt</include>
-                </includes>
-            </resource>
-        </resources>
+        <finalName>${artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.tuscany.sdo</groupId>

Modified: incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/pom.xml?view=diff&rev=464380&r1=464379&r2=464380
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/pom.xml Sun Oct 15 22:26:05 2006
@@ -94,21 +94,7 @@
     </dependencies>
 
     <build>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>${notice.dir}</directory>
-                <targetPath>META-INF</targetPath>
-                <filtering>true</filtering>
-                <includes>
-                    <include>LICENSE.txt</include>
-                    <include>NOTICE.txt</include>
-                </includes>
-            </resource>
-        </resources>
+        <finalName>${artifactId}</finalName>
         <plugins>
 
             <plugin>

Modified: incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/resources/wsdl/AccountService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/resources/wsdl/AccountService.wsdl?view=diff&rev=464380&r1=464379&r2=464380
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/resources/wsdl/AccountService.wsdl (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/applications/bigbank/webclient/src/main/resources/wsdl/AccountService.wsdl Sun Oct 15 22:26:05 2006
@@ -460,7 +460,7 @@
 		<wsdl:port binding="account:AccountServiceSOAP"
 			name="AccountServiceSOAP">
 			<soap:address
-				location="http://localhost:8080/sample-bigbank-account-1.0-incubator-M2-SNAPSHOT/services/AccountService" />
+				location="http://localhost:8080/sample-bigbank-account/services/AccountService" />
 		</wsdl:port>
 	</wsdl:service>
 </wsdl:definitions>

Modified: incubator/tuscany/branches/sca-java-M2/samples/webapp/webapp/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-M2/samples/webapp/webapp/pom.xml?view=diff&rev=464380&r1=464379&r2=464380
==============================================================================
--- incubator/tuscany/branches/sca-java-M2/samples/webapp/webapp/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-M2/samples/webapp/webapp/pom.xml Sun Oct 15 22:26:05 2006
@@ -43,7 +43,7 @@
         </dependency>
     </dependencies>
     <build>
-        <finalName>sample-webapp</finalName>
+        <finalName>${artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.tuscany.sca.plugins</groupId>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org