<?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: Using jgit To Publish on Amazon S3</title>
	<atom:link href="http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html</link>
	<description>The lonely musings of a loosely connected software developer.</description>
	<lastBuildDate>Sat, 20 Feb 2010 23:15:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: spearce</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91887</link>
		<dc:creator>spearce</dc:creator>
		<pubDate>Mon, 11 Jan 2010 18:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91887</guid>
		<description>For the record, my email address is on the top right in the sidebar, and the JGit project can be reached through its mailing list at https://dev.eclipse.org/mailman/listinfo/jgit-dev.

Its strange we got an invalid content length.  Is it possible the repository is very large, like over 2 GiB, and thus the content length might have wrapped around on us to be negative here?  If I recall that section of code, we probably don&#039;t handle anything over 2 GiB in a single push because the setFixedLengthStreamingMode method takes a signed int for its argument.</description>
		<content:encoded><![CDATA[<p>For the record, my email address is on the top right in the sidebar, and the JGit project can be reached through its mailing list at <a href="https://dev.eclipse.org/mailman/listinfo/jgit-dev" rel="nofollow">https://dev.eclipse.org/mailman/listinfo/jgit-dev</a>.</p>
<p>Its strange we got an invalid content length.  Is it possible the repository is very large, like over 2 GiB, and thus the content length might have wrapped around on us to be negative here?  If I recall that section of code, we probably don&#8217;t handle anything over 2 GiB in a single push because the setFixedLengthStreamingMode method takes a signed int for its argument.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Troy Hakala</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91886</link>
		<dc:creator>Troy Hakala</dc:creator>
		<pubDate>Mon, 11 Jan 2010 18:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91886</guid>
		<description>I can&#039;t find a better way to contact you... 

I&#039;m trying to use jgit (v0.5.0) to push a repository to S3 and I get the following. Any ideas how to fix this?: 

Counting objects:       8430
Compressing objects:    100% (8430/8430)
Writing objects:         99% (8346/8430)java.lang.IllegalArgumentException: invalid content length
	at java.net.HttpURLConnection.setFixedLengthStreamingMode(HttpURLConnection.java:109)
	at org.spearce.jgit.transport.AmazonS3.putImpl(AmazonS3.java:482)
	at org.spearce.jgit.transport.AmazonS3.access$000(AmazonS3.java:106)
	at org.spearce.jgit.transport.AmazonS3$1.close(AmazonS3.java:453)
	at java.io.FilterOutputStream.close(FilterOutputStream.java:143)
	at org.spearce.jgit.transport.WalkPushConnection.sendpack(WalkPushConnection.java:249)
	at org.spearce.jgit.transport.WalkPushConnection.push(WalkPushConnection.java:155)
	at org.spearce.jgit.transport.PushProcess.execute(PushProcess.java:127)
	at org.spearce.jgit.transport.Transport.push(Transport.java:866)
	at org.spearce.jgit.pgm.Push.run(Push.java:124)
	at org.spearce.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:131)
	at org.spearce.jgit.pgm.Main.execute(Main.java:159)
	at org.spearce.jgit.pgm.Main.main(Main.java:84)</description>
		<content:encoded><![CDATA[<p>I can&#8217;t find a better way to contact you&#8230; </p>
<p>I&#8217;m trying to use jgit (v0.5.0) to push a repository to S3 and I get the following. Any ideas how to fix this?: </p>
<p>Counting objects:       8430<br />
Compressing objects:    100% (8430/8430)<br />
Writing objects:         99% (8346/8430)java.lang.IllegalArgumentException: invalid content length<br />
	at java.net.HttpURLConnection.setFixedLengthStreamingMode(HttpURLConnection.java:109)<br />
	at org.spearce.jgit.transport.AmazonS3.putImpl(AmazonS3.java:482)<br />
	at org.spearce.jgit.transport.AmazonS3.access$000(AmazonS3.java:106)<br />
	at org.spearce.jgit.transport.AmazonS3$1.close(AmazonS3.java:453)<br />
	at java.io.FilterOutputStream.close(FilterOutputStream.java:143)<br />
	at org.spearce.jgit.transport.WalkPushConnection.sendpack(WalkPushConnection.java:249)<br />
	at org.spearce.jgit.transport.WalkPushConnection.push(WalkPushConnection.java:155)<br />
	at org.spearce.jgit.transport.PushProcess.execute(PushProcess.java:127)<br />
	at org.spearce.jgit.transport.Transport.push(Transport.java:866)<br />
	at org.spearce.jgit.pgm.Push.run(Push.java:124)<br />
	at org.spearce.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:131)<br />
	at org.spearce.jgit.pgm.Main.execute(Main.java:159)<br />
	at org.spearce.jgit.pgm.Main.main(Main.java:84)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spearce</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91842</link>
		<dc:creator>spearce</dc:creator>
		<pubDate>Wed, 29 Apr 2009 14:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91842</guid>
		<description>Actually, there is a script in the top level directory: ./make_jgit.sh

Run that script to compile with plain old javac, and avoid Eclipse entirely.</description>
		<content:encoded><![CDATA[<p>Actually, there is a script in the top level directory: ./make_jgit.sh</p>
<p>Run that script to compile with plain old javac, and avoid Eclipse entirely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jc</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91840</link>
		<dc:creator>jc</dc:creator>
		<pubDate>Sun, 12 Apr 2009 23:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91840</guid>
		<description>That&#039;s great, however jgit&#039;s installation is completely retarded. Why require eclipse? Anyways, the whole thing is a mess of java nonsense. I&#039;m sure there&#039;s a better way.</description>
		<content:encoded><![CDATA[<p>That&#8217;s great, however jgit&#8217;s installation is completely retarded. Why require eclipse? Anyways, the whole thing is a mess of java nonsense. I&#8217;m sure there&#8217;s a better way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Git on S3 &#124; Web Initiative</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91794</link>
		<dc:creator>Git on S3 &#124; Web Initiative</dc:creator>
		<pubDate>Sun, 03 Aug 2008 00:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91794</guid>
		<description>[...] author of jgit has implemented a Amazon S3 protocol to support git fetch and git push on a S3 bucket. Anyone who compiled jgit on [...]</description>
		<content:encoded><![CDATA[<p>[...] author of jgit has implemented a Amazon S3 protocol to support git fetch and git push on a S3 bucket. Anyone who compiled jgit on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spearce</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91784</link>
		<dc:creator>spearce</dc:creator>
		<pubDate>Mon, 21 Jul 2008 03:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91784</guid>
		<description>These errors seem to be on APIs that were introduced in Java 5.

Check that your projects are pointing to a Java 5 or Java 6 JRE.  I suspect they are configured to point to a Java 1.4 JRE.  Generally we change this setting in the workspace, and allow the projects to inherit the workspace setting.</description>
		<content:encoded><![CDATA[<p>These errors seem to be on APIs that were introduced in Java 5.</p>
<p>Check that your projects are pointing to a Java 5 or Java 6 JRE.  I suspect they are configured to point to a Java 1.4 JRE.  Generally we change this setting in the workspace, and allow the projects to inherit the workspace setting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillermo</title>
		<link>http://www.spearce.org/2008/07/using-jgit-to-publish-on-amazon-s3.html/comment-page-1#comment-91783</link>
		<dc:creator>Guillermo</dc:creator>
		<pubDate>Sun, 20 Jul 2008 18:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.spearce.org/?p=79#comment-91783</guid>
		<description>Hi. I&#039;ve been trying to install the git eclipse plugin in my eclipse but I&#039;m in trouble compiling the package org.spearce.jgit. I&#039;ve eight errors that don&#039;t allow to be built projects. These is the eclipse output:
The method getRequestorType() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 94	Java Problem
The method getRequestorType() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 95	Java Problem
The method getRequestingURL() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 103	Java Problem
The method openConnection() in the type URL is not applicable for the arguments (Proxy)	TransportHttp.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 179	Java Problem
The method setFixedLengthStreamingMode(int) is undefined for the type HttpURLConnection	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 396	Java Problem
The method setFixedLengthStreamingMode(int) is undefined for the type HttpURLConnection	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 482	Java Problem
The method openConnection() in the type URL is not applicable for the arguments (Proxy)	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 565	Java Problem

My HEAD is at: da33dee3a7b93370f50cb5134d7f4fa49ce2e3bf

Thanks :-)</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;ve been trying to install the git eclipse plugin in my eclipse but I&#8217;m in trouble compiling the package org.spearce.jgit. I&#8217;ve eight errors that don&#8217;t allow to be built projects. These is the eclipse output:<br />
The method getRequestorType() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 94	Java Problem<br />
The method getRequestorType() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 95	Java Problem<br />
The method getRequestingURL() is undefined for the type AwtAuthenticator	AwtAuthenticator.java	org.spearce.jgit/src/org/spearce/jgit/awtui	line 103	Java Problem<br />
The method openConnection() in the type URL is not applicable for the arguments (Proxy)	TransportHttp.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 179	Java Problem<br />
The method setFixedLengthStreamingMode(int) is undefined for the type HttpURLConnection	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 396	Java Problem<br />
The method setFixedLengthStreamingMode(int) is undefined for the type HttpURLConnection	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 482	Java Problem<br />
The method openConnection() in the type URL is not applicable for the arguments (Proxy)	AmazonS3.java	org.spearce.jgit/src/org/spearce/jgit/transport	line 565	Java Problem</p>
<p>My HEAD is at: da33dee3a7b93370f50cb5134d7f4fa49ce2e3bf</p>
<p>Thanks <img src='http://www.spearce.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
