<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Build process experiments with PhoneGap</title>
	<atom:link href="http://nachbaur.com/blog/build-process-experiments-with-phonegap/feed" rel="self" type="application/rss+xml" />
	<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap</link>
	<description>Making broken software somewhat less broken</description>
	<lastBuildDate>Sun, 07 Mar 2010 03:56:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marcus</title>
		<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap/comment-page-1#comment-256</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Tue, 07 Jul 2009 17:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://nachbaur.com/?p=105#comment-256</guid>
		<description>Thanks. Have you gotten the cam functions to work properly? I know you have it in your demo, but I cant get it work, neither taking a pic, nor save externally from the library.</description>
		<content:encoded><![CDATA[<p>Thanks. Have you gotten the cam functions to work properly? I know you have it in your demo, but I cant get it work, neither taking a pic, nor save externally from the library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Nachbaur</title>
		<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap/comment-page-1#comment-201</link>
		<dc:creator>Michael Nachbaur</dc:creator>
		<pubDate>Mon, 22 Jun 2009 16:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://nachbaur.com/?p=105#comment-201</guid>
		<description>Heh fun, I&#039;ve never had fans before.  Maybe I should start a &quot;Nacho&#039;s Fanclub&quot; and people could all wear goofy hats and sing songs on TV.  No?  Okay, sounds fine to me.

To answer your questions:

1) I&#039;d covered that in a previous blog post, but basically the &quot;configure&quot; script creates a Makefile that generates your JavaScript file for you.  This then merges all your changes together into one single app JS file.  Then, there&#039;s a script that XCode runs at build-time called iphone/build-phonegap.sh that rebuilds this javascript file and places it in the build directory for you.  This is important because you don&#039;t want to check generated code in to Git, or any version control system. It just causes problems in the long-run.

What I find works well is if I want to do debugging in Safari, I include two script tags.  One to load &quot;app.js&quot;, and another that loads &quot;../build/Build-iphoneos/.../app.js&quot;.  In Safari, the first one fails and the second one loads, and in the phone the reverse happens.

2) ./iphone/rename-phonegap.sh -g -r -n &#039;My App&#039;</description>
		<content:encoded><![CDATA[<p>Heh fun, I&#8217;ve never had fans before.  Maybe I should start a &#8220;Nacho&#8217;s Fanclub&#8221; and people could all wear goofy hats and sing songs on TV.  No?  Okay, sounds fine to me.</p>
<p>To answer your questions:</p>
<p>1) I&#8217;d covered that in a previous blog post, but basically the &#8220;configure&#8221; script creates a Makefile that generates your JavaScript file for you.  This then merges all your changes together into one single app JS file.  Then, there&#8217;s a script that XCode runs at build-time called iphone/build-phonegap.sh that rebuilds this javascript file and places it in the build directory for you.  This is important because you don&#8217;t want to check generated code in to Git, or any version control system. It just causes problems in the long-run.</p>
<p>What I find works well is if I want to do debugging in Safari, I include two script tags.  One to load &#8220;app.js&#8221;, and another that loads &#8220;../build/Build-iphoneos/&#8230;/app.js&#8221;.  In Safari, the first one fails and the second one loads, and in the phone the reverse happens.</p>
<p>2) ./iphone/rename-phonegap.sh -g -r -n &#8216;My App&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap/comment-page-1#comment-200</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Mon, 22 Jun 2009 10:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://nachbaur.com/?p=105#comment-200</guid>
		<description>Great. Thanks for clarifying. Two new questions though:

1) did you make some changes to where the main javascript is located? from previous nachos packages I had a master.js file located in www which is where I configured the tab bar etc. Now I cant see this, and it references a app.js in the index.html file which I can locate. Sorry if Im missing something..

2) do you have an example of how to run the renamer properly from terminal in mac?

Thanks! Im a big fan</description>
		<content:encoded><![CDATA[<p>Great. Thanks for clarifying. Two new questions though:</p>
<p>1) did you make some changes to where the main javascript is located? from previous nachos packages I had a master.js file located in www which is where I configured the tab bar etc. Now I cant see this, and it references a app.js in the index.html file which I can locate. Sorry if Im missing something..</p>
<p>2) do you have an example of how to run the renamer properly from terminal in mac?</p>
<p>Thanks! Im a big fan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Nachbaur</title>
		<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap/comment-page-1#comment-197</link>
		<dc:creator>Michael Nachbaur</dc:creator>
		<pubDate>Mon, 22 Jun 2009 04:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://nachbaur.com/?p=105#comment-197</guid>
		<description>Yes, I manage my different features in different branches.  The idea is that the &quot;master&quot; branch is the stable set of features.  When I work on experimental features, I make those changes in a different branch until they&#039;re mature enough to be merged into master.

However, that being said, I just merged the buildprocess changes into master, so you should be all good.</description>
		<content:encoded><![CDATA[<p>Yes, I manage my different features in different branches.  The idea is that the &#8220;master&#8221; branch is the stable set of features.  When I work on experimental features, I make those changes in a different branch until they&#8217;re mature enough to be merged into master.</p>
<p>However, that being said, I just merged the buildprocess changes into master, so you should be all good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://nachbaur.com/blog/build-process-experiments-with-phonegap/comment-page-1#comment-193</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Sat, 20 Jun 2009 17:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://nachbaur.com/?p=105#comment-193</guid>
		<description>Hi! I downloaded your latest package (I thought) through the download button at http://github.com/NachoMan/phonegap/tree/master. In this I couldnt find the rename-phonegap.sh file, so I realized Im probably doing this the wrong way? I obviously found it under http://github.com/NachoMan/phonegap/tree/buildprocess however, confused now.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi! I downloaded your latest package (I thought) through the download button at <a href="http://github.com/NachoMan/phonegap/tree/master" rel="nofollow">http://github.com/NachoMan/phonegap/tree/master</a>. In this I couldnt find the rename-phonegap.sh file, so I realized Im probably doing this the wrong way? I obviously found it under <a href="http://github.com/NachoMan/phonegap/tree/buildprocess" rel="nofollow">http://github.com/NachoMan/phonegap/tree/buildprocess</a> however, confused now.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
