portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal maven.xml
Date Sat, 01 May 2004 17:03:01 GMT
dlestrat    2004/05/01 10:03:01

  Modified:    portal   maven.xml
  Log:
  Set up for security portlets.
  
  Revision  Changes    Path
  1.67      +50 -2     jakarta-jetspeed-2/portal/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/maven.xml,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- maven.xml	29 Apr 2004 02:53:37 -0000	1.66
  +++ maven.xml	1 May 2004 17:03:00 -0000	1.67
  @@ -162,7 +162,7 @@
           </java>
     </goal>
   
  - <goal name="pam.strutsdeploy">
  +  <goal name="pam.strutsdeploy">
            <java classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager"
fork="yes">
             <classpath>
               <path refid="maven.dependency.classpath"/>
  @@ -185,6 +185,30 @@
               <arg value="jetspeed" />
           </java>
     </goal>
  +  
  +  <goal name="pam.securitydeploy">
  +         <java classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager"
fork="yes">
  +          <classpath>
  +            <path refid="maven.dependency.classpath"/>
  +            <pathelement path="${maven.build.dest}"/>
  +            <pathelement path="${org.apache.jetspeed.production.jdbc.drivers.path}"/>
  +          </classpath>
  +            <sysproperty key="org.apache.jetspeed.database.url" value="${org.apache.jetspeed.production.database.url}"/>
  +            <sysproperty key="org.apache.jetspeed.database.driver" value="${org.apache.jetspeed.production.database.driver}"/>
  +            <sysproperty key="org.apache.jetspeed.database.user" value="${org.apache.jetspeed.production.database.user}"/>
  +            <sysproperty key="org.apache.jetspeed.database.password" value="${org.apache.jetspeed.production.database.password}"/>
  +            <arg value="-action" />
  +            <arg value="deploy" />
  +            <arg value="-PortletAppName" />
  +            <arg value="security" />
  +            <arg value="-warfilename" />
  +            <arg value="../applications/security/target/security.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">
  @@ -258,6 +282,30 @@
               <arg value="webapp" />
           </java>
     </goal>
  +  
  +  <goal name="pam.securityundeploy">
  +         <java classname="org.apache.jetspeed.tools.pamanager.PortletApplicationManager"
fork="yes">
  +          <classpath>
  +            <path refid="maven.dependency.classpath"/>
  +            <pathelement path="${maven.build.dest}"/>
  +            <pathelement path="${org.apache.jetspeed.production.jdbc.drivers.path}"/>
  +          </classpath>
  +            <sysproperty key="org.apache.jetspeed.database.url" value="${org.apache.jetspeed.production.database.url}"/>
  +            <sysproperty key="org.apache.jetspeed.database.driver" value="${org.apache.jetspeed.production.database.driver}"/>
  +            <sysproperty key="org.apache.jetspeed.database.user" value="${org.apache.jetspeed.production.database.user}"/>
  +            <sysproperty key="org.apache.jetspeed.database.password" value="${org.apache.jetspeed.production.database.password}"/>
  +            <arg value="-action" />
  +            <arg value="undeploy" />
  +            <arg value="-PortletAppName" />
  +            <arg value="security" />
  +            <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                                    -->
  @@ -265,7 +313,6 @@
     <goal name="deploy">
        <echo message="Deploying ${pom.id}, ${pom.name}"/>
         <delete dir="${deploy.war.dir}/${webapp.name}"/>
  -      <!-- <copy  file="./target/jetspeed-2.0-a1-dev.war" tofile="${deploy.war.dir}/${webapp.name}.war"/>-->
         <copy  file="./target/jetspeed.war" tofile="${deploy.war.dir}/${webapp.name}.war"/>
         <unwar src="${deploy.war.dir}/${webapp.name}.war" dest="${deploy.war.dir}/${webapp.name}"/>
   
  @@ -308,6 +355,7 @@
     	 <attainGoal name="pam.register" />
     	 <attainGoal name="pam.deploy" />
        <attainGoal name="pam.strutsdeploy" />
  +     <attainGoal name="pam.securitydeploy" />
        <attainGoal name="db.entities" />
     </goal>
   
  
  
  

---------------------------------------------------------------------
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