Browse Source

Undo change made by accident ...

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275193 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 22 years ago
parent
commit
6f5e89efb6
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java

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

@@ -226,9 +226,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
((XSLTLoggerAware) liaison).setLogger(this);
}

Class cl = liaison.getClass();
String s = cl.toString();

log("Using " + liaison.getClass().toString(), Project.MSG_VERBOSE);

File stylesheet = getProject().resolveFile(xslFile);
@@ -569,27 +566,22 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
protected XSLTLiaison getLiaison() {
// if processor wasn't specified, see if TraX is available. If not,
// default it to xslp or xalan, depending on which is in the classpath
Class cl = null;
if (liaison == null) {
if (processor != null) {
try {
resolveProcessor(processor);
cl = liaison.getClass();
} catch (Exception e) {
throw new BuildException(e);
}
} else {
try {
resolveProcessor("trax");
cl = liaison.getClass();
} catch (Throwable e1) {
try {
resolveProcessor("xalan");
cl = liaison.getClass();
} catch (Throwable e2) {
try {
resolveProcessor("xslp");
cl = liaison.getClass();
} catch (Throwable e3) {
e3.printStackTrace();
e2.printStackTrace();
@@ -599,7 +591,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger {
}
}
}
cl = liaison.getClass();
return liaison;
}



Loading…
Cancel
Save