lein install
or
mvn
mvn install:install-file -DgroupId=blub -DartifactId=blub -Dversion=1
-Dpackaging=jar -Dfile=/path/to/file
On 24/05/2011, at 5:55 PM, Eric S Fraga wrote:
> Hello,
>
> I've trawled the 'net etc. but have not been able to find the answer to
> a simple question: how can I tell lein that I want to access classes
> from a Java package installed locally on my system but not publicly
> available?
>
> If I use "lein repl" from outside a lein project, the class path set up
> seems to be what I have specified in the CLASSPATH environment variable.
> However, as soon as I try this from within a lein project, the class
> path is now defined by the project.clj file. This makes sense.
>
> Therefore, I want to tell lein that, for a given project, I have Java
> packages in, say, ${HOME}/share/classes that I wish to access from
> within that project. Can any body point me in the right direction? I
> assume I need to add something to the project.clj file but have not been
> able to determine what this should be. Apologies if this is a n00b
> question.
>
> I currently have clojure 1.2.1 and lein 1.5.2 installed. I am happy to
> upgrade if necessary, of course.
>
> Thanks,
> eric
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 + No Gnus v0.18
>
> --
> 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 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