Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 22281 invoked from network); 14 Nov 2001 09:46:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2001 09:46:23 -0000 Received: (qmail 29140 invoked by uid 97); 14 Nov 2001 09:46:30 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 29084 invoked by uid 97); 14 Nov 2001 09:46:29 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 29035 invoked from network); 14 Nov 2001 09:46:26 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-dev@jakarta.apache.org Subject: Re: [patch] new file: jakarta-ant/src/script/antRun.pl References: From: Stefan Bodewig Date: 14 Nov 2001 10:41:57 +0100 Message-ID: Lines: 46 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Jeff, I noticed you've commented out the chdir call in the script - is that intended? You seem to prefix the directory to the command to execute, this is not what antRun does - there is a difference between cd /tmp ls and /tmp/ls at least in most situations 8-) I guess I'm simply not understanding the script, which may very well be as my Perl has become more than a little rusty. Also, I just now realized that your first patches applied to Exec.java - this file isn't used anywhere anymore, corresponds to ExecTask.java which in turn uses Execute.java, I guess you want to do something like the attached patch. Stefan Index: src/main/org/apache/tools/ant/taskdefs/Execute.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Execute.java,v retrieving revision 1.24 diff -u -r1.24 Execute.java --- src/main/org/apache/tools/ant/taskdefs/Execute.java 2001/11/02 07:56:52 1.24 +++ src/main/org/apache/tools/ant/taskdefs/Execute.java 2001/11/14 09:29:08 @@ -119,6 +119,11 @@ // OS/2 - use same mechanism as Windows 2000 shellLauncher = new WinNTCommandLauncher(new CommandLauncher()); } + else if ( Os.isFamily("netware") ) { + // Novell Netware - use the Perl script + shellLauncher = new ScriptCommandLauncher("bin/antRun.pl", + new CommandLauncher()); + } else if ( Os.isFamily("windows") ) { // Windows. Need to determine which JDK we're running in -- To unsubscribe, e-mail: For additional commands, e-mail: