abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: [PATCH] Pull dependencies out of build.xml into properties file
Date Sun, 18 Jun 2006 02:34:48 GMT
On 6/17/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> The "download" target in build.xml seemed kind of ugly, duplicating
> the filenames in both the urls and destinations because the <get> task
> can't be told to drop files in a directory, and cluttering up
> build.xml with giant urls.  So, I pulled the urls and filenames out
> into a properties file and made the <get> tasks use them instead of
> hardcoding things.  At the very least it removes some duplication in
> the filenames and cleans things up a little bit.
> Still on the TODO list is making download run automatically if any of
> the dependencies aren't present...

Ok, I got motivated.  Here's a version of the patch that makes us
automatically pull down the dependencies if they're not present.


Pull urls and filenames out of build.xml into a properties file, grab
the dependencies before building if they're not already present.

* build/build.xml
  Pull properties from dependencies/deps.properties.
  (download): Use new properties, add an if attribute.
  (init): Set do.download if any dependencies are missing.

* dependencies/deps.properties: New file.

View raw message