metasim 00/11/27 18:51:46
Modified: src/main/org/apache/tools/ant Project.java
Log:
Opened up access to the topological sort code so a list targets that
must be called to fulfill a specific target can be determined.
Revision Changes Path
1.48 +1 -1 jakarta-ant/src/main/org/apache/tools/ant/Project.java
Index: Project.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- Project.java 2000/11/27 06:23:34 1.47
+++ Project.java 2000/11/28 02:51:45 1.48
@@ -836,7 +836,7 @@
* @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();