<?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"
	>
<channel>
	<title>Comments on: SCons - passes 1 out of three tests - could do&#160;better</title>
	<atom:link href="http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/</link>
	<description>Sam Newman's blog</description>
	<pubDate>Sat, 05 Jul 2008 00:37:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: John</title>
		<link>http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-36513</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 26 Jun 2007 19:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-36513</guid>
		<description>Someone has showered some love! (Greg Ward)

http://www.gerg.ca/hacks/scons/

A couple patches which spawn some complaints applied to 0.97, but do the job. I applied 01, and 02, because I think 03 makes the output uglier.

My hope is the next person who types "scons java inner classes broken" into google can find that page.

Still no support for javadoc in scons, so I had do something a little kludgey. Overall I am happy with the system and am moving to use it everywhere.</description>
		<content:encoded><![CDATA[<p>Someone has showered some love! (Greg Ward)</p>
<p><a href="http://www.gerg.ca/hacks/scons/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.gerg.ca');" rel="nofollow">http://www.gerg.ca/hacks/scons/</a></p>
<p>A couple patches which spawn some complaints applied to 0.97, but do the job. I applied 01, and 02, because I think 03 makes the output uglier.</p>
<p>My hope is the next person who types &#8220;scons java inner classes broken&#8221; into google can find that page.</p>
<p>Still no support for javadoc in scons, so I had do something a little kludgey. Overall I am happy with the system and am moving to use it everywhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-36469</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 26 Jun 2007 17:03:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-36469</guid>
		<description>I was recently enticed into trying scons for my java builds. I ran into the same first problem you described,but managed to stumble into a fix by looking at some extant SConstruct files. 

In talking to an scons "guru" he convinved me that the fact that scons does not parse your path is an advantage. In theory this feature makes it easier to port to different environments. Everyone has an example where some tweak of your personal environment leads to something broken, so I actually do buy this argument. The result is a little lengthening of the SCconstruct file, but it still ends up smaller than my equivalent build.xml.

Next problem for me was getting jar to work with a manifest for "Main-Class". I ended up kludging a Manifest.txt file, so had to learn how to open/write files in python. Basically a couple hours and I had everything "working".

The first real problem (if you are not offended by kludges) is that scons appears to be broken for anonymous inner classes. And for the first time I can remember recently, google cant find a solution. Uusually you can type in the exact error message or part of it, and google takes you to twenty pages describing how to fix it. The problem appears to be that the naming for anon innner classes is broken, and so scons compiles the source every time, instead of realizing it is up to date.

Occam's razor suggests maybe I screwed up the source code, but from the command line, or make, or ant, there seems to be no problem. So unless someone from the java community can give scons "some love" (nice!), I will have to look into hacking the javac parser they use. Not a pretty thought.

Cheers,

John</description>
		<content:encoded><![CDATA[<p>I was recently enticed into trying scons for my java builds. I ran into the same first problem you described,but managed to stumble into a fix by looking at some extant SConstruct files. </p>
<p>In talking to an scons &#8220;guru&#8221; he convinved me that the fact that scons does not parse your path is an advantage. In theory this feature makes it easier to port to different environments. Everyone has an example where some tweak of your personal environment leads to something broken, so I actually do buy this argument. The result is a little lengthening of the SCconstruct file, but it still ends up smaller than my equivalent build.xml.</p>
<p>Next problem for me was getting jar to work with a manifest for &#8220;Main-Class&#8221;. I ended up kludging a Manifest.txt file, so had to learn how to open/write files in python. Basically a couple hours and I had everything &#8220;working&#8221;.</p>
<p>The first real problem (if you are not offended by kludges) is that scons appears to be broken for anonymous inner classes. And for the first time I can remember recently, google cant find a solution. Uusually you can type in the exact error message or part of it, and google takes you to twenty pages describing how to fix it. The problem appears to be that the naming for anon innner classes is broken, and so scons compiles the source every time, instead of realizing it is up to date.</p>
<p>Occam&#8217;s razor suggests maybe I screwed up the source code, but from the command line, or make, or ant, there seems to be no problem. So unless someone from the java community can give scons &#8220;some love&#8221; (nice!), I will have to look into hacking the javac parser they use. Not a pretty thought.</p>
<p>Cheers,</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Newman</title>
		<link>http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-597</link>
		<dc:creator>Sam Newman</dc:creator>
		<pubDate>Fri, 17 Dec 2004 14:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-597</guid>
		<description>Thanks to "Simon":http://www.brunningonline.net/simon/blog/archives/001688.html for spotting this excellent quote which might be of interest to those who'll say "Ant is good enough" - 



"If you decide to go with the same tools and technology as everyone else, you make sure that you won't fail any worse than they do. However, you also ensure that you won't succeed any better."


</description>
		<content:encoded><![CDATA[<p>Thanks to <a href="http://www.brunningonline.net/simon/blog/archives/001688.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.brunningonline.net');">Simon</a> for spotting this excellent quote which might be of interest to those who&#8217;ll say &#8220;Ant is good enough&#8221; &#8211; </p>
<p>&#8220;If you decide to go with the same tools and technology as everyone else, you make sure that you won&#8217;t fail any worse than they do. However, you also ensure that you won&#8217;t succeed any better.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nat Pryce</title>
		<link>http://www.magpiebrain.com/blog/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-596</link>
		<dc:creator>Nat Pryce</dc:creator>
		<pubDate>Fri, 17 Dec 2004 14:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.magpiebrain.com/2004/12/17/scons-passes-1-out-of-three-tests-could-do-better/#comment-596</guid>
		<description>Great summary.  What a shame that Scons doesn't handle Java builds well.  I've had a cursory look at C# support and that doesn't look to be there yet either.</description>
		<content:encoded><![CDATA[<p>Great summary.  What a shame that Scons doesn&#8217;t handle Java builds well.  I&#8217;ve had a cursory look at C# support and that doesn&#8217;t look to be there yet either.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
