On Fri, 7 Sep 2001 14:40, Jeff Turner wrote:
> > The standard targets I propose we all adopt are similar to
> > the Make utility conventions ('all' is the default target):
> >
> > 'all'
> > Compiles the program with debugging enabled by default.
> > This target is not required to build documentation. Standard
> > compilation properties and defaults are:
> > * build.debug=on
> > * build.optimize=off
>
> Great. I've noticed a tendency for people to call this "main". Anyway,
> it's a good addition, because it allows "ant clean all" to be done on
> any project, whereas without knowing the default target, you're stuck
> with "ant clean ; ant".
...
> Another question: what is the default target? I don't see anything
> suitable above, because they all build docs, which usually takes a long
> time.
How about "main" as the default target. It builds all the files that a
developer generally needs to perform every build cycle and creates a minimal
product that ready to be tested in other systems. So what this means in real
terms is different for each project. For some projects this may mean just
building jars, others may build jars and perform some tests, others may build
jars and create a minimal distribution directory layout (like dist-lite in
phoenix).
> (wishing you success where others have failed)
me too ;)
--
Cheers,
Pete
*------------------------------------------------*
| Trying is the first step to failure. |
| So never try, Lisa - Homer Jay Simpson |
*------------------------------------------------*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]