From 04cf5e0186b105ca8982374e63c99e3d2e3b2c37 Mon Sep 17 00:00:00 2001 From: metasim Date: Tue, 28 Nov 2000 02:51:45 +0000 Subject: [PATCH] Opened up access to the topological sort code so a list targets that must be called to fulfill a specific target can be determined. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268247 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/Project.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/Project.java b/src/main/org/apache/tools/ant/Project.java index 3110aec2f..4841bdd91 100644 --- a/src/main/org/apache/tools/ant/Project.java +++ b/src/main/org/apache/tools/ant/Project.java @@ -836,7 +836,7 @@ public class Project { * @exception BuildException if there is a cyclic dependency among the * Targets, or if a Target does not exist. */ - private final Vector topoSort(String root, Hashtable targets) + public final Vector topoSort(String root, Hashtable targets) throws BuildException { Vector ret = new Vector(); Hashtable state = new Hashtable();