incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r927465 - in /incubator/aries/trunk/samples: ariestrader-sample/modules/ariestrader-web/pom.xml blog/blog-web/pom.xml blog/blog-web/src/main/resources/WEB-INF/web.xml
Date Thu, 25 Mar 2010 16:05:19 GMT
Author: gawor
Date: Thu Mar 25 16:05:19 2010
New Revision: 927465

URL: http://svn.apache.org/viewvc?rev=927465&view=rev
Log:
let samples run on containers that support servlet 3.0 api (not sure what upper range would
make sense so I'm not setting it)

Modified:
    incubator/aries/trunk/samples/ariestrader-sample/modules/ariestrader-web/pom.xml
    incubator/aries/trunk/samples/blog/blog-web/pom.xml
    incubator/aries/trunk/samples/blog/blog-web/src/main/resources/WEB-INF/web.xml

Modified: incubator/aries/trunk/samples/ariestrader-sample/modules/ariestrader-web/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader-sample/modules/ariestrader-web/pom.xml?rev=927465&r1=927464&r2=927465&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader-sample/modules/ariestrader-web/pom.xml (original)
+++ incubator/aries/trunk/samples/ariestrader-sample/modules/ariestrader-web/pom.xml Thu Mar
25 16:05:19 2010
@@ -74,6 +74,10 @@
                   <Web-JSPExtractLocation>/</Web-JSPExtractLocation>
                   <Private-Package>org.apache.aries.samples.ariestrader.web.*</Private-Package>
                   <Export-Package>!org.apache.aries.samples.ariestrader.web.*</Export-Package>
+                  <Import-Package>
+                    javax.servlet*;version=2.5,
+                    *
+                  </Import-Package>
                 </instructions>
               </configuration>
             </plugin>

Modified: incubator/aries/trunk/samples/blog/blog-web/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/blog/blog-web/pom.xml?rev=927465&r1=927464&r2=927465&view=diff
==============================================================================
--- incubator/aries/trunk/samples/blog/blog-web/pom.xml (original)
+++ incubator/aries/trunk/samples/blog/blog-web/pom.xml Thu Mar 25 16:05:19 2010
@@ -53,6 +53,10 @@
                         <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
                         <Private-Package>org.apache.aries.samples.blog.web.*</Private-Package>
                         <Export-Package>!org.apache.aries.samples.blog.web.*</Export-Package>
+                        <Import-Package>
+                            javax.servlet*;version=2.5,
+                            *
+                        </Import-Package>
                     </instructions>
                 </configuration>
             </plugin>

Modified: incubator/aries/trunk/samples/blog/blog-web/src/main/resources/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/blog/blog-web/src/main/resources/WEB-INF/web.xml?rev=927465&r1=927464&r2=927465&view=diff
==============================================================================
--- incubator/aries/trunk/samples/blog/blog-web/src/main/resources/WEB-INF/web.xml (original)
+++ incubator/aries/trunk/samples/blog/blog-web/src/main/resources/WEB-INF/web.xml Thu Mar
25 16:05:19 2010
@@ -24,56 +24,48 @@
          <display-name>View Blog Author</display-name>
          <description>This Servlet loads and displays the details of a blog author.</description>
          <servlet-class>org.apache.aries.samples.blog.web.ViewAuthor</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_2">
          <servlet-name>Edit Blog Author</servlet-name>
          <display-name>Edit Blog Author</display-name>
          <description>This Servlet edits or creates the details of a blog author.</description>
          <servlet-class>org.apache.aries.samples.blog.web.EditAuthor</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_3">
          <servlet-name>Edit Blog Author Form</servlet-name>
          <display-name>Edit Blog Author Form</display-name>
          <description>This Servlet that displays the form for creating or updating
the details of a blog author.</description>
          <servlet-class>org.apache.aries.samples.blog.web.EditAuthorForm</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_4">
          <servlet-name>Add Comment Form Servlet</servlet-name>
          <display-name>Add Comment Form Servlet</display-name>
          <description>This Servlet shows a form for adding comments.</description>
          <servlet-class>org.apache.aries.samples.blog.web.AddCommentForm</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_5">
          <servlet-name>Create Blog Entry</servlet-name>
          <display-name>Create Blog Entry</display-name>
          <description>This Servlet that creates a blog entry.</description>
          <servlet-class>org.apache.aries.samples.blog.web.CreateBlogEntry</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_6">
          <servlet-name>View Blog</servlet-name>
          <display-name>View Blog</display-name>
          <description>This Servlet that views the blog posts.</description>
          <servlet-class>org.apache.aries.samples.blog.web.ViewBlog</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_7">
          <servlet-name>Add Comment Servlet</servlet-name>
          <display-name>Add Comment Servlet</display-name>
          <description>This Servlet adds a comments.</description>
          <servlet-class>org.apache.aries.samples.blog.web.AddComment</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>
       <servlet id="Servlet_8">
          <servlet-name>Create Blog Entry Form</servlet-name>
          <display-name>Create Blog Entry Form</display-name>
          <description>This Servlet that displays the form for creating a blog post.</description>
          <servlet-class>org.apache.aries.samples.blog.web.CreateBlogEntryForm</servlet-class>
-         <load-on-startup></load-on-startup>
       </servlet>      
       <servlet-mapping id="ServletMapping_1">
          <servlet-name>View Blog Author</servlet-name>



Mime
View raw message