Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 57452 invoked from network); 24 Nov 2000 15:38:22 -0000 Received: from bodewig.bost.de (root@195.227.98.11) by locus.apache.org with SMTP; 24 Nov 2000 15:38:22 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.9.3/8.9.3) id QAA02770; Fri, 24 Nov 2000 16:38:13 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: Fork problem with AIX References: <004401c0552a$c7a54b60$8eaea409@boeblingen.de.ibm.com> <007001c05547$e705a640$8eaea409@boeblingen.de.ibm.com> <001101c055e6$d858a120$8eaea409@boeblingen.de.ibm.com> <006501c0560e$137bb860$8eaea409@boeblingen.de.ibm.com> <007a01c05617$9a266d20$8eaea409@boeblingen.de.ibm.com> From: Stefan Bodewig Date: 24 Nov 2000 16:38:13 +0100 In-Reply-To: "Stefan Schmitt"'s message of "Fri, 24 Nov 2000 14:08:10 +0100" Message-ID: Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Stefan Schmitt wrote: >> What does it do? What do you expect? What is wrong? > 1. It creates a file with the name install.class > > 2. I expected that it should create this class and add some > recources to this class. I mean that finaly the install.class file > is a large binary file which bases upon the original install.class > file but also includes all needed recources. (Some gifs, class and > zip files which it needs during installation. > > 3.Wrong? I only get a copy of the original file. > > I tried it with and . But everytime the same result. > > The problem of the addclass Class is that I define which files > should be added to a classfile. This filter refers to the directory > where addclass is called from. I used the dir attribute of > and of but I does not get my expected output. Could you > explain how the dir attribute works or if there is something else > which changes the current working directory. Basically dir causes a "cd dir" before the command is executed (which will not work when using in no-fork mode). Maybe you are passing relative filenames to the command and they don't get resolved relative to the directory you want them to refer to? Does the command line that ant -verbose shows work when you invoke it inside the specified dir? Stefan