From e96310b43b42c0be005bf3dde95cd3678d9785a9 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Tue, 19 Oct 2010 23:47:24 +0000 Subject: [PATCH] - Prefer reading from the created classpath instead of the parent classpath git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6216 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 e9d61d1e0..7a1f1cca0 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); + _cloader = ClasspathUtils.getClassLoaderForPath(getProject(), pathref, true); // 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