Author: antelder
Date: Wed Jun 29 07:28:16 2011
New Revision: 1140984

URL: http://svn.apache.org/viewvc?rev=1140984&view=rev
Log:
Add a simple Tuscany webapp project that could be used as the starting point 
for a Tuscany manager webapp (TUSCANY-3519)

Added:
    tuscany/collaboration/webapp/
    tuscany/collaboration/webapp/tuscany/
      - copied from r1140983, 
tuscany/sca-java-2.x/trunk/samples/getting-started/helloworld-webapp/
Modified:
    tuscany/collaboration/webapp/tuscany/pom.xml
    tuscany/collaboration/webapp/tuscany/src/main/webapp/WEB-INF/web.xml

Modified: tuscany/collaboration/webapp/tuscany/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/collaboration/webapp/tuscany/pom.xml?rev=1140984&r1=1140983&r2=1140984&view=diff
==============================================================================
--- tuscany/collaboration/webapp/tuscany/pom.xml (original)
+++ tuscany/collaboration/webapp/tuscany/pom.xml Wed Jun 29 07:28:16 2011
@@ -28,10 +28,10 @@
       <relativePath>../../pom.xml</relativePath>
    </parent>
 
-   <artifactId>helloworld-webapp</artifactId>
+   <artifactId>tuscany</artifactId>
    <version>2.0-SNAPSHOT</version>
 
-   <name>Apache Tuscany SCA Samples Helloworld WebApp</name>
+   <name>Apache Tuscany WebApp</name>
    <packaging>war</packaging>
 
    <properties>
@@ -63,6 +63,7 @@
    </dependencies>
 
     <build>
+       <finalName>${project.artifactId}</finalName> 
        <plugins>
 
           <!-- this copies the SCA contribution from the helloworld sample 
into this webapp -->

Modified: tuscany/collaboration/webapp/tuscany/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/tuscany/collaboration/webapp/tuscany/src/main/webapp/WEB-INF/web.xml?rev=1140984&r1=1140983&r2=1140984&view=diff
==============================================================================
--- tuscany/collaboration/webapp/tuscany/src/main/webapp/WEB-INF/web.xml 
(original)
+++ tuscany/collaboration/webapp/tuscany/src/main/webapp/WEB-INF/web.xml Wed 
Jun 29 07:28:16 2011
@@ -22,7 +22,11 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; >
 
-  <display-name>Apache Tuscany Helloworld Sample</display-name>
+  <display-name>Apache Tuscany</display-name>
+
+  <listener>
+     
<listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
+  </listener>
 
   <filter>
     <filter-name>tuscany</filter-name> 


Reply via email to