Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] Batch Build questions

1. In general, we use environment variables when something is used by other scripts besides ant. In some cases it might be because I wanted to use OS path mechanisms to have machine specific information found easily, while the invocation method (from CruiseControl) stays the same.

2. Not sure what you mean. You have to get at least the build script. that's step two in the document you reference. Everything else is checked out automatically.
Oh, do you mean the JVMs and ANT in step 1? Sure, feel free to contribute. (Although, seems kind of hard to do it well, and IMHO there's more important things to improve). I suspect you mean something else that I'm not seeing.

3. This is a statement, not a question. :)  

And, as I've said before .. have at it. Contributions are always welcome. There are some "criteria and principles" that have to be met, so I suggest 1) small, incremental contributions at first, to learn the ropes and insure steady improvement without risking big breakages, and 2) some principles are spelled out in previous bugzilla entries, so be sure read them, such as ... none of which contradict what you say ... but, spells out a little more of the theory and requirements of our builds.  I don't mean be discouraging. Tons of improvements are possible, some easy, some hard, there are bugzillas already open for many of them, and you are welcome to open others ... so hop right in!  And feel free to ask questions, either here on wtp-releng, or in bugzillas you open.

From: David Carver <dcarver@xxxxxxxxxxxxxxxx>
To: wtp-releng@xxxxxxxxxxx
Date: 10/01/2008 01:34 PM
Subject: [wtp-releng] Batch Build questions

I was reviewing the Batch Build document and have a couple of questions:

1.  Why are we relying on Environment Variables to be set instead of
using ANT property variables, that can be passed into the ANT build.  
Particular candidates for property files and ant properties are:

       LOCAL_BUILD_PROPERTIES_DIR to the copied properties directory
       from the last step

       BUILD_CVS_READ_PROTOCOL = pserver


All of the above can be specified as an ANT property and passed in when
the ant build script is completed.

2.  Shouldn't the ANT build script automatically check out all the files
if necessary.   As it is right now you have to do this manually outside
of the build script.

3.  Ideally only specifying the ant build.xml command line should be
necessary to get a build.   If we eliminate the Environement variables
then we can use a standard property file if necessary to set these
values....But ideally, they should be set by default, and overriden when


wtp-releng mailing list

Back to the top