On May 28, 9:26 am, Remco van 't Veer wrote:
>
> Try giving the dx command a bit more memory by adding something like:
>
> -Jmx1024m
>
> before --dex.
>
Unfortunately that didn't work quite so well. The java process ended
up using 1.4GB ram without terminating (waited approximately 10
minutes
o that's probably the issue:
>
> java version "1.6.0_18"
> OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
> OpenJDK Server VM (build 14.0-b16, mixed mode)
>
> Don't have a clue how to fix this.
>
> On 2010/05/28 11:06, MHOOO wrote
I've just started with development on android myself, but from what
I've read on the internets, you could probably write a .dex loader in
the default classes.dex (which will be loaded when you start your
application) and write your actual program in other .dex files. This
way you'll be able to comp
I've just now tried to get an android activity to run, however when
executing the application ("hello world", really) I get the following
error:
I/ActivityManager( 59): Starting activity: Intent
{ act=android.int
Doing some digging I found the problem:
I forgot to include the clojure/version.properties file in my .apk.
On May 29, 4:02 am, MHOOO wrote:
> I've just now tried to get an android activity to run, however when
> executing the application ("hello world", really) I get
I've got 1.2.0-master running on android froyo with a repl. Froyo
supports JIT compilation, but whenever I call code which is defining a
new class (e.g.: "(defn blub [] nil)"), I get an Exception:
-
clojure.core=> (defn blub [] 1)
java.lan
> George Jahad did get a repl/eval to run on android some time ago. See:
>
> http://groups.google.com/group/clojure/browse_thread/thread/14725172c...
>
> And the revelant commit in his clojure fork:
>
> http://github.com/GeorgeJahad/clojure-android/commit/9caf2913a2724
I'd like to try to compile the clojure code (i.e. its different parts
like .core, .main, .set, etc) into different .dex files so as to speed
up both compilation (since you'll only have to recompile those .dex
files which have changed) and start-up (since only those .dex files
are loaded which are n
d be to figure out how to get it all together and
integrate it with leiningen: Build clojure-master .dex files (<- done)
with a custom main (<- todo) which calls the users main android
activity (<- todo), package everything into an apk (<- done) and
install it on the emulator (<- don
I'd like to have clojure *not* `(load x)` where x is at least:
clojure.zip, clojure.xml, clojure.set
when starting clojure up. I didn't really find any place in the
clojure code where I could do that except remove the entire subsystem
from the ant build.xml.
Anyone knows how to solve this? Is there
Ah thanks. I've been looking for that line.
On May 31, 4:06 pm, Remco van 't Veer wrote:
> On 2010/05/31 14:25, MHOOO wrote:
>
> > I'd like to have clojure *not* `(load x)` where x is at least:
> > clojure.zip, clojure.xml, clojure.set
> > when starting clo
nge errors which I have yet to resolve.
On Jun 2, 1:30 am, Matt Clark wrote:
> Do you have a public repository of the work you've done so far? I'm
> very interested to learn more about this.
>
> On May 29, 7:31 pm, MHOOO wrote:
>
> > Well, that was easy enough. I
I've pushed my changes to clojure-master to github (master from
today):
git://github.com/MHOOO/clojure.git
This should work so far. As for a hello-clojure-android application:
I'll try to get my example up and running on the weekend - possibly
together with a leiningen plug-in which aut
I'm experiencing the exact same problem. Haven't found a way to fix
this yet.
On 17 Aug., 04:38, Stefan Kamphausen wrote:
> Hi,
>
> just yesterday I took a first look at auto-complete together with your
> slime auto completion sources.
>
> I'm encountering some Exceptions, though,
>
> If I'm in a
I can get rid of those errors by evaling this in the repl. Does this
work for you as well?:
(do
(require 'clojure.contrib.with-ns)
(clojure.contrib.with-ns/with-ns
'swank.commands.basic
(defn- describe-to-string [var]
{:pre [(var? var)]}
(with-out-str
(print-doc var)
Hello there,
the following throws an IOException ("Invalid Argument") in clojure
1.3-alpha7 on an ubuntu machine:
(slurp "/proc/stat")
Apparently creating a BufferedReader on (File. "/proc/stat") does not
work in this case. It *does* however work if I do:
(slurp (java.io.FileReader "/proc/stat"))
I'd say that is a bug.
On clojure 1.3 "resolve" throws an error when passed a symbol naming a
namespace. That is why clojure.repl/doc throws an exception already
during macro invocation & the last cond within it, which checks for
namespaces, never gets evaluated.
So your work-around is what I'd use
I've never been fond of facebook, mainly because there is this
tendency to have a lot of people in your friends list whom you barely
know. G+ seems to do better with circles being private. Anyone mind
giving me an invite? Its thomas.karol...@googlemail.com
--
You received this message because you
Thanks Joop Kiefte & Dave Ray!
On Jul 24, 9:00 pm, Dave Ray wrote:
> Invite sent in case someone else didn't send one already.
>
> Cheers,
>
> Dave
>
>
>
>
>
>
>
> On Sun, Jul 24, 2011 at 12:26 PM, MHOOO
> wrote:
> > I've never be
Hello everybody,
recently I was using the following pattern a lot, in order to get access to
a value inside a map:
(defn map-geto* [m k v]
(matche [m]
([[[k v] . _]])
([[_ . tail]] (map-geto* tail k v
I can use that like this:
(run* [q] (map-geto* (seq {:
For some reason, whenever I use one of the clojure-contrib 1.3 jars in
my leiningen project file (e.g. org.clojure/contrib/logging) and then
install that (using lein install) into my local repo, I get errors
about the generated pom file to be invalid whenever I try to depend on
the project (the pro
21 matches
Mail list logo