Browse Source

Make <style> resolve stylesheet filename as relative to the projects

base directory.

PR: 603


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268791 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
6c0b93ef1e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java View File

@@ -216,8 +216,8 @@ public class XSLTProcess extends MatchingTask {
/** /**
* Sets the file to use for styling relative to the base directory. * 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;
} }


/** /**


Loading…
Cancel
Save