taylor      2004/04/19 19:08:51

  Modified:    portal   maven.xml
  Log:
  added struts-demo to fullDeploy

  

  PR:

  Obtained from:

  Submitted by: 

  Reviewed by:  

  CVS: ----------------------------------------------------------------------

  CVS: PR:

  CVS:   If this change addresses a PR in the problem report tracking

  CVS:   database, then enter the PR number(s) here.

  CVS: Obtained from:

  CVS:   If this change has been taken from another system, such as NCSA,

  CVS:   then name the system in this line, otherwise delete it.

  CVS: Submitted by:

  CVS:   If this code has been contributed to Apache by someone else; i.e.,

  CVS:   they sent us a patch or a new module, then include their name/email

  CVS:   address here. If this is your work then delete this line.

  CVS: Reviewed by:

  CVS:   If we are doing pre-commit code reviews and someone else has

  CVS:   reviewed your changes, include their name(s) here.

  CVS:   If you have not had it reviewed then delete this line.

  
  Revision  Changes    Path
  1.65      +46 -0     jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- maven.xml 19 Apr 2004 22:55:36 -0000      1.64
  +++ maven.xml 20 Apr 2004 02:08:51 -0000      1.65
  @@ -158,6 +158,29 @@
           </java>
     </goal>
   
  + <goal name="pam.strutsdeploy">
  +         <java 
classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager" fork="yes">
  +          <classpath>
  +            <path refid="maven.dependency.classpath"/>
  +            <pathelement path="${maven.build.dest}"/>
  +          </classpath>
  +            <sysproperty key="org.apache.jetspeed.database.url" 
value="${org.apache.jetspeed.database.url}"/>
  +            <sysproperty key="org.apache.jetspeed.database.driver" 
value="${org.apache.jetspeed.database.driver}"/>
  +            <sysproperty key="org.apache.jetspeed.database.user" 
value="${org.apache.jetspeed.database.user}"/>
  +            <sysproperty key="org.apache.jetspeed.database.password" 
value="${org.apache.jetspeed.database.password}"/>
  +            <arg value="-action" />
  +            <arg value="deploy" />
  +            <arg value="-PortletAppName" />
  +            <arg value="struts-demo" />
  +            <arg value="-warfilename" />
  +            <arg value="../struts-portlet/demo/target/struts-demo.war" />
  +            <arg value="-webappDir" />
  +            <arg value="${pam.deploy.dir}/" />
  +            <arg value="-PortalName" />
  +            <arg value="jetspeed" />
  +        </java>
  +  </goal>
  +
     <goal name="pam.undeploy">
            <java 
classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager" fork="yes">
             <classpath>
  @@ -205,6 +228,28 @@
           </java>
     </goal>
   
  +  <goal name="pam.strutsundeploy">
  +         <java 
classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager" fork="yes">
  +          <classpath>
  +            <path refid="maven.dependency.classpath"/>
  +            <pathelement path="${maven.build.dest}"/>
  +          </classpath>
  +            <sysproperty key="org.apache.jetspeed.database.url" 
value="${org.apache.jetspeed.database.url}"/>
  +            <sysproperty key="org.apache.jetspeed.database.driver" 
value="${org.apache.jetspeed.database.driver}"/>
  +            <sysproperty key="org.apache.jetspeed.database.user" 
value="${org.apache.jetspeed.database.user}"/>
  +            <sysproperty key="org.apache.jetspeed.database.password" 
value="${org.apache.jetspeed.database.password}"/>
  +            <arg value="-action" />
  +            <arg value="undeploy" />
  +            <arg value="-PortletAppName" />
  +            <arg value="struts-demo" />
  +            <arg value="-webappDir" />
  +            <arg value="${pam.deploy.dir}/" />
  +            <arg value="-PortalName" />
  +            <arg value="jetspeed" />
  +            <arg value="-ApplicationType" />
  +            <arg value="webapp" />
  +        </java>
  +  </goal>
   
     <!-- ================================================================ -->
     <!-- Deploy to Catalina and Expand                                    -->
  @@ -246,6 +291,7 @@
         <attainGoal name="deploy" />
         <attainGoal name="pam.register" />
         <attainGoal name="pam.deploy" />
  +     <attainGoal name="pam.strutsdeploy" />           
        <attainGoal name="db.entities" />
     </goal>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to