Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 69242 invoked from network); 4 Mar 2010 14:57:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 14:57:58 -0000 Received: (qmail 47678 invoked by uid 500); 4 Mar 2010 14:57:47 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 47654 invoked by uid 500); 4 Mar 2010 14:57:47 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 47645 invoked by uid 99); 4 Mar 2010 14:57:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:57:47 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.221.185] (HELO mail-qy0-f185.google.com) (209.85.221.185) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:57:40 +0000 Received: by qyk15 with SMTP id 15so2054551qyk.10 for ; Thu, 04 Mar 2010 06:57:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.52.72 with SMTP id h8mr651713qag.305.1267714637906; Thu, 04 Mar 2010 06:57:17 -0800 (PST) In-Reply-To: <6a8e49471003032032j448d0912q2eb3c85bac7705fe@mail.gmail.com> References: <14479a011003031519l3808deb0nfb32eabefdc9a81c@mail.gmail.com> <6a8e49471003032032j448d0912q2eb3c85bac7705fe@mail.gmail.com> Date: Thu, 4 Mar 2010 09:57:17 -0500 Message-ID: <934da2391003040657j5f4ecd1fmfb6e6814cbaf80ff@mail.gmail.com> Subject: Re: Sharing Ivy settings file amongst developpers From: "Steele, Richard" To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=00c09f905e3dab45c40480fad0b2 --00c09f905e3dab45c40480fad0b2 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: quoted-printable Same here. We rejected putting in the SCM repo because we want our setting= s shared across all projects, and at this company each project is in its own repo. We also have a shared (common) set of configurations that projects can include, as well as the ivy.jar file on the same server. You should consider whether you want to version the settings file or not. There are tradeoffs here; version it and every project eventually needs to make changes to ensure they're using the latest, don't version it and possibly break builds at unexpected moments (if, for example, the repo name= s in the settings file change). Rich 2010/3/3 hyunsoo Lee > we are use ivysetting file on web server > and use it by > > /ivysettings.xml" > /> > > > 2010/3/4 Geoff Clitheroe > > > We do something very similar except the settings and an ant build-base > file > > are located on a web server. > > > > Which ever way you go for hosting the files just think about what is > > essentially your public api first - ie the filename, the access > mechanism, > > and how variables are named so that you can change under the hood witho= ut > > breaking all your builds. > > > > If you want to look at ours as a starting point I'm happy to share. I > > think > > I have this done this before if you search the mailing lists you may fi= nd > > enough. > > > > This is a common question - it would be ideal to make a jetty based > project > > that provides this functionality for the community. > > > > Cheers, > > Geoff > > > > > > On Thu, Mar 4, 2010 at 11:25 AM, Shawn Castrianni < > > Shawn.Castrianni@halliburton.com> wrote: > > > > > I have all the ivy settings files (I use one per product release) > checked > > > into a SCM repo. This repo contains ant along with my master ant bui= ld > > file > > > in which all others import, ivy along with all the ivy settings files= , > > and > > > any other build related tools a developer would use to build his code= . > A > > > developer just checks out this buildtools sandbox and his module's > > sandbox > > > and he is ready to go. I have my master.xml build file coded to prom= pt > > the > > > user for what ivy settings file he wants to use by giving him a list = of > > > choices by product release name. He responds, and then my master.xml > > loads > > > in that ivysettings file and the build starts. The list of choices o= f > > ivy > > > settings files is constrained to only those that list the module to b= e > > built > > > in the modules section AND to only those that match the branch listed > in > > the > > > modules section with the branch the sandbox was checked out from. In > > other > > > words, if the developer checked out a sandbox for module_A from > branch_A, > > > then only the ivysettings files that contain module_A with branch_A > > > specified will show up in the list. If they hardcode an ivysettings > file > > > (possible by setting a RELEASE_NAME env variable in which my master.x= ml > > > looks for) and that ivysettings file doesn't list that module OR > > specifies a > > > branch for that module that doesn't match the sandbox, then the > developer > > > gets a warning. This usually means the developer checked out the wro= ng > > > branch sandbox to be used for the release he specified in which case = he > > > should get a warning because he is making a mistake. > > > > > > I have about 200 hundred developers across a large enterprise and thi= s > > > works beautifully. > > > > > > --- > > > Shawn Castrianni > > > > > > -----Original Message----- > > > From: normand gagnon [mailto:letrait@gmail.com] > > > Sent: Wednesday, March 03, 2010 4:15 PM > > > To: ivy-user@ant.apache.org > > > Subject: Sharing Ivy settings file amongst developpers > > > > > > Hi, > > > > > > I'm looking for a way to manage ivy settings file. My two main goals > are > > > "build reproducibility" and provide a standard way within the > enterprise > > to > > > resolve dependencies. I want to have your thoughts on this, do you > use > > a > > > single ivy settings file for all your enterprise modules? Or are ever= y > > > projects having their own ivy settings? Ar you committing settings fi= le > > in > > > a > > > SCM (and therefore, when building past versions of a given project, y= ou > > are > > > using the ivy setting file that was in use at that time)? > > > > > > Or maybe, you are giving a "template" of an ivy settings file to each > > > developer and you let them manage it as they want in their IDE, but > when > > it > > > is time to publish a new module, they are forced to use a central bui= ld > > > system (or publishing is in fact managed by a continuous integration > > server > > > like Hudson)? > > > > > > My idea is to let developer manages their own ivysettings file, which > > could > > > include another "enterprise-scope" ivysettings file, for the whole > > > development process. To publish new "public" release, then I would u= se > a > > > central build system which would use an "official" ivysettings file > that > > > would be used for all modules under the same branch. This to insure > that > > > the dependencies are always resolved the same way when released > publicly, > > > so > > > you won't find in the public repository modules that were published > > > differently by different developers who were using different > ivysettings > > > file. > > > > > > Normand > > > > > > ---------------------------------------------------------------------= - > > > This e-mail, including any attached files, may contain confidential a= nd > > > privileged information for the sole use of the intended recipient. A= ny > > > review, use, distribution, or disclosure by others is strictly > > prohibited. > > > If you are not the intended recipient (or authorized to receive > > information > > > for the intended recipient), please contact the sender by reply e-mai= l > > and > > > delete all copies of this message. > > > > > > > > > -- > -------------------------------------------- > =C0=CC=C7=F6=BC=F6 > > 010-9920-1681 > nezahrish@gmail.com > -------------------------------------------- > --00c09f905e3dab45c40480fad0b2--