evenisse    2003/07/11 05:38:17

  Modified:    src/plugins-build/statcvs plugin.jelly
               src/plugins-build/statcvs/xdocs changes.xml
  Log:
  Fixed Maven-561. Creates maven.build.dir and maven.docs.dest directory if doesn't 
exist. Thanks to Alwyn Schoeman
  
  Revision  Changes    Path
  1.6       +4 -1      maven/src/plugins-build/statcvs/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/statcvs/plugin.jelly,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- plugin.jelly      1 Jul 2003 13:53:42 -0000       1.5
  +++ plugin.jelly      11 Jul 2003 12:38:16 -0000      1.6
  @@ -3,6 +3,7 @@
   <project 
     xmlns:j="jelly:core"
     xmlns:maven="jelly:maven"
  +  xmlns:ant="jelly:ant"
     xmlns:doc="doc"
     xmlns:m="maven">
     
  @@ -50,11 +51,13 @@
       <j:choose>
         <j:when test="${jdk14 == 'true'}">
   
  +        <ant:mkdir dir="${maven.build.dir}"/>
           <property name="statcvs.logfile" value="${maven.build.dir}/statcvs.log"/>
   
           <cvs command="-q log" output="${statcvs.logfile}"/>
   
  -    <property name="maven.docs.dest" 
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
  +        <property name="maven.docs.dest" 
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
  +        <ant:mkdir dir="${maven.docs.dest}"/>
     
           <java jar="${plugin.getDependencyPath('statcvs')}" fork="true">
             <arg value="${pom.name}"/>
  
  
  
  1.2       +3 -0      maven/src/plugins-build/statcvs/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/statcvs/xdocs/changes.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.xml       2 Jul 2003 09:04:17 -0000       1.1
  +++ changes.xml       11 Jul 2003 12:38:17 -0000      1.2
  @@ -7,6 +7,9 @@
   
     <body>
        <release version="1.2" date="in CVS">
  +      <action dev="evenisse" type="fix" due-to="Alwyn Schoeman">
  +        Fixed MAVEN-561. Creates maven.build.dir and maven.docs.dest directory if 
doesn't exist.
  +      </action>
         <action dev="evenisse" type="fix">
           Fixed MAVEN-493. I register reports only if source, test,... exists.
           So, corresponding entrys in menu will appear only if reports are registered.
  
  
  

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

Reply via email to