Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 76409 invoked from network); 25 Jun 2002 04:13:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 25 Jun 2002 04:13:45 -0000 Received: (qmail 23146 invoked by uid 97); 25 Jun 2002 04:13:52 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23127 invoked by uid 97); 25 Jun 2002 04:13:51 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 23115 invoked by uid 98); 25 Jun 2002 04:13:51 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <00f301c21bfe$b0d46d70$797ba8c0@sseal.secretseal.com> From: "Hal Hildebrand \(web\)" To: "Ant Users List" References: <20020625020841.92572.qmail@web13404.mail.yahoo.com> Subject: Re: Ant 1.5Beta3 Released Date: Mon, 24 Jun 2002 21:13:39 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00F0_01C21BC4.02D46890" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit My apologies for not including an example in the first place... Attached are the build files: build.xml build2.xml and the xml include: inc.xml There is a custom task in: test.jar The files tasks.properties TestTask.java are the task definition properties and trivial task for "test.jar". If you just detach the files into a directory, cd into the directory and do "ant", the output will be: Buildfile: build.xml Trying to override old definition of task test do-something: do-something: [echo] hello sailor Note that defining tasks using the form: Does not seem to cause the warning messages. In the example where I get the messages, it is where tasks are defined via the form Thanks -Hal ----- Original Message ----- From: "Diane Holt" > --- "Hal Hildebrand (web)" wrote: > > Thanks for the release. Fixes a lot of stuff from my testing so far. > > Very cool. > > > > However, the messages for overriding tasks still appear. > > Could you provide a small example of how to make this happen? I tried > creating a little test to get these warnings, based on your description of > what you're doing, but I must have misunderstood what that is, since I > couldn't get it to do it, so I must not be doing what you are. > > Diane > > ===== > (holtdl@yahoo.com) > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: text/xml; name="build2.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="build2.xml" ]> &inc; ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: text/xml; name="build.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="build.xml" ]> &inc; ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: text/xml; name="inc.xml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="inc.xml" ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: application/octet-stream; name="tasks.properties" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tasks.properties" test=test.TestTask ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: application/octet-stream; name="TestTask.java" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="TestTask.java" /** * A test task * * @author Hal Hildebrand * Date: Jun 24, 2002 * Time: 8:42:53 PM */ package test; import org.apache.tools.ant.Task; public class TestTask extends Task { public void execute() { log("hello sailor"); } } ------=_NextPart_000_00F0_01C21BC4.02D46890 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: ------=_NextPart_000_00F0_01C21BC4.02D46890--