GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rlxrlxrlx/java.classpath

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
README.md
README.md
 
 
epl.html
epl.html
 
 
pom.xml
pom.xml
 
 

Repository files navigation

java.classpath

Examine the Java classpath from Clojure programs.

Releases and Dependency Information

Latest stable release is 0.2.2

Leiningen dependency information:

[org.clojure/java.classpath "0.2.2"]

Maven dependency information:

<dependency>
  <groupId>org.clojure</groupId>
  <artifactId>java.classpath</artifactId>
  <version>0.2.2</version>
</dependency>

Gradle dependency information:

compile "org.clojure:java.classpath:0.2.2"

Other versions:

  • All Released Versions

  • Development SNAPSHOTs

  • How to get Development SNAPSHOTs

Releases are published to the Maven Central Repository

Development SNAPSHOTs are published to the Sonatype Open-Source Repository

Usage

See the API Documentation

Examples:

(require '[clojure.java.classpath :as cp])

(cp/classpath)
;; (#<File /foo/test> #<File /foo/src> ...)

The classpath function returns a sequence of java.io.File objects representing all JAR files and directories on the classpath. It defaults to using the classpath of Clojure's base ClassLoader.

classpath also takes a ClassLoader as an optional argument.

Alternatively, the system-classpath function returns a sequence of java.io.File objects parsed from the java.class.path Java system property.

If you are using an environment which provides its own ClassLoader implementation, such as a Java application server, you can extend the protocol URLClasspath to support it. Refer to the source for details.

Change Log

  • Development version 0.2.3-SNAPSHOT, current Git master branch
  • Release 0.2.2 on 2014-Jan-10
    • Enhancement CLASSPATH-5: extensible protocol to other classloaders
  • Release 0.2.1 on 2013-Jan-18
    • Fix CLASSPATH-4: Use io/as-file instead of treating URL as file path
    • Fix CLASSPATH-3: Eliminate reflection
  • Release 0.2.0 on 2011-Sep-15
    • Fix CLASSPATH-1 & CLASSPATH-2: return classpath from all parent classloaders
  • Release 0.1.2 on 2011-Sep-06
    • Use both java.class.path and Clojure's ClassLoader
  • Release 0.1.1 on 2011-Apr-28
    • Eliminate relection
  • Release 0.1.0 on 2011-Apr-22
    • Migrated from clojure.contrib.classpath and clojure.contrib.jar in legacy clojure-contrib

Developer Information

  • GitHub project

  • How to contribute

  • Bug Tracker

  • Continuous Integration

  • Compatibility Test Matrix

Copyright and License

Copyright (c) 2013 Rich Hickey, Stuart Sierra, and contributors. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

About

No description, website, or topics provided.

Resources

Readme

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.