You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2005/08/31 00:17:13 UTC

cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet maven.xml

dlouzan     2005/08/30 15:17:13

  Added:       sandbox/wsrp4j/testportlet maven.xml
  Log:
  Initial commit.
  
  Revision  Changes    Path
  1.1                  ws-wsrp4j/sandbox/wsrp4j/testportlet/maven.xml
  
  Index: maven.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <!--
  Copyright 2003-2005 The Apache Software Foundation.
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
  
  <project default="tomcat:deploy"
           xmlns:j="jelly:core"
           xmlns:maven="jelly:maven"
           xmlns:ant="jelly:ant">
  
      <!-- The multiproject won't let us call war directly, we must specify
           since it won't be set by war goal. -->
      <preGoal name="tomcat:deploy">
          <j:set var="maven.war.final.name" value="wsrp4j-testportlet.war"/>
      </preGoal>
      
      <goal name="tomcat:deploy">
          <java classname="org.apache.pluto.driver.deploy.CLI" fork="yes">
              <classpath>
                  <path refid="maven.dependency.classpath"/>
                  <pathelement path="${maven.build.dest}"/>
              </classpath>
              <arg value="-verbose"/>
              <arg value="-p"/><arg value="${maven.tomcat.home}/webapps/wsrp4j-producer"/>
              <arg value="-d"/><arg value="${maven.tomcat.home}/webapps"/>
              <arg value="${basedir}/target/${maven.war.final.name}"/>
           </java>
      </goal>
  
  </project>