<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue Jun 18 01:46:26 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/NREPL-19/NREPL-19.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>[NREPL-19] Android: nREPL starts with no namespace</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-19</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;When I start the nREPL on the Android device (by calling `(clojure.tools.nrepl.server/start-server :port 9999)`) it all goes well. But when I try to connect to this REPL using any of the clients I find myself in an empty namespace (or something like that). The var &lt;b&gt;ns&lt;/b&gt; is unbound, no functions from the clojure.core are available. At the beginning REPLy tries to perform some actions but they fail (says that it cannot find symbol `defn` - because nothing from clojure.core is being mapped).&lt;/p&gt;

&lt;p&gt;However I can do (in-ns &apos;anywhere) it works. Everything else in the REPL works correctly (as far as I see). The issue itself is minor but I&apos;m afraid that it is caused by some crash during nREPL initialization that might lead to other problems in future.&lt;/p&gt;</description>
                <environment>Android w/ Clojure 1.4.0, REPLy client / Eclipse CCW client</environment>
            <key id="15434">NREPL-19</key>
            <summary>Android: nREPL starts with no namespace</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="alexyakushev">Alexander Yakushev</reporter>
                        <labels>
                        <label>android,</label>
                        <label>bug</label>
                    </labels>
                <created>Fri, 11 May 2012 11:05:31 -0500</created>
                <updated>Wed, 20 Jun 2012 07:07:27 -0500</updated>
                    <resolved>Wed, 20 Jun 2012 07:07:27 -0500</resolved>
                            <version>0.2.0</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="28456" author="alexyakushev" created="Fri, 11 May 2012 11:06:34 -0500"  >&lt;p&gt;Can&apos;t edit, I meant the *&lt;b&gt;ns&lt;/b&gt;* var, of course.&lt;/p&gt;</comment>
                    <comment id="28541" author="alexyakushev" created="Sat, 19 May 2012 16:32:21 -0500"  >&lt;p&gt;With the help of Daniel Solano G&#243;mez I managed to fix this bug. The problem was caused by the lack of &lt;tt&gt;user&lt;/tt&gt; namespace in the Android-patched Clojure. nREPL assumes that the &lt;tt&gt;user&lt;/tt&gt; namespace is present and uses it by default.&lt;/p&gt;

&lt;p&gt;Here&apos;s the so called fix I ended up with:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;...
(let [user-ns (create-ns &apos;user)]
  (binding [*ns* user-ns]
    (clojure.tools.nrepl.server/start-server :port 9999)))
...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The issue can be closed now.&lt;/p&gt;</comment>
                    <comment id="28616" author="cemerick" created="Sun, 27 May 2012 16:04:05 -0500"  >&lt;p&gt;A follow up Q: &lt;tt&gt;user&lt;/tt&gt; is created by &lt;tt&gt;clojure.lang.RT&lt;/tt&gt;&apos;s static initialization.  Is the lack of that in &quot;Android-patched Clojure&quot; an optimization of some sort?&lt;/p&gt;</comment>
                    <comment id="28617" author="alexyakushev" created="Sun, 27 May 2012 16:49:28 -0500"  >&lt;p&gt;Exactly, Daniel Solano G&#243;mez removed it because it&apos;s initialization took additional time, it seems.&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>