portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal maven.xml
Date Fri, 17 Oct 2003 20:13:15 GMT
weaver      2003/10/17 13:13:15

  Modified:    portal   maven.xml
  Log:
  additional goals to be used in development
  
  Revision  Changes    Path
  1.7       +37 -0     jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- maven.xml	16 Oct 2003 18:28:53 -0000	1.6
  +++ maven.xml	17 Oct 2003 20:13:15 -0000	1.7
  @@ -166,6 +166,43 @@
     <preGoal name="hotdeploy">
      <attainGoal name= "java:compile"/> 
     </preGoal>
  +  
  +  <goal name="deployClasses">
  +  	<attainGoal name="java:compile"/>
  +  	<attainGoal name="java:jar-resources"/> 
  +  	<copy todir="${deploy.war.dir}/${webapp.name}/WEB-INF/classes">
  +  		<fileset dir="${basedir}/target/classes" />
  +    </copy>
  +     <copy todir="${deploy.war.dir}/${webapp.name}">
  +  		<fileset dir="${basedir}/src/webapp" />
  +    </copy>
  +  </goal>
  +  
  +  <goal name="debugWebapp">
  +  	<copy todir="${debug.webapp.dir}/jetspeed">
  +  		<fileset dir="${basedir}/src/webapp" />
  +    </copy>
   
  +     <java classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager"
fork="yes">
  +       <classpath>
  +       	  
  +         <path refid="maven.dependency.classpath"/>
  +         <pathelement path="${maven.build.dest}"/>
  +        </classpath>
  +         <arg value="-action" />
  +         <arg value="deploy" />
  +         <arg value="-PortletAppName" />
  +         <arg value="HW_App" />
  +         <arg value="-warfilename" />
  +         <arg value="../applications/demo/target/demo.war" />
  +         <arg value="-webappDir" />
  +         <arg value="${debug.webapp.dir}/" />            
  +         <arg value="-PortalName" />
  +         <arg value="jetspeed" />
  +         <arg value="-DbAlias" />
  +         <arg value="${debug.webapp.dir}/jetspeed/WEB-INF/db/hsql/Registry" />  
         
  +         
  +      </java>
   
  +  </goal>
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message