cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/tools/src ManifestToolTask.java
Date Wed, 08 May 2002 10:00:46 GMT
cziegeler    02/05/08 03:00:46

  Modified:    tools/src ManifestToolTask.java
  Log:
  Fixing ant tasks, the files are now resolved with respect to the base dir of the project
  
  Revision  Changes    Path
  1.4       +1 -1      xml-cocoon2/tools/src/ManifestToolTask.java
  
  Index: ManifestToolTask.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/tools/src/ManifestToolTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ManifestToolTask.java	8 May 2002 09:55:27 -0000	1.3
  +++ ManifestToolTask.java	8 May 2002 10:00:46 -0000	1.4
  @@ -17,7 +17,7 @@
    * in the specified directory.
    *
    * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  - * @version CVS $Revision: 1.3 $ $Date: 2002/05/08 09:55:27 $
  + * @version CVS $Revision: 1.4 $ $Date: 2002/05/08 10:00:46 $
    */
   
   public final class ManifestToolTask extends Task {
  @@ -57,7 +57,7 @@
       throws IOException, BuildException {
   
           System.out.println("Writing: " + manifest);
  -        FileWriter w = new FileWriter(manifest);
  +        FileWriter w = new FileWriter(this.project.resolveFile(manifest));
           w.write("Manifest-Version: 1.0\n");
   
           if (directoryFile.exists() && directoryFile.isDirectory() ) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message