Re: Project being built - forever !?

"Eric Minick" <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
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.

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 <[email protected]>
> Reply-To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
> To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
> 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-IWHQxnLZ/[email protected] 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 [email protected] 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-IWHQxnLZ/[email protected];Mon, 23 Jan 2006 06:37:14 -0500
> X-Message-Info: JGTYoYF78jE+TEtOyOfMbnsmWfYEMx5MZCjstQPxwTA=
> Return-Path: <[email protected]>
> Delivered-To: mailman-anthill-IWHQxnLZ/[email protected]
> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
> X-Accept-Language: en-us, en
> References:
> <95C74208C0424A459571B058DCDF28850A877C69-Uhwfd3XRr9aEO2KbGJ0vFRjRLfJUiqSKor+2noB3hgg@public.gmane.org>
> 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-IWHQxnLZ/[email protected]
> 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-IWHQxnLZ/[email protected]?subject=unsubscribe>
> List-Archive: <http://lists.urbancode.com/pipermail/anthill>
> List-Post: <mailto:anthill-IWHQxnLZ/[email protected]>
> List-Help: <mailto:anthill-request-IWHQxnLZ/[email protected]?subject=help>
> List-Subscribe:
> <http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=subscribe>
> Errors-To: anthill-bounces-IWHQxnLZ/[email protected]
> X-OriginalArrivalTime: 23 Jan 2006 11:37:20.0807 (UTC)
> FILETIME=[5F103B70:01C62011]
>
> [email protected] 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-IWHQxnLZ/[email protected]
> 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-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.