zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <okiddle@yahoo.co.uk>
To: Bill Burton <billb@progress.com>
Cc: Zsh users list <zsh-users@sunsite.dk>
Subject: _ant (was Re: zsh 4.0.5/4.1.0 release soon?)
Date: Fri, 16 Aug 2002 10:51:01 +0100	[thread overview]
Message-ID: <E17fdkz-00019j-00@bimbo.logica.co.uk> (raw)
In-Reply-To: <3D5C00EE.E31D18A1@progress.com>

On 15 Aug, Bill Burton wrote:
> 
> Don't know this is worth waiting for, but I've written support for the
> Jakarta Ant build tool (http://jakarta.apache.org/ant/) using the new

> I should be able to update my existing implementation for the Ant 1.5
> options and submit it early next week.

Felix mentioned that I submitted such a function last week and it does
include the ant 1.5 options. However I don't really know a lot about
ant so it is likely that my function doesn't do the best thing in all
cases and there may well be some aspects of yours that it will be
useful to take. So I suggest that you don't worry about the ant 1.5
options and that we try to take the best from each of our functions.

> If anyone has any suggestions or examples that would be helpful in
> implementing caching, that would be appreciated.  The simple approach I
> was considering was to save the path and timestamp of the build file along
> with the targets and their associated descriptions as variables in
> memory.  If either the path to the build file changed or the timestamp of

Caching is certainly an option. We should be able associate caches with
the appropriate build.xml file though datestamping them would be tricky
unless we load the stat module.

As Felix mentioned, I used sed to get the targets quickly. I don't have
many build.xml files to have tested that on so if anyone could see if it
breaks on any of theirs, that would be useful. It would be easy to
contrive a build.xml to break it but I'd be interested to know if there 
are many other there that break it without trying.

One option would be to use the call-command style (currently only used
for make) to decide between the slow but correct ant solution and the
quick but potentially wrong sed solution.

Also, I've just realised that I forgot to remove the code for completing
the value of $ANT_ARGS from _ant before committing it on the 4.0 branch
so that'll need cleaning up.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


      parent reply	other threads:[~2002-08-16  9:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-03 23:35 zsh 4.0.5/4.1.0 release soon? Kenneth Lareau
2002-08-05  9:43 ` Peter Stephenson
2002-08-06 17:51   ` Kenneth Lareau
2002-08-08 10:52     ` Peter Stephenson
2002-08-15 19:28       ` Bill Burton
2002-08-15 21:08         ` Felix Rosencrantz
2002-08-16  9:51         ` Oliver Kiddle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E17fdkz-00019j-00@bimbo.logica.co.uk \
    --to=okiddle@yahoo.co.uk \
    --cc=billb@progress.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).