evenisse    2003/08/05 02:14:26

  Modified:    src/plugins-build/war plugin.jelly
  Log:
  Test if sources is present before copy classes in webapp.
  
  Revision  Changes    Path
  1.25      +8 -6      maven/src/plugins-build/war/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/war/plugin.jelly,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- plugin.jelly      5 Jul 2003 17:10:45 -0000       1.24
  +++ plugin.jelly      5 Aug 2003 09:14:26 -0000       1.25
  @@ -121,12 +121,14 @@
         <!-- END OF TO BE REMOVED -->
       </j:forEach>            
   
  -    <ant:copy todir="${webapp.build.classes}">
  -      <ant:fileset dir="${maven.build.dest}">
  -        <ant:include name="${maven.war.classes.includes}" />
  -        <ant:exclude name="${maven.war.classes.excludes}" />
  -      </ant:fileset>
  -    </ant:copy>  
  +    <j:if test="${sourcesPresent == 'true'}">
  +      <ant:copy todir="${webapp.build.classes}">
  +        <ant:fileset dir="${maven.build.dest}">
  +          <ant:include name="${maven.war.classes.includes}" />
  +          <ant:exclude name="${maven.war.classes.excludes}" />
  +        </ant:fileset>
  +      </ant:copy>
  +    </j:if>
   
     </goal>
   
  
  
  

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

Reply via email to