From ant-dev-return-11563-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Fri Mar 16 10:10:02 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 72300 invoked by uid 500); 16 Mar 2001 10:09:58 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 72290 invoked from network); 16 Mar 2001 10:09:56 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: [ANN] Collecting requirements for Ant2 References: From: Stefan Bodewig Date: 16 Mar 2001 11:10:01 +0100 In-Reply-To: "Thomas Leonhardt"'s message of "Fri, 16 Mar 2001 10:58:31 +0100" Message-ID: Lines: 35 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thomas Leonhardt wrote: >> > I tried to build a workaround by setting a property but the >> > problem is that I can't override properties and properties >> > defined inside a target seem to be local, I can't use them in >> > other targets. >> >> Could you please explain this a little? Properties are global, but >> those set in sub builds - the things you run via or >> will not be transferred back to the parent build. >> > > The problem is that I want to find out if the stuff I checked out > does compile. If it compiles everything is fine, if not I want to be > able to inform the user. > > (for xml source please see end of mail) BTW, wenn Du Umlaute in Kommentaren benutzen möchtest, solltest Du an den Anfang setzen, "benoetigt" sieht blöd aus 8-) OK, back to English - errm, my version of it. I still think, you could simply write a build listener, that catches the exception thrown by (doesn't antcall propagate the exception and therefore terminate your build anyway?) and reports the problem. Something like the BuildListener from the FAQ - - but it would check, whether target and task are "correct" and ignore all other errors. Stefan