Re: Project being built - forever !?

"Res Pons" <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Thanks Eric.

----Original Message Follows----
From: "Eric Minick" <[email protected]>
Reply-To: [email protected], Anthill user list <anthill-IWHQxnLZ/[email protected]>
To: "Anthill user list" <anthill-IWHQxnLZ/[email protected]>
Subject: Re: [Anthill] Project being built - forever !?
Date: Tue, 24 Jan 2006 12:57:22 -0500 (EST)
MIME-Version: 1.0
Received: from lists.urbancode.com ([64.34.169.154]) by 
bay0-mc11-f13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 24 
Jan 2006 10:10:21 -0800
Received: (qmail 24381 invoked by uid 510); 24 Jan 2006 18:10:49 -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.019883 secs); 24 Jan 2006 18:10:49 
-0000
Received: from localhost (HELO caladin.urbancode.com) (127.0.0.1)  by 
lists.urbancode.com with SMTP; 24 Jan 2006 18:10:49 -0000
Received: (qmail 24355 invoked by uid 510); 24 Jan 2006 18:10:47 -0000
Received: from [email protected] by caladin.urbancode.com by uid 504 
withqmail-scanner-1.20 (spamassassin: 2.61.  
Clear:RC:0(207.99.47.54):SA:0(1.1/5.0):. Processed in 0.397875 secs); 24 Jan 
2006 18:10:47 -0000
Received: from host54a.simplicato.com (207.99.47.54)by lists.urbancode.com 
with SMTP; 24 Jan 2006 18:10:46 -0000
Received: from localhost (localhost.simplicato.com [127.0.0.1])by 
host54a.simplicato.com (Postfix) with ESMTP id 9BB9C6C1F75for 
<anthill-IWHQxnLZ/[email protected]>; Tue, 24 Jan 2006 13:10:13 -0500 (EST)
Received: from host54a.simplicato.com ([127.0.0.1])by localhost 
(host54a.simplicato.com [127.0.0.1]) (amavisd-new,port 10024)with ESMTP id 
85857-02-11 for <anthill-IWHQxnLZ/[email protected]>;Tue, 24 Jan 2006 13:10:13 
-0500 (EST)
Received: from mail.urbancode.com (localhost.simplicato.com [127.0.0.1])by 
host54a.simplicato.com (Postfix) with SMTP id 12DE16C0BCCfor 
<anthill-IWHQxnLZ/[email protected]>; Tue, 24 Jan 2006 12:57:21 -0500 (EST)
Received: from 66.93.12.67 (SquirrelMail authenticated user 
[email protected])by mail.host54a.simplicato.com with HTTP;Tue, 24 Jan 2006 
12:57:22 -0500 (EST)
X-Message-Info: JGTYoYF78jFVyfJGSv7MSL4IeR1kO3lWPvUjXRqaaPc=
Return-Path: <[email protected]>
Delivered-To: mailman-anthill-IWHQxnLZ/[email protected]
User-Agent: SquirrelMail/1.4.2
X-Virus-Scanned: by amavisd-new at simplicato.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=1.1 required=5.0 tests=PLING_QUERY,PRIORITY_NO_NAME 
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: 24 Jan 2006 18:10:22.0007 (UTC) 
FILETIME=[70F78C70:01C62111]

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 <[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
 >

_______________________________________________
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
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.