[Anthill] build fails but anthill reports success
Mirza Abbas Raza
abbasrazam at yahoo.com
Fri Mar 4 12:39:14 CST 2005
Eric,
Before I got your mail, I had been using ant 1.5.3
because we have had issues with weblogic 8.1sp2. Wls
8.1 sp2 would compile jsps, ejbs etc only with ant
1.5.3.
When the builds failed, ant did return a failed status
and the same could be seen in the mail sent in by
anthill.
Since we have already moved to weblogic 8.1sp4, I
thought of trying ant 1.6.2. However, ant bit me back
with java.lang.InstantiationException. I checked
jakarta ant site and they say it could be because of
an old version of ant in classpath or configuration. I
checked classpath and path variables, which were
consistent with the paths to my 1.6.2 installation.
Any suggestions? Do you want to see the ant batch file
for 1.5.3?
Thanks,
Abbas
--- Eric Minick <eric at urbancode.com> wrote:
> Is Ant sending out a Build Failed message? If so,
> are you using a
> version of Ant not shipped with the product? In that
> case, if you are
> running Windows, you could be hitting a bug in the
> Ant batch file. You
> could grab one of the batch files from what that ant
> versions that are
> are shipped with Anthill.
>
> Let me know,
>
> Eric
>
> Mirza Abbas Raza wrote:
>
> >Hi,
> >
> >I tried looking thru the archives if this was
> already
> >discussed but there is no search utility. Without
> >search, it would a long task to rummage thru all
> the
> >topics.
> >
> >Anthill publishes success even if the build fails.
> For
> >ant java task, I am doing failonerror, which would
> >return a non-zero exit status to BuildManager.
> >However, for any other failure, success message is
> >sent.
> >
> >How do others tackle such a situation? Is there any
> >way ant can return a non-zero status for failure?
> >Maybe I tweak BuildManager class to check the build
> >status in ant log?
> >
> >thanks.
> >_______________________________________________
> >Anthill mailing list
> >Anthill at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >
> >
> >
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
More information about the Anthill
mailing list