Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 65661 invoked from network); 24 Jan 2001 12:58:43 -0000 Received: from mta05.mail.au.uu.net (HELO mta05.mail.mel.aone.net.au) (203.2.192.85) by h31.sny.collab.net with SMTP; 24 Jan 2001 12:58:43 -0000 Received: from cognetnt ([63.34.196.95]) by mta05.mail.mel.aone.net.au with SMTP id <20010124125841.HRAQ6342.mta05.mail.mel.aone.net.au@cognetnt> for ; Wed, 24 Jan 2001 23:58:41 +1100 Message-ID: <01d001c08606$41e004e0$80dc1fcb@cognetnt> From: "Conor MacNeill" To: Subject: Changes to new build process Date: Thu, 25 Jan 2001 00:04:31 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Pete, I have made a few changes to the new build process. The construct would fail for values of "dist.dir" which are not a simple directory. Absolute paths and paths containing a / will fail to work as expected. I have moved the building of distribution zips out of dist into a bin-dist target, called from the full-dist target. I think that is reasonable. There are some remaining issues to think about: Ant's Exec/Execute code expects ant.home/bin to contain the scripts ant uses at runtime to launch external commands. As the bootstrap process no longer creates a bin directory, any such tasks used in the ant build (such as chmod) may fail. It may work, depending on how far into building it happens, but it is a danger, IMHO. This may also be a problem with the install.target using ant.home if installing into an empty directory. I was tempted to introduce a ant.install.dir value to keep it distinct from ant.home. total-clean does not remove dist directory. Not a big deal If you do a "build install" and it happens that you need to do a bootstrap, the bootstrap will end up calling build.bat and perform an install into "." :-( Conor