Handle non-Joonix file paths properly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4197 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -315,6 +315,14 @@ public abstract class InvocationTask extends Task
|
||||
return (didx == -1) ? name : name.substring(0, didx);
|
||||
}
|
||||
|
||||
protected static String replacePath (
|
||||
String source, String oldstr, String newstr)
|
||||
{
|
||||
return StringUtil.replace(source,
|
||||
oldstr.replace('/', File.separatorChar),
|
||||
newstr.replace('/', File.separatorChar));
|
||||
}
|
||||
|
||||
/** A list of filesets that contain tile images. */
|
||||
protected ArrayList _filesets = new ArrayList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user