Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 91434 invoked from network); 10 Jun 2000 18:25:32 -0000 Received: from mail.activcard.com (HELO hub1.hub.activcard.com) (207.93.240.18) by locus.apache.org with SMTP; 10 Jun 2000 18:25:32 -0000 Received: from usexchg1.activcard.com (USEXCHG1 [192.168.133.9]) by hub1.hub.activcard.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id KKPMHCLR; Sat, 10 Jun 2000 11:26:44 -0700 Received: by USEXCHG1 with Internet Mail Service (5.5.2448.0) id ; Sat, 10 Jun 2000 11:22:11 -0700 Message-ID: From: Jean-Noel Gadreau To: "'ant-dev@jakarta.apache.org'" Subject: Defining tasks in several build.xml files Date: Sat, 10 Jun 2000 11:22:11 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BFD308.CB552AFE" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BFD308.CB552AFE Content-Type: text/plain; charset="iso-8859-1" Hi all. I am using now using to build several on the projects I am working on and it is great ! I have a question on how to share some tasks across projects. In fact, I have several components that all share the same pieces of 'build.xml' (to checkout their dependencies from CVS for instance, or to compile all the java files as the structure of all the project is similar). So, I would like to know if there is a way with Ant to define a task that can be "included" in another 'build.xml', so that you can have a kind of repository of common tasks that you can include. If such a thing does not exist, do you have suggestions on what you (all Ant users) would like so that I can see if I can add it. Best regards, Jean-Noel Gadreau ------_=_NextPart_001_01BFD308.CB552AFE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Defining tasks in several build.xml files

Hi all.

I am using now using to build several on the projects = I am working on and it is great ! I have a question on how to share = some tasks across projects.

In fact, I have several components that all share the = same pieces of 'build.xml' (to checkout their dependencies from CVS for = instance, or to compile all the java files as the structure of all the = project is similar).

So, I would like to know if there is a way with Ant = to define a task that can be "included" in another = 'build.xml', so that you can have a kind of repository of common tasks = that you can include.

If such a thing does not exist, do you have = suggestions on what you (all Ant users) would like so that I can see if = I can add it.

Best regards,
Jean-Noel Gadreau

------_=_NextPart_001_01BFD308.CB552AFE--