<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>try {} catch () &#187; Mac</title>
	<atom:link href="http://blog.gerardin.info/archives/tag/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.gerardin.info</link>
	<description>Java, Agile, the Web and other nice things</description>
	<lastBuildDate>Tue, 14 Jun 2011 09:48:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Building GWT on the Mac</title>
		<link>http://blog.gerardin.info/archives/415</link>
		<comments>http://blog.gerardin.info/archives/415#comments</comments>
		<pubDate>Fri, 25 Sep 2009 09:19:13 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[GWT 2.0]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=415</guid>
		<description><![CDATA[If you try to build the latest GWT from the svn repository on a Mac, you may end up with a bunch of errors like the following: BUILD FAILED /Users/ogerardin/Documents/GWT 2/trunk/build.xml:105: The following error occurred while executing this line: /Users/ogerardin/Documents/GWT 2/trunk/build.xml:27: The following error occurred while executing this line: /Users/ogerardin/Documents/GWT 2/trunk/build.xml:58: The following error occurred [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to build the latest GWT from the svn repository on a Mac, you may end up with a bunch of errors like the following:</p>
<pre>BUILD FAILED
/Users/ogerardin/Documents/GWT 2/trunk/build.xml:105: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/build.xml:27: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/build.xml:58: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/platforms.ant.xml:36: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/platforms.ant.xml:13: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/dev/core/build.xml:192: The following error occurred while executing this line:
/Users/ogerardin/Documents/GWT 2/trunk/common.ant.xml:277: Non-zero status code result (1) running command: svn info</pre>
<p>The last line indicates a problem with the &#8220;<tt>svn</tt>&#8221; command. The problem is that Mac&#8217;s builtin svn client is version 1.4.4 (wich you can check by typing &#8220;<tt>svn --version</tt>&#8221; in a terminal), but to build GWT, you need a newer svn client.</p>
<p>The steps to fix this are:</p>
<ul>
<li>go to <a href="http://www.open.collab.net/downloads/community" class="liexternal">http://www.open.collab.net/downloads/community</a> and download the latest subversion binaries for Mac OS X</li>
<li>you will get a disk image file; mount it and run the included installer. It will install to <tt>/opt/subversion/bin</tt></li>
<li>edit your <tt>~/.profile</tt> file to add the following line:</li>
</ul>
<pre>export PATH=/opt/subversion/bin:$PATH</pre>
<ul>
<li>start a new shell or type &#8220;<tt>. ~/.profile</tt>&#8221; to make sure the change is loaded in the current shell</li>
<li>type &#8220;<tt>svn --version</tt>&#8221; and check that the version is the latest one (1.6.5 as of today)</li>
<li><tt>cd</tt> to your checked out GWT trunk directory, type &#8220;<tt>ant</tt>&#8221; and watch GWT build <img src='http://blog.gerardin.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/415/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GWT + Snow Leopard: fixed with GWT 1.7.1</title>
		<link>http://blog.gerardin.info/archives/408</link>
		<comments>http://blog.gerardin.info/archives/408#comments</comments>
		<pubDate>Thu, 24 Sep 2009 07:07:41 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=408</guid>
		<description><![CDATA[Google has just released GWT 1.7.1 to fix the issue I mentioned a few days ago regarding Snow Leopard compatibility. In short, you can now run GWT on Snow Leopard using the Java command line argument -d32 without further modification. The GWT SDK no longer directs you to only use Java 5. http://googlewebtoolkit.blogspot.com/2009/09/gwt-171-release-fixes-mac-os-x-snow.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/archives/351/mac-logo" rel="attachment wp-att-354" class="liimagelink"><img class="alignleft size-thumbnail wp-image-354" title="mac-logo" src="http://blog.gerardin.info/wp-content/uploads/2009/09/mac-logo-150x150.jpg" alt="mac-logo" width="100" height="100" /></a>Google has just released GWT 1.7.1 to fix the issue I mentioned a few days ago regarding Snow Leopard compatibility.</p>
<blockquote><p>In short, you can now run GWT on Snow Leopard using the Java command line argument -d32 without further modification. The GWT SDK no longer directs you to only use Java 5.</p></blockquote>
<p><a href="http://googlewebtoolkit.blogspot.com/2009/09/gwt-171-release-fixes-mac-os-x-snow.html" class="liexternal">http://googlewebtoolkit.blogspot.com/2009/09/gwt-171-release-fixes-mac-os-x-snow.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/408/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard, Java 6 and GWT</title>
		<link>http://blog.gerardin.info/archives/351</link>
		<comments>http://blog.gerardin.info/archives/351#comments</comments>
		<pubDate>Wed, 09 Sep 2009 12:55:41 +0000</pubDate>
		<dc:creator>Olivier Gérardin</dc:creator>
				<category><![CDATA[GWT]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://blog.gerardin.info/?p=351</guid>
		<description><![CDATA[Running GWT&#8217;s hosted mode on the Mac requires a 32 bit JVM, which under OS X 10.5 (Leopard) forces us to use Java 5, because Java 6 only has 64 bit libraries. Problem: OS X 10.6 (Snow Leopard) removes all versions of Java but version 6. Fortunately, Java 6 now has a 32 bit mode, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gerardin.info/archives/351/mac-logo" rel="attachment wp-att-354" class="liimagelink"><img class="alignleft size-thumbnail wp-image-354" style="border: 0pt none; margin-left: 8px; margin-right: 8px;" title="mac-logo" src="http://blog.gerardin.info/wp-content/uploads/2009/09/mac-logo-150x150.jpg" alt="mac-logo" width="100" /></a>Running GWT&#8217;s hosted mode on the Mac requires a 32 bit JVM, which under OS X 10.5 (Leopard) forces us to use Java 5, because Java 6 only has 64 bit libraries.</p>
<p>Problem: OS X 10.6 (Snow Leopard) removes all versions of Java but version 6. Fortunately, Java 6 now has a 32 bit mode, but it can&#8217;t be used straightforwardly for hosted mode because GWT insists on having Java 5&#8230;</p>
<p>So how do we get GWT&#8217;s hosted mode to run? Alex Moffat suggests an elegant solution:</p>
<p><a href="http://development.lombardi.com/?p=1012" class="liexternal">Lombardi Development Blog » Blog Archive » Snow Leopard, Java 6 and GWT</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.gerardin.info/archives/351/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

