[Anthill] Looking for commons Execute source code
Daniel Hannum
daniel.hannum at gmail.com
Wed Sep 21 08:28:46 CDT 2005
I am using an external Ant install because I found a bug where the version
shipped with Anthill OS (1.6.2, I believe) would not recognize the TestNG
task, even though I put the <taskdef> in my build script. The latest from
Ant is 1.6.5 and the TestNG task always worked for me outside of Anthill, so
I switched Anthill over to use my Ant install. That fixed my original
problem, and caused another one...
I'll try dropping your Ant.bat over the one from the Ant folks and see what
happens.
Thanks
On 9/20/05, Eric Minick <etm at urbancode.com> wrote:
>
> 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.batalways
> 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050921/c6122fb0/attachment-0002.htm
More information about the Anthill
mailing list