Commit 94115ee0 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Changed reloc with this.reloc in generateJavaCode method

parent 769fd2bc
/* /*
* $Id: Transmorpher.java,v 1.8 2003-01-30 15:47:46 triolet Exp $ * $Id: Transmorpher.java,v 1.9 2003-03-10 11:51:55 triolet Exp $
* *
* Transmorpher * Transmorpher
* *
...@@ -728,15 +728,15 @@ public class Transmorpher extends Observable { ...@@ -728,15 +728,15 @@ public class Transmorpher extends Observable {
for (ListIterator l = transformations.listIterator(); l.hasNext(); ) { for (ListIterator l = transformations.listIterator(); l.hasNext(); ) {
Transformation t = ((Transformation)l.next()); Transformation t = ((Transformation)l.next());
if (t instanceof Ruleset) { if (t instanceof Ruleset) {
((Ruleset)t).generateXSLTStylesheet(reloc); ((Ruleset)t).generateXSLTStylesheet(this.reloc);
} else if (t instanceof Query) { } else if (t instanceof Query) {
((Query)t).generateXSLTStylesheet(reloc); ((Query)t).generateXSLTStylesheet(this.reloc);
} }
} }
try { try {
iCompilDirectory = getFile().getAbsoluteFile().getParent(); iCompilDirectory = getFile().getAbsoluteFile().getParent();
if (reloc != null) { if (this.reloc != null) {
iCompilDirectory = reloc; iCompilDirectory = this.reloc;
} else { } else {
iCompilDirectory = getFile().getAbsoluteFile().getParent(); iCompilDirectory = getFile().getAbsoluteFile().getParent();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment