ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Continuing with the build
Date Thu, 10 Oct 2002 17:53:26 GMT
java standalone.....

It works like this...

1.A perl script sees a  commit in a branch of cvs 
2.It creates a file (a propeties file that signify the committ)..
3.drops it inot a directory ..
4.This directory is monitiored for 1. new notification files 2.or change in
already existing ones
5.An observer finds whether it is a new file or an old file with a timestamp
change..(each is a job)
6.queues up jobs ....(one for each type of notification file so if four
modules four queues and four threads)
7.thread executes the job on a FIFO basis and mails build results(of cource
you have to comment out System.exit() at a few places in the Main java file
and build the ant.jar again....
or better introduce a patch..
8.Thus the above allows for

Atomic commits(where a commit is follwed by a build)
queieg up jobs for a module(if multiple commits and thereforemultple builds
have to take place)
Further we do not want to interrupt a build b'coz we tend to notify the
committee(who committed)
via MailLogger of Ant ...(the mail address is dully passed in as a part of
the properies file
Concurrently processing of jobs related to differnt modules/versions...

If any one is interested would like to have comments on this 
please respond

-----Original Message-----
From: Alexey Solofnenko []
Sent: Thursday, October 10, 2002 12:51 PM
To: 'Ant Users List'
Subject: RE: Continuing with the build

It is possible, but VERY inconvenient. My build consists of several
component builds with inter-component dependencies (I preprocess them into
one build file). The general rule should be that a component unit test
should be executed only if all dependencies' unit tests succeeded. As many
as possible unit tests should be executed. Since I automatically generate
most of build files, I can implement it for unit testing. But what about
java compilation and other tasks? Wrapping every task does not seem as a
good way of doing it.

- Alexey
{   } Alexey N. Solofnenko
{ } Inventigo LLC
Pleasant Hill, CA (GMT-8 usually)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message