<?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: An Ant compiler adapter for the JSR 14 (Generics) early access compiler.</title>
	<atom:link href="http://madbean.com/2003/mb2003-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://madbean.com/2003/mb2003-3/</link>
	<description>Your zero step program</description>
	<pubDate>Thu, 24 Jul 2008 02:38:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: David Hall</title>
		<link>http://madbean.com/2003/mb2003-3/#comment-76</link>
		<dc:creator>David Hall</dc:creator>
		<pubDate>Wed, 10 Dec 2003 04:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-3#comment-76</guid>
		<description>&lt;p&gt;For what it's worth:&lt;/p&gt;

&lt;p&gt;I've been working on a project using the generic java compiler for a while now, and to get it done in ant, you can also do this:
&lt;code&gt;
  &#60;javac fork=&#34;yes&#34;
         debug=&#34;yes&#34;
         executable=&#34;${J2SE14}/bin/javac&#34;
         source=&#34;1.5&#34;
         destdir=&#34;${classdir}&#34;&#62;
    &#60;compilerarg line=&#34;-J-Xbootclasspath/p:${JSR14DISTR}/gjc-rt.jar&#34;/&#62;
    &#60;compilerarg line=&#34;-bootclasspath ${JSR14DISTR}/collect.jar:${JSR14DISTR}/gjc-rt.jar:${J2SE14}/jre/lib/rt.jar&#34;/&#62;
    &#60;compilerarg value=&#34;-warnunchecked&#34;/&#62;
    &#60;classpath refid=&#34;project.classpath&#34;/&#62;
    &#60;src path=&#34;${srcdir}&#34;/&#62;
  &#60;/javac&#62;&lt;/p&gt;

&lt;p&gt;&lt;/code&gt;
I have ANT_ARGS defined in my environment as &#34;-DJSR14DISTR=${JSR14DISTR} -DJ2SE14=${J2SE14}&#34;, and both JSR14DISTR and J2SE14 defined as described with the compiler&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For what it&#8217;s worth:</p>
<p>I&#8217;ve been working on a project using the generic java compiler for a while now, and to get it done in ant, you can also do this:<br />
<code><br />
  &lt;javac fork=&quot;yes&quot;<br />
         debug=&quot;yes&quot;<br />
         executable=&quot;${J2SE14}/bin/javac&quot;<br />
         source=&quot;1.5&quot;<br />
         destdir=&quot;${classdir}&quot;&gt;<br />
    &lt;compilerarg line=&quot;-J-Xbootclasspath/p:${JSR14DISTR}/gjc-rt.jar&quot;/&gt;<br />
    &lt;compilerarg line=&quot;-bootclasspath ${JSR14DISTR}/collect.jar:${JSR14DISTR}/gjc-rt.jar:${J2SE14}/jre/lib/rt.jar&quot;/&gt;<br />
    &lt;compilerarg value=&quot;-warnunchecked&quot;/&gt;<br />
    &lt;classpath refid=&quot;project.classpath&quot;/&gt;<br />
    &lt;src path=&quot;${srcdir}&quot;/&gt;<br />
  &lt;/javac&gt;</code></p>
<p>
I have ANT_ARGS defined in my environment as &quot;-DJSR14DISTR=${JSR14DISTR} -DJ2SE14=${J2SE14}&quot;, and both JSR14DISTR and J2SE14 defined as described with the compiler</p>
]]></content:encoded>
	</item>
</channel>
</rss>
