Jim, that is in project.clj right?
OP can use :refer and :exclude but can't pass two namespaces to :refer,
just one
some examples from clojure code:
(ns foo.bar
(:refer-clojure :exclude [ancestors printf])
(:require (clojure.contrib sql combinatorics))
(:use (my.lib this that))
(:import (java.util Date Timer Random)
(java.sql Connection Statement)))
or maybe you wanted this:
(ns clojure.test-clojure.data-structures
(:use clojure.test
[clojure.test.generative *:exclude* (is)])
(:require [clojure.test-clojure.generators :as cgen]))
On Tue, May 28, 2013 at 1:02 PM, Jim <[email protected]> wrote:
> I think it is :exclusions not :exclude...
>
> example:
>
> [uk.ac.gate/gate-core "7.1" :exclusions [[org.springframework/spring-beans]]]
>
> Jim
>
>
>
>
> On 28/05/13 10:42, ru wrote:
>
> Dear clojure-users,
>
> Loading a file with such content:
>
> (ns ru.rules
> (:use
> protege.core
> rete.core :exclude [rutime])
> ...
>
> I get this error message:
>
> java.lang.Exception: Unsupported option(s) supplied: :exclude
> at clojure.core$load_libs.doInvoke(core.clj:5408)
> at clojure.lang.RestFn.applyTo(RestFn.java:137)
> at clojure.core$apply.invoke(core.clj:621)
> at clojure.core$use.doInvoke(core.clj:5507)
> at clojure.lang.RestFn.invoke(RestFn.java:457)
> at ru.rules$eval8$loading__4910__auto____9.invoke(rules.clj:1)
> at ru.rules$eval8.invoke(rules.clj:1)
> at clojure.lang.Compiler.eval(Compiler.java:6619)
> ....
>
> This contradict to official API documentation on Clojure v1.5. Am I
> right?
> Any help would be greatly appreciated.
>
> Sincerely,
> Ru
>
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.