bodewig     01/03/09 03:37:52

  Modified:    src/main/org/apache/tools/ant/taskdefs XSLTProcess.java
  Log:
  Make <style> resolve stylesheet filename as relative to the projects
  base directory.
  
  PR: 603
  
  Revision  Changes    Path
  1.14      +3 -3      
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
  
  Index: XSLTProcess.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- XSLTProcess.java  2001/01/11 09:12:44     1.13
  +++ XSLTProcess.java  2001/03/09 11:37:50     1.14
  @@ -84,7 +84,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]">Keith Visco</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Sam Ruby</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Russell Gold</a>
  - * @version $Revision: 1.13 $ $Date: 2001/01/11 09:12:44 $
  + * @version $Revision: 1.14 $ $Date: 2001/03/09 11:37:50 $
    */
   public class XSLTProcess extends MatchingTask {
   
  @@ -216,8 +216,8 @@
       /**
        * Sets the file to use for styling relative to the base directory.
        */
  -    public void setStyle(String xslFile) {
  -        this.xslFile = new File(xslFile);
  +    public void setStyle(File xslFile) {
  +        this.xslFile = xslFile;
       }
   
       /**
  
  
  

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

Reply via email to