[Anthill] Looking for commons Execute source code

Eric Minick etm at urbancode.com
Tue Sep 20 16:10:58 CDT 2005


Dan,

Thanks for the reminder. I thought CommonsExecute was available on the site
somewhere, but I can't find it either. The plan has been to move that codebase
over to the public CVS server. That just hasn't happened yet. I can make it
available though. For reference, that code is built on top of some of Apache's
stuff, but we've done quite a bit to it.

However, I doubt that's your problem. We are just picking up the return code
given to us by Ant. Using your own Ant installation can cause this problem
under Windows as the ant.bat script we run is buggy
(http://issues.apache.org/bugzilla/show_bug.cgi?id=13655).

The position of the Ant people seems to be that changing the ant.bat always
breaks Ant on more versions of Windows than it helps and so they're not
terribly interested in the patches that have submitted. There should be
example ant scripts shipped with Anthill for both Ant 1.5 and 1.6. Replacing
your copies with those will address the problem.

Over on the Pro side, we just added a warning when selecting an external Ant
installation under windows that covers this. We should probably do the same
for OS to prevent the confusion.

Speaking of which, on the OS vs Pro issue, they're different enough that
setting up the system with one might not give you a great feel for what the
other one is capable of. The demo of pro is free, but with your inclination to
jump right into the source code, OS just might suit your tastes.

Hope that helps,

Eric

> Is the source for apache.commons.Execute available? I scoured Google and
> there is no reference to it (or it's Javadocs, for that matter). It doesn't
> seem to be an official Apache package.
>
> I believe I have found a bug where errors running unit tests in the build
> (via TestNG) make the Ant build fail, and the failure shows up in the log,
> but Anthill still thinks the build succeeded because the return code it gets
> is 0. When I run the same command from the command-line, I get a return code
> of 1. Thus, I think there's a bug in the Execute class, but I can't find the
> source code.
>
> I'm using Anthill OS, trying to get our builds working before we consider
> upgrading to Pro.
>
> Any help is appreciated. This is fairly serious bug, so I'm hoping that it's
> just something I'm doing wrong.
>
> Dan
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>




More information about the Anthill mailing list