<!-- 
RSS generated by JIRA (4.4#649-r158309) at Sat May 18 12:58:34 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CONTRIB-65/CONTRIB-65.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CONTRIB-65] pprint depends on order of compilation</title>
                <link>http://dev.clojure.org/jira/browse/CONTRIB-65</link>
                <project id="10012" key="CONTRIB">Clojure-Contrib</project>
                        <description>&lt;p&gt;pprint causes problems with the build process:&lt;/p&gt;

&lt;p&gt;1. c.c.pprint.ColumnWriter&lt;br/&gt;
2. c.c.pprint.PrettyWriter&lt;br/&gt;
3. c.c.pprint&lt;/p&gt;

&lt;p&gt;The first two are gen-class&apos;d, and PrettyWriter extends the class&lt;br/&gt;
generated for ColumnWriter.&lt;/p&gt;

&lt;p&gt;Unless they are compiled in exactly the order given above, the build&lt;br/&gt;
fails with a ClassNotFoundException.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14225">CONTRIB-65</key>
            <summary>pprint depends on order of compilation</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                        <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="stuart.sierra">Stuart Sierra</assignee>
                                <reporter username="-1">None</reporter>
                        <labels>
                    </labels>
                <created>Sun, 31 Jan 2010 00:09:00 -0600</created>
                <updated>Tue, 24 Aug 2010 15:08:00 -0500</updated>
                    <resolved>Tue, 24 Aug 2010 15:08:00 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="25768" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;Converted from &lt;a href=&quot;http://www.assembla.com/spaces/clojure/tickets/65&quot;&gt;http://www.assembla.com/spaces/clojure/tickets/65&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="25769" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stuart.sierra said: (In &lt;a href=&quot;http://github.com/clojure/clojure-contrib/commit/3275810556b075ff9a3a0abc0d08b3a19ee46bae&quot;&gt;revision:3275810556b075ff9a3a0abc0d08b3a19ee46bae&lt;/a&gt;) pprint: Move gen-class expressions to separate file; refs #65&lt;/p&gt;

&lt;p&gt;To avoid order-of-compilation issues,&lt;br/&gt;
this patch puts the gen-class expressions&lt;br/&gt;
for ColumnWriter and PrettyWriter in a&lt;br/&gt;
separate file, rather than in the ns&lt;br/&gt;
declarations.&lt;/p&gt;

&lt;p&gt;Branch: master&lt;/p&gt;</comment>
                    <comment id="25770" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stuart.sierra said: (In &lt;a href=&quot;http://github.com/clojure/clojure-contrib/commit/aa34fb9e52fa500c99bb45448bdfcd4020db5392&quot;&gt;revision:aa34fb9e52fa500c99bb45448bdfcd4020db5392&lt;/a&gt;) Reenable compiling of test namespaces in POM; refs #65&lt;/p&gt;

&lt;p&gt;But disable tests of pprint, which fail currently&lt;/p&gt;

&lt;p&gt;Branch: master&lt;/p&gt;</comment>
                    <comment id="25771" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stuart.sierra said: I think I have fixed this by placing the gen-class directives in a separate file; only that file will be AOT-compiled.&lt;/p&gt;</comment>
                    <comment id="25772" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;tomfaulhaber said: What a mess! This seems like a big problem with gen-class if we have to jump through this many hoops to make it work once we have more than one class in a hierarchy.&lt;/p&gt;

&lt;p&gt;Of course it worked fine back in ant-land where we had control over the compilation order.&lt;/p&gt;</comment>
                    <comment id="25773" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stuart.sierra said: It&apos;s not that bad.  The Ant build script was messier.  This is more flexible, because it only AOT-compiles things that need it, i.e. gen-class.&lt;/p&gt;</comment>
                    <comment id="25774" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;cemerick said: I mentioned this elsewhere, but perhaps there&apos;s a reason why this isn&apos;t workable in this case: I believe if you require clojure.contrib.pprint.ColumnWriter in PrettyWriter&apos;s ns declaration (perhaps before the :gen-class form?), then the compiler will visit and gen CW before attempting to gen-class PW.&lt;/p&gt;

&lt;p&gt;This would eliminate the need to explicitly specify which namespaces to compile.&lt;/p&gt;</comment>
                    <comment id="25775" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stuart.sierra said: Tried it. Didn&apos;t work.&lt;/p&gt;</comment>
                    <comment id="25776" author="importer" created="Tue, 24 Aug 2010 15:08:00 -0500"  >&lt;p&gt;stu said: Updating tickets (#2, #3, #33, #38, #51, #52, #65, #67, #70)&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>