From user-return-67244-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Mar 05 15:47:19 2009 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 76671 invoked from network); 5 Mar 2009 15:47:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 15:47:18 -0000 Received: (qmail 10237 invoked by uid 500); 5 Mar 2009 15:47:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10059 invoked by uid 500); 5 Mar 2009 15:47:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10047 invoked by uid 99); 5 Mar 2009 15:47:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 07:47:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brian@pontarelli.com designates 209.85.200.174 as permitted sender) Received: from [209.85.200.174] (HELO wf-out-1314.google.com) (209.85.200.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 15:47:06 +0000 Received: by wf-out-1314.google.com with SMTP id 29so4324172wff.10 for ; Thu, 05 Mar 2009 07:46:46 -0800 (PST) Received: by 10.114.72.1 with SMTP id u1mr767187waa.33.1236268005960; Thu, 05 Mar 2009 07:46:45 -0800 (PST) Received: from ?192.168.1.2? (75-166-250-179.hlrn.qwest.net [75.166.250.179]) by mx.google.com with ESMTPS id m17sm70220waf.31.2009.03.05.07.46.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Mar 2009 07:46:45 -0800 (PST) Message-Id: From: Brian Pontarelli To: "Ant Users List" In-Reply-To: <786210.36732.qm@web24104.mail.ird.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Declare few projects on a build.xml Date: Thu, 5 Mar 2009 08:44:48 -0700 References: <786210.36732.qm@web24104.mail.ird.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org The way to accomplish this with Ant is to use statements to =20 include common build files or use the -f flag to specify a common =20 build file for all the projects. However, if these solutions don't =20 meet your needs you can also take a look at other solutions like these: - Gradle - Maven - Savant 1.5 All of these tools allow you to write common build scripts (sometimes =20= called plugins) and reuse them across projects. -bp On Mar 5, 2009, at 5:50 AM, A A wrote: > Hello, to all the users from the list, it=B4s my first mail, and sorry = =20 > for my poor english. > Im starting to test ant, and building a script to automatized the =20 > deploys of my aplications, cause before i used to manual wget =20 > commands or autodeploys. > > The problem is I have a more than 30 aplications and 3 diferentes =20 > enviroments for each aplications, so it woulb be like create 90 =20 > build.xml with the projects information. > > Are there any posibility to simplifiy the project and build.xml =20 > properties declare?. It posible to create more than 1 project in a =20 > build.xml? Or all projects in the same build.xml > > Thanks to all. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org