Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

java.lang.IllegalArgumentException: No matching clause: droidtest #22

Closed
Profpatsch opened this issue Apr 5, 2013 · 3 comments
Closed

Comments

@Profpatsch
Copy link

With the official build at clojars I got error #20 and after cloning here, running lein jar and copying the jar into my leiningen folder the following error comes up:

% lein droid droidtest de.profpatsch.droidtest
java.lang.IllegalArgumentException: No matching clause: droidtest
    at leiningen.droid$execute_subtask.invoke(droid.clj:81)
    at leiningen.droid$droid.doInvoke(droid.clj:74)
    at clojure.lang.RestFn.invoke(RestFn.java:439)
    at clojure.lang.Var.invoke(Var.java:423)
…
@alexander-yakushev
Copy link
Member

Hello,

There is no such subtask in lein-droid as droidtest. Could you please describe what do you want to do? There is a tutorial on lein-droid usage here.

@Profpatsch
Copy link
Author

Okay … I feel stupid now. Let’s just say I was too tired to notice I forgot new.

Yet, it would be cool if lein-droid would say something the likes of: “No such submodule: foo” instead of throwing a horrible Exception.

Anyway, let’s just forget this. :)

alexander-yakushev added a commit that referenced this issue Apr 9, 2013
@alexander-yakushev
Copy link
Member

You've got a point. I've pushed a small fix that makes it clearer when you make such a mistake.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants