axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r783479 - in /webservices/axis2/trunk/java/modules/webapp: pom.xml src/main/webapp/axis2-web/TopFrame.jsp src/main/webapp/axis2-web/listGroupService.jsp src/main/webapp/axis2-web/viewphases.jsp
Date Wed, 10 Jun 2009 20:02:34 GMT
Author: veithen
Date: Wed Jun 10 20:02:33 2009
New Revision: 783479

URL: http://svn.apache.org/viewvc?rev=783479&view=rev
Log:
AXIS2-4371: Added jspc-maven-plugin to validate the JSPs in the webapp and fixed all reported
errors.

Modified:
    webservices/axis2/trunk/java/modules/webapp/pom.xml
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/TopFrame.jsp
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/listGroupService.jsp
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/viewphases.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/pom.xml?rev=783479&r1=783478&r2=783479&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/webapp/pom.xml Wed Jun 10 20:02:33 2009
@@ -1356,6 +1356,30 @@
         <finalName>axis2-${version}</finalName>
         <plugins>
             <plugin>
+                <groupId>org.codehaus.mojo.jspc</groupId>
+                <artifactId>jspc-maven-plugin</artifactId>
+                <version>2.0-alpha-3</version>
+                <executions>
+                    <execution>
+                        <goals>
+                             <goal>compile</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <!-- We only want to validate the JSPs, but not to include the compiled
+                         versions in the project: -->
+                    <includeInProject>false</includeInProject>
+                </configuration>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.codehaus.mojo.jspc</groupId>
+                        <artifactId>jspc-compiler-tomcat6</artifactId>
+                        <version>2.0-alpha-3</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-war-plugin</artifactId>
                 <version>${maven.war.version}</version>

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/TopFrame.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/TopFrame.jsp?rev=783479&r1=783478&r2=783479&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/TopFrame.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/TopFrame.jsp Wed
Jun 10 20:02:33 2009
@@ -25,7 +25,6 @@
     </style></head>
 
   <body>
-    <jsp:include page="include/adminheader.inc">
-    </jsp:include>
+    <jsp:include page="include/adminheader.inc"/>
   </body>
 </html>

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/listGroupService.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/listGroupService.jsp?rev=783479&r1=783478&r2=783479&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/listGroupService.jsp
(original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/listGroupService.jsp
Wed Jun 10 20:02:33 2009
@@ -33,8 +33,7 @@
 </head>
 
 <body>
-<jsp:include page="include/adminheader.jsp">
-</jsp:include>
+<jsp:include page="include/adminheader.jsp"/>
 <h1>Available services</h1>
 <%
   String prifix = request.getAttribute("frontendHostUrl") + (String)request.getSession().getAttribute(Constants.SERVICE_PATH)
+"/";
@@ -101,7 +100,6 @@
 <%
   }
 %>
-<jsp:include page="include/adminfooter.inc">
-</jsp:include>
+<jsp:include page="include/adminfooter.inc"/>
 </body>
 </html>

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/viewphases.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/viewphases.jsp?rev=783479&r1=783478&r2=783479&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/viewphases.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/viewphases.jsp Wed
Jun 10 20:02:33 2009
@@ -18,14 +18,14 @@
   --%> <%@ page import="org.apache.axis2.Constants,
                  org.apache.axis2.deployment.util.PhasesInfo,
                  org.apache.axis2.engine.Phase"%>
- <%@ page import="java.util.ArrayList"%>
+ <%@ page import="java.util.List"%>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <jsp:include page="include/adminheader.jsp"></jsp:include>
 <h1>Available Phases</h1>
      <%
          PhasesInfo phases = (PhasesInfo)request.getSession().getAttribute(Constants.PHASE_LIST);
          request.getSession().setAttribute(Constants.PHASE_LIST,null);
-         ArrayList tempList = phases.getGlobalInflow();
+         List tempList = phases.getGlobalInflow();
      %><h2><font color="blue">System Pre-defined Phases</font></h2>
      <b>InFlow Up to Dispatcher</b>
      <blockquote>



Mime
View raw message