From zeta-dev-return-702-apmail-incubator-zeta-dev-archive=incubator.apache.org@incubator.apache.org Thu Apr 14 09:37:00 2011 Return-Path: Delivered-To: apmail-incubator-zeta-dev-archive@minotaur.apache.org Received: (qmail 79597 invoked from network); 14 Apr 2011 09:36:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 09:36:58 -0000 Received: (qmail 32524 invoked by uid 500); 14 Apr 2011 09:36:58 -0000 Delivered-To: apmail-incubator-zeta-dev-archive@incubator.apache.org Received: (qmail 32497 invoked by uid 500); 14 Apr 2011 09:36:58 -0000 Mailing-List: contact zeta-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zeta-dev@incubator.apache.org Delivered-To: mailing list zeta-dev@incubator.apache.org Received: (qmail 32489 invoked by uid 99); 14 Apr 2011 09:36:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:36:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 Apr 2011 09:36:57 +0000 Received: (qmail 76374 invoked by uid 99); 14 Apr 2011 09:36:36 -0000 Received: from localhost.apache.org (HELO mail-pv0-f175.google.com) (127.0.0.1) (smtp-auth username jeromer, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 09:36:36 +0000 Received: by pvc30 with SMTP id 30so544351pvc.6 for ; Thu, 14 Apr 2011 02:36:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.19.33 with SMTP id b1mr370386pbe.232.1302773796254; Thu, 14 Apr 2011 02:36:36 -0700 (PDT) Received: by 10.68.52.70 with HTTP; Thu, 14 Apr 2011 02:36:36 -0700 (PDT) In-Reply-To: <4DA6BD12.1030704@gmail.com> References: <4DA4748A.4090804@gmail.com> <4DA6A4DD.8010205@gmail.com> <4DA6BD12.1030704@gmail.com> Date: Thu, 14 Apr 2011 11:36:36 +0200 Message-ID: From: Jerome Renard To: Gaetano Giunta Cc: zeta-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [zeta-dev] PHP based build system : Phing VS Pake Gaetano, On Thu, Apr 14, 2011 at 11:23 AM, Gaetano Giunta wrote: > Jerome Renard wrote on 14/04/2011 11:11: [...] >> >> I believe you can define environment variables on Windows: >> - >> https://fisheye6.atlassian.com/browse/zetacomponents/website/Pakefile?hb= =3Dtrue#to150 > > Sure enough - albeit it's not as common to do it as it's on unix. Ok. > I still prefer cli options than env vars for 90% of the time though, as i= t's > easier to understand what is happening when the options are explicit. > > But, as far as I can see in your code, what you can do is that you can sw= ap > out one config file with another. > > What I was asking to is to separate cofig options: one set that is > project-specific (stored in the config file), and one set that is specifi= c > to the build environment (passed via cli options or env vars). > I'll see how to pass arguments from the command line in Pake then. --=20 J=C3=A9r=C3=B4me Renard http://39web.fr | http://jrenard.info | http://twitter.com/jeromerenard