From c61038277c8b18771d1c3c7ec1e9472951f0a702 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Fri, 22 Oct 2010 01:18:48 +0000 Subject: [PATCH] Go back on looking in the child classpath first; that means the client version of the presents classes are found before the tools version, and class equality comparisions don't work. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6217 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/presents/tools/GenTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/presents/tools/GenTask.java b/src/java/com/threerings/presents/tools/GenTask.java index 7a1f1cca0..e9d61d1e0 100644 --- a/src/java/com/threerings/presents/tools/GenTask.java +++ b/src/java/com/threerings/presents/tools/GenTask.java @@ -71,7 +71,7 @@ public abstract class GenTask extends Task /** Configures our classpath which we'll use to load service classes. */ public void setClasspathref (Reference pathref) { - _cloader = ClasspathUtils.getClassLoaderForPath(getProject(), pathref, true); + _cloader = ClasspathUtils.getClassLoaderForPath(getProject(), pathref); // set the parent of the classloader to be the classloader used to load this task, rather // than the classloader used to load Ant, so that we have access to Narya classes like