Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 134FA95E1 for ; Fri, 13 Apr 2012 20:43:52 +0000 (UTC) Received: (qmail 5173 invoked by uid 500); 13 Apr 2012 20:43:51 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 5127 invoked by uid 500); 13 Apr 2012 20:43:51 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 5118 invoked by uid 99); 13 Apr 2012 20:43:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 20:43:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.macdonald@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 20:43:47 +0000 Received: by dadp12 with SMTP id p12so5389630dad.7 for ; Fri, 13 Apr 2012 13:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=OO2etdEbOoecrt8Wv32sUxcpY1INtQ5KppYcBs4/SG8=; b=WJTDmLUZF4e/etLIt29vg9uz3YR072sN6Z2kBB+u3eKGZO9Ly7S/ONe0ecY8e8i6ko x25gB36Hv340xRyxwIsDwhCaMoGxsXhzEh3sYH+Z+1JnNE6DJCO2gBMWbWBZCqlvsFXp hZ9EKaSfi6dEAGWaP1yGBwkrpK5ZmoqOR6niVchMUrmECheoc2jIIZbwYbYxmUsrbMVt P88zp8BfaM8gbzHCNn4Po2hUDuT9Cleedq6jERZssjbpKuFFvBJKAUTeX8dMO9QTwwAR M4D8XAaor/tV5p39cimrHbvw/BfsJy+bSogZvedfHMzW92IcO/nMpFWgmCe3hcGXxjt+ 549g== Received: by 10.68.194.136 with SMTP id hw8mr7600190pbc.10.1334349807055; Fri, 13 Apr 2012 13:43:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.18.141 with HTTP; Fri, 13 Apr 2012 13:43:06 -0700 (PDT) In-Reply-To: References: From: Simon MacDonald Date: Fri, 13 Apr 2012 16:43:06 -0400 Message-ID: Subject: Re: [Android] Getting rid of the bin directory To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I just updated the build.xml so the version in that file is updated automatically. For anyone who cares this is how you prepare to tag cordova-android. 1) edit the VERSION file with the new version number. 2) Run "ant jar" 3) Create a new commit adding the files: VERSION bin/templates/project/cordova/templates/project/assets/www/index.html framework/assets/www/index.html framework/src/org/apache/cordova/Device.java 4) tag the new version git tag -a {version} -m '{version}' 5) Push the commit and tag git push cordova master git push --tags cordova master Hmmm...I should probably write a script for this but instead I'm off to take my family to supper. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Apr 13, 2012 at 4:19 PM, Joe Bowser wrote: > OK, saw that change. =A0I updated index.html, since we weren't adding the= .js > at the end for some unknown reason. =A0I also updated the checklist on th= e > wiki so we run the bin/create script instead of ant. =A0If we're followin= g > that, we should catch stupid mistakes such as this. > > Also, who is not in a bad mood? > > On Fri, Apr 13, 2012 at 12:42 PM, Simon MacDonald > wrote: > >> I'm about to push up a change to the android "bin/create" script. That >> script calls "bin/templates/project/cordova/create" which in turn >> expects the files: >> >> =A0 =A0bin/templates/project/cordova/templates/project/res/xml/cordova.x= ml >> =A0 =A0bin/templates/project/cordova/templates/project/res/xml/plugins.x= ml >> >> to be hanging around. This is what caused the bug in 1.6.0 as they >> were not up to date. Since I'm a firm believer that source code >> control should only have one copy of any given file I've modified the >> scripts so they go get cordova.xml and plugins.xml from their >> canonical locations in "framework/res/xml". >> >> I think the benefits are obvious. >> >> Simon Mac Donald >> http://hi.im/simonmacdonald >> >> P.S. Yes, I am in a bad mood. >> >> On Fri, Apr 13, 2012 at 3:26 PM, Joe Bowser wrote: >> > OK, It's clear we're not deleting the directory, and we have people wh= o >> > care about this. =A0I'm going to be bumping up priority on the build >> scripts, >> > since they've proven to be higher. =A0That's pretty much what I wanted= out >> of >> > this thread. >> > >> > On Fri, Apr 13, 2012 at 10:19 AM, Brian LeRoux wrote: >> > >> >> > Now, an XML file in these scripts have caused 1.6.1 to exist, which >> has >> >> now >> >> > been extended to Monday, >> >> >> >> Thats ok. Bugs manifest. A point release, while a pain in the ass, >> >> isn't the end of the world and a part of doing things right by our >> >> users. >> >> >> >> >> >> > and have thrown the release schedule out of whack >> >> >> >> I do not think it has to. >> >> >> >> >> >> > such that it looks like I'll have to delay CordovaWebView to 1.8 >> because >> >> it >> >> > probably won't be ready by the end of the month. >> >> >> >> Thats ok too. Lets work towards it and get it done when its ready to >> >> ship. Let go of the attachment to a particular date and focus that >> >> quiet rage on the code you want rather than a particular date. >> >> >> >> >> >> > I don't think moving this into ant is a good idea, >> >> >> >> Me either. But wanted to know how you'd approach it. Also: I take >> >> exception to your assertion that Bash is, or ever has been, a flavor >> >> of the month. ;) (And ya I remember the Ruby, then jRuby, then Python= , >> >> and then Node attempts.) >> >> >> >> >> >> > and these helper scripts belong in some tooling repository separate >> from >> >> the Cordova project. >> >> >> >> I disagree but only b/c ppl still use Cordova projects stand alone >> >> instead of simultaneously for all platforms. View this a stepping >> >> stone to a future where that master script finally comes to fruition. >> >> >>