Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 26312 invoked from network); 23 Apr 2007 05:10:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2007 05:10:34 -0000 Received: (qmail 69623 invoked by uid 500); 23 Apr 2007 05:10:41 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 69562 invoked by uid 500); 23 Apr 2007 05:10:41 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 69549 invoked by uid 99); 23 Apr 2007 05:10:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 22:10:41 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 207.69.195.62 is neither permitted nor denied by domain of adam@clownsinmycoffee.net) Received: from [207.69.195.62] (HELO pop-altamira.atl.sa.earthlink.net) (207.69.195.62) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 22:10:34 -0700 Received: from h-68-166-16-109.atlngahp.dynamic.covad.net ([68.166.16.109] helo=[127.0.0.1]) by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1HfqoW-0001uo-00 for abdera-dev@incubator.apache.org; Mon, 23 Apr 2007 01:10:12 -0400 Message-ID: <462C3FB5.4080501@clownsinmycoffee.net> Date: Mon, 23 Apr 2007 01:10:13 -0400 From: Adam Constabaris User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: i18n code build system References: <7edfeeef0703241202l3d3829ffm6477a66eee7ce3a6@mail.gmail.com> <460579CC.3070505@gmail.com> <914EA9DF-5A22-4D36-B85C-7F01EF60741F@clownsinmycoffee.net> <4607500F.6010709@gmail.com> <7edfeeef0703270203s79fcdc80y9f6b1dc2a5a23fab@mail.gmail.com> <75A57F45-5096-4FAC-B4C5-A81F43E7813B@clownsinmycoffee.net> <4609D104.5030801@gmail.com> <4609D2EF.9010907@clownsinmycoffee.net> <7edfeeef0704221822n3e758a67u474a9ae5cadd5815@mail.gmail.com> In-Reply-To: <7edfeeef0704221822n3e758a67u474a9ae5cadd5815@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Garrett Rooney wrote: > On 3/27/07, Adam Constabaris wrote: >> James M Snell wrote: >> > Heh... no patch attached :-) >> > >> > >> It's not been the best week ... I spent the last ten minutes setting up >> thunderbird (so long Mail.App). >> >> fingers crossed! > > I committed this with tweaks in r531309, although I can't test the > entire maven build because the json stuff is totally failing to build > for me (complaining about duplicated classes or some such nonsense). > > -garrett cheers! The "duplicate classes" errors, I think, are an artifact of build history; the ant build unpacks the json sources to: dependencies/json/src/main/java while maven unpacks them to: dependencies/json/target/generated-sources/main/java Both locations are on the build path when maven executes its "compile" target, so you get the duplicate class errors if you've already built json with ant. You can remove the files generated by ant, which aren't in SVN, and it should compile with maven. If switching back and forth between ant and maven is desirable, I don't think it's too much work to harmonize the build processes in this particular instance, but that sets a bad precedent. Are there strong objections to dropping one of the build tools? [ OTOH, if this really is a one-off sort of problem, another option would be to see if the json.org folks -- or designated agents thereof -- can be persuaded to put their Apache-licenced binaries jars into the maven repositories, or switch to a json library that is in the maven repositories (json-lib, which is Apache licensed, but about which I know little else) ] AC