Skip to content

A collection of clojure functions to list and modify the java classpath dynamically

Notifications You must be signed in to change notification settings

martinjackson/clojure-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Modify java's -cp
This is a group of utility functions to add jars to the java classpath. Items will only be added 
if they are not already in the classpath.  This way you can place this call to one of these functions 
at the top of you code and be guarenteed that the underlying java libraries you are relying on can be found.

(import '(org.supercsv.io CsvListReader)) 
(addFilePathToClasspath "libs/SuperCSV-1.31.jar")

-- OR --
you are in emacs in interactive clojure mode and you want to add all the jars in your libs/ directory

(addAllJarsToClasspath "libs/")

Martin Jackson 4/18/2008

PS. Yes I am a TRON fan (free access to the users)

About

A collection of clojure functions to list and modify the java classpath dynamically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published