jvanzyl     2002/07/23 09:19:17

  Modified:    src/plugins-build/xdoc/src/java/org/apache/maven
                        BaseProjectTask.java
  Log:
  o Applying patch in the hopes that this fixes the problems with coercion
    on jdk 1.4. This is a shot in the dark as I can generate the site
    but others having problems can try.
  
  Revision  Changes    Path
  1.4       +13 -1     
jakarta-turbine-maven/src/plugins-build/xdoc/src/java/org/apache/maven/BaseProjectTask.java
  
  Index: BaseProjectTask.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/src/java/org/apache/maven/BaseProjectTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BaseProjectTask.java      17 Jul 2002 05:12:49 -0000      1.3
  +++ BaseProjectTask.java      23 Jul 2002 16:19:17 -0000      1.4
  @@ -104,6 +104,18 @@
           return mavenProject;
       }        
   
  +     /**
  +      * [REQUIRED] Set the output directory. It will be
  +      * created if it doesn't exist.
  +      *
  +      * @task This shouldn't be required but it appears that
  +      *       there are some problems with coercion under jdk 1.4
  +      */
  +     public void setOutputDirectory(String outputDirectory)
  +     {
  +         super.setOutputDirectory(new File(outputDirectory));
  +     }
  +
       /**
        * Set the project descriptor file. This file must exist.
        * @param projectDescriptor the project descriptor file
  
  
  

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

Reply via email to