[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ant build script

From: Bruce Atherton <bruce_at_callenish.com>
Date: 2002-03-21 02:29:05 CET

Here is the Ant build script I have been working on. It will pull all of
the parts of Subversion together, optionally including HTTPD-2.0. It can
pull many packages out of their repository or by downloading a tarball,
depending on how you set the properties in the svn-build.properties file.
It also can optionally email people (or the svn-breakage list) on success
or failure.

I had one conceptual problem with Berkeley DB because there is a chicken
and egg problem. I should pass a parameter into the HTTPD build to point to
Berkeley DB, but Subversion builds Berkeley DB and Subversion expects HTTPD
to be built before it is.

Note that this is not portable because it relies almost completely on the
Subversion Build System to do the real work, and that is *nix specific. I
would love if this were eventually cross platform, but it won't happen in
the near future.

I've included a short README to explain how to use it. It will be much
simpler to use, particularly the email function, once Ant 1.5 is released.
Note that the subject line of the email does not list the revision number
as it should because I don't know what the standard method of retrieving
that number should be. Running a verbose stat on a file that will always
exist? Parsing the .svn/entries file?

Neon is currently retrieved by version number by default, but it would be
nice if someone could apply the patch I sent in that would allow a
relaxation of the Neon version check, since that would allow people to test
against the latest Neon.

Anyway, if someone could add these files into the repository I'd appreciate
it. Thanks.

Log:

Ant build script to build Subversion from scratch. This will handle
downloading all the libraries that Subversion requires and building them.
It will also optionally build an Apache server. The default settings are
suitable for creating test builds of the latest code.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Mar 21 02:29:12 2002

This is an archived mail posted to the Subversion Dev mailing list.