[Anthill] Project being built - forever !?

Eric Minick etm at urbancode.com
Tue Jan 24 11:57:22 CST 2006


It should work with either. This is really a bug in Ant. So far they've
refused to fix it due to concerns that whatever changes they make could break
general Ant functionality on older versions of Windows.

The problem is that both Anthill and Anthill Pro determine whether or not Ant
(or anything else) succeeds by checking the exit code. The ant.bat shipped
with Ant always returns an exit code indicating success. I believe the
approach we took was to eliminate some irrelevent post processing in the
script.

Depending on your version of Ant, Anthill OS may ship with a patched ant file.
Check [anthill dir]/lib/ant[version]/bin .

Other people have taken other approaches and if you look up the bug in Ant's
bugzilla you can choose one of those. Any of them should work.

-- Eric

> I use Anthill OS, would this ant.bat file work with OS or only Pro?
>
> ----Original Message Follows----
> From: Marcio Marchini <marcio at bedarra.com>
> Reply-To: Anthill user list <anthill at lists.urbancode.com>
> To: Anthill user list <anthill at lists.urbancode.com>
> Subject: Re: [Anthill] Project being built - forever !?
> Date: Mon, 23 Jan 2006 09:37:04 -0200
> MIME-Version: 1.0
> Received: from lists.urbancode.com ([64.34.169.154]) by
> bay0-mc5-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 23
> Jan 2006 03:37:20 -0800
> Received: (qmail 8468 invoked by uid 510); 23 Jan 2006 11:37:46 -0000
> Received: from anthill-bounces at lists.urbancode.com by caladin.urbancode.com
> by uid 504 with qmail-scanner-1.20  (spamassassin: 2.61.
> Clear:RC:1(127.0.0.1):.  Processed in 0.018273 secs); 23 Jan 2006 11:37:46
> -0000
> Received: from localhost (HELO caladin.urbancode.com) (127.0.0.1)  by
> lists.urbancode.com with SMTP; 23 Jan 2006 11:37:46 -0000
> Received: (qmail 8442 invoked by uid 510); 23 Jan 2006 11:37:45 -0000
> Received: from marcio at bedarra.com by caladin.urbancode.com by uid 504
> withqmail-scanner-1.20 (spamassassin: 2.61.
> Clear:RC:0(206.191.12.34):SA:0(0.2/5.0):. Processed in 2.711549 secs); 23
> Jan 2006 11:37:45 -0000
> Received: from mail.bedarra.org (HELO bedarra.org) (206.191.12.34)by
> lists.urbancode.com with SMTP; 23 Jan 2006 11:37:42 -0000
> Received: from [200.231.193.131] (account marcio HELO [192.168.7.196])by
> bedarra.org (CommuniGate Pro SMTP 5.0.5)with ESMTPSA id 6173009 for
> anthill at lists.urbancode.com;Mon, 23 Jan 2006 06:37:14 -0500
> X-Message-Info: JGTYoYF78jE+TEtOyOfMbnsmWfYEMx5MZCjstQPxwTA=
> Return-Path: <marcio at bedarra.com>
> Delivered-To: mailman-anthill at lists.urbancode.com
> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
> X-Accept-Language: en-us, en
> References:
> <95C74208C0424A459571B058DCDF28850A877C69 at TLRUSMNEAGMBX11.ERF.THOMSON.COM>
> X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on
> caladin.urbancode.com
> X-Spam-Level:
> X-Spam-Status: No, hits=0.2 required=5.0 tests=PLING_QUERY autolearn=no
> version=2.61
> X-BeenThere: anthill at lists.urbancode.com
> X-Mailman-Version: 2.1.4
> Precedence: list
> List-Id: Anthill user list <anthill.lists.urbancode.com>
> List-Unsubscribe:
> <http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request at lists.urbancode.com?subject=unsubscribe>
> List-Archive: <http://lists.urbancode.com/pipermail/anthill>
> List-Post: <mailto:anthill at lists.urbancode.com>
> List-Help: <mailto:anthill-request at lists.urbancode.com?subject=help>
> List-Subscribe:
> <http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request at lists.urbancode.com?subject=subscribe>
> Errors-To: anthill-bounces at lists.urbancode.com
> X-OriginalArrivalTime: 23 Jan 2006 11:37:20.0807 (UTC)
> FILETIME=[5F103B70:01C62011]
>
> joel.wiens at thomson.com wrote:
>>I noticed an error that may help?
>>
>>FAILED to build project.  Message: ProfileAdapter Label failed: 1 Got
>>Revisions: OK
>
>
>
>     That is another problem. From my logs:
>
>
>
> The fix for this is in a new ant.bat provided by Urbancode:
> “this is a problem with the ant.bat file that comes with the Ant
> distributions. The batch script does not return the real exit code from the
> java process, instead it returns 0 which confuses Anthill as to the real
> outcome of the build. If you switch the ant.bat file in the ant distribution
> you are using with this one: http://www.urbancode.com/download/ant.bat
> Anthill will be able to detect the failures.”
>
>
>
>
> marcio
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from McAfee®
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>




More information about the Anthill mailing list