<?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>Jayway Team Blog &#187; problem</title>
	<atom:link href="http://blog.jayway.com/tag/problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jayway.com</link>
	<description>Sharing Experience</description>
	<lastBuildDate>Sat, 11 Feb 2012 10:33:02 +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>Disappearing cursor in Gmail when using Safari</title>
		<link>http://blog.jayway.com/2011/07/07/disappearing-cursor-in-gmail-when-using-safari/</link>
		<comments>http://blog.jayway.com/2011/07/07/disappearing-cursor-in-gmail-when-using-safari/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 08:12:18 +0000</pubDate>
		<dc:creator>Tobias Södergren</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://blog.jayway.com/?p=9021</guid>
		<description><![CDATA[I've had a really annoying problem where the cursor in Gmail disappears completely when composing mails. Being used to have a visual hint of where the next character is supposed to be placed, I was pleased to find a blog post [1] describing a workaround. The short story of the workaround it is to disable [...]]]></description>
			<content:encoded><![CDATA[<p>I've had a really annoying problem where the cursor in Gmail disappears completely when composing mails. Being used to have a visual hint of where the next character is supposed to be placed, I was pleased to find a blog post [1] describing a workaround.</p>
<p>The short story of the workaround it is to <strong>disable the advanced attachment features</strong> in Gmail. </p>
<p>You can look at the blog post to find out when the problem occur, why it does and why the workaround helps:</p>
<p>[1] <a href="http://db.tidbits.com/article/11495">http://db.tidbits.com/article/11495</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jayway.com/2011/07/07/disappearing-cursor-in-gmail-when-using-safari/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading Groovy to 1.6.2 Fails on Mac</title>
		<link>http://blog.jayway.com/2009/04/29/upgrading-groovy-to-162-fails-on-mac/</link>
		<comments>http://blog.jayway.com/2009/04/29/upgrading-groovy-to-162-fails-on-mac/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 07:41:37 +0000</pubDate>
		<dc:creator>Ulrik Sandberg</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.jayway.com/?p=1584</guid>
		<description><![CDATA[When I tried to upgrade Groovy from 1.6.1 to 1.6.2 using MacPorts, it failed with an OutOfMemoryError. I managed to get it to build using some manual fixing in the build file. I'll explain what I did in this blog. This was the result that I got: $ sudo port upgrade groovy ---&#62; Building groovy [...]]]></description>
			<content:encoded><![CDATA[<p>When I tried to upgrade Groovy from 1.6.1 to 1.6.2 using MacPorts, it failed with an OutOfMemoryError. I managed to get it to build using some manual fixing in the build file. I'll explain what I did in this blog.</p>
<p>This was the result that I got:</p>
<pre>
$ sudo port upgrade groovy
---&gt;  Building groovy
...
Command output:     [javac] Compiling 699 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_groovy/work/groovy-1.6.2/target/classes
    [javac]
    [javac]
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space
    ...
    [javac] 	at com.sun.tools.javac.Main.main(Main.java:54)

BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_groovy/work/groovy-1.6.2/build.xml:173: Compile failed; see the compiler error output for details.
</pre>
<p>Looking in the directory mentioned above, we find a <code>build.properties</code> file that contains some settings:</p>
<pre>
$ cat /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_groovy/work/groovy-1.6.2/build.properties
...
groovycMain_mx = 512m
groovycTest_mx = 1G
groovycExamples_mx = ${groovycMain_mx}

javaDoc_mx = 512m
groovyDoc_mx = 640m
</pre>
<p>OK, plenty of memory, but nothing seems related to javac compilation. Let's check the line 173, that the error message mentioned:</p>
<pre>
sudo vi +173 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_groovy/work/groovy-1.6.2/build.xml
</pre>
<p>The javac call there does not contain any memory setting, so we must assume that it uses the default heap size:</p>
<pre>
&lt;javac srcdir=&quot;${mainSourceDirectory}&quot; includeantruntime=&quot;false&quot; destdir=&quot;${mainClassesDirectory}&quot;
       deprecation=&quot;on&quot; debug=&quot;yes&quot; source=&quot;1.5&quot; target=&quot;1.5&quot; fork=&quot;true&quot; classpathref=&quot;compilePath&quot;&gt;
</pre>
<p>However, looking a few lines further down, we find the groovyc call:</p>
<pre>
&lt;groovyc srcdir=&quot;${mainSourceDirectory}&quot; destdir=&quot;${mainClassesDirectory}&quot; fork=&quot;true&quot; memorymaximumsize=&quot;${groovycMain_mx}&quot;&gt;
</pre>
<p>Let's add the same memory setting as the groovyc call uses to the javac call:</p>
<pre>
&lt;javac srcdir=&quot;${mainSourceDirectory}&quot; includeantruntime=&quot;false&quot; destdir=&quot;${mainClassesDirectory}&quot;
       memorymaximumsize=&quot;${groovycMain_mx}&quot; deprecation=&quot;on&quot; debug=&quot;yes&quot; source=&quot;1.5&quot; target=&quot;1.5&quot; fork=&quot;true&quot; classpathref=&quot;compilePath&quot;&gt;
</pre>
<p>Let's try the upgrade again:</p>
<pre>
$ sudo port upgrade groovy
---&gt;  Building groovy
---&gt;  Staging groovy into destroot
---&gt;  Deactivating groovy @1.6.1_0
---&gt;  Installing groovy @1.6.2_0
---&gt;  Activating groovy @1.6.2_0
---&gt;  Cleaning groovy
</pre>
<p>Success.</p>
<p><strong>Update:</strong> The memory problem seems to be related to Java6. Switching to Java5 makes the build go through, and I've replicated that on two Macs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jayway.com/2009/04/29/upgrading-groovy-to-162-fails-on-mac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

