Take files not strings, so that paths are correct.

This commit is contained in:
Michael Bayne
2015-03-16 19:29:55 -07:00
parent 30902f28f4
commit 8e04887d78
@@ -67,12 +67,12 @@ import com.threerings.cast.tools.xml.ClassRuleSet;
*/ */
public class MetadataBundlerTask extends Task public class MetadataBundlerTask extends Task
{ {
public void setActiondef (String actiondef) public void setActiondef (File actiondef)
{ {
_actionDef = actiondef; _actionDef = actiondef;
} }
public void setClassdef (String classdef) public void setClassdef (File classdef)
{ {
_classDef = classdef; _classDef = classdef;
} }
@@ -250,7 +250,7 @@ public class MetadataBundlerTask extends Task
return clmap; return clmap;
} }
protected ArrayList<?> parseList (Digester digester, String path) protected ArrayList<?> parseList (Digester digester, File path)
throws BuildException throws BuildException
{ {
try { try {
@@ -284,7 +284,7 @@ public class MetadataBundlerTask extends Task
} }
} }
protected String _actionDef; protected File _actionDef;
protected String _classDef; protected File _classDef;
protected File _target; protected File _target;
} }