commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <phil.ste...@gmail.com>
Subject Re: [nightly build] beanutils logging failed.
Date Wed, 13 Jun 2007 00:54:34 GMT
On 6/12/07, Dennis Lundberg <dennisl@apache.org> wrote:
> Dennis Lundberg wrote:
> > Phil Steitz wrote:
> >> Failed build logs:
> >> http://vmbuild.apache.org/~commons/nightly/logs//20070612/beanutils.log
> >> http://vmbuild.apache.org/~commons/nightly/logs//20070612/logging.log
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >>
> > Now I'm confused. From what I can tell by the log for logging, all the
> > builds were successful. Might be something wrong with the nightly
> > script. Will have a look.
> >
>
> Found it. On line 280 we do this:
>
>   if [ `ls target/commons-$component*.jar` ] # build succeeded
>
> With commons logging there is more than one such jar file, which makes
> for an unpredictable response from "ls". We should probably do something
> along the lines of this instead:
>
>   if [ -f target/commons-$component*.jar ] # build succeeded
>
> I'll let one of the unix gurus figure that the exact details, since I
> don't have an environment set up to try this properly.
>

Ugh.  IIRC there is a comment above that line saying that that ugly
hack should be replaced by examining return code from m1, m2 ;-)  If
Hen does not beat me to it, I will fix this.  Thanks for chasing it
down.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message