From 39db94a5e87ce8d7c42a7245f9cbb85831f2e3f5 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 22 Dec 2001 12:36:45 +0000 Subject: [PATCH] Move getAntHomeDirectory to the Execute class. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270301 13f79535-47bb-0310-9956-ffa450edef68 --- .../framework/exec/launchers/ExecUtil.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/launchers/ExecUtil.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/launchers/ExecUtil.java index def87391e..39587015b 100644 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/launchers/ExecUtil.java +++ b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/launchers/ExecUtil.java @@ -82,21 +82,4 @@ class ExecUtil { return c_cwd; } - - /** - * Retrieve the directory in which Myrmidon is installed. - * This is used to determine the locaiton of scripts in various launchers. - */ - protected static File getAntHomeDirectory() - { - final String antHome = System.getProperty( "ant.home" ); - if( null == antHome ) - { - final String message = - "Cannot locate antRun script: Property 'ant.home' not specified"; - throw new IllegalStateException( message ); - } - - return new File( antHome ); - } }