weaver      2004/08/03 06:57:44

  Modified:    maven-plugin plugin.jelly
  Log:
  check for the availability of jetspeed.properties before we try the filterset copy
  
  Revision  Changes    Path
  1.12      +9 -6      jakarta-jetspeed-2/maven-plugin/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/maven-plugin/plugin.jelly,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- plugin.jelly      29 Jul 2004 22:27:51 -0000      1.11
  +++ plugin.jelly      3 Aug 2004 13:57:44 -0000       1.12
  @@ -151,12 +151,15 @@
            <fileset dir="${basedir}/src/webapp"/>
        </copy>     
        
  -     <copy file="${maven.war.src}/WEB-INF/conf/jetspeed.properties" 
tofile="${maven.war.webapp.dir}/WEB-INF/conf/jetspeed.properties" overwrite="true">
  -      <filterset begintoken="@" endtoken="@">
  -        <filter token="AUTODEPLOYMENT_USER" 
value="${org.apache.jetspeed.services.autodeployment.user}"/>
  -        <filter token="AUTODEPLOYMENT_PASSWORD" 
value="${org.apache.jetspeed.services.autodeployment.password}"/>
  -      </filterset>
  -    </copy>
  +     
  +     <util:available file="${maven.war.src}/WEB-INF/conf/jetspeed.properties">
  +       <copy file="${maven.war.src}/WEB-INF/conf/jetspeed.properties" 
tofile="${maven.war.webapp.dir}/WEB-INF/conf/jetspeed.properties" overwrite="true">
  +        <filterset begintoken="@" endtoken="@">
  +          <filter token="AUTODEPLOYMENT_USER" 
value="${org.apache.jetspeed.services.autodeployment.user}"/>
  +          <filter token="AUTODEPLOYMENT_PASSWORD" 
value="${org.apache.jetspeed.services.autodeployment.password}"/>
  +        </filterset>
  +      </copy>
  +     </util:available>
       
       <attainGoal name="war:war" />
     </goal>
  
  
  

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

Reply via email to