Bug 684060
| Summary: | Clojure does not use CLASSPATH | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gérard Milmeister <gemi> |
| Component: | clojure | Assignee: | Colin Walters <walters> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | jochen, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | clojure-1.3.0-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-21 15:39:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This bug will be fixed in the upcoming 1.3.0 release of clojure. You can try out the package clojure-1.3.0-0.1.fc17 from rawhide. clojure-1.3.0-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/clojure-1.3.0-1.fc16 clojure-1.3.0-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The way the start script is written, CLASSPATH is ignored. Thus, for example, (use ...) does not work, which needs the CLASSPATH to be set to the directory with the clojure namespaces. Instead of: exec java ${JAVA_OPTS} -jar /usr/share/java/clojure.jar "$@" it should be CLASSPATH=$CLASSPATH:/usr/share/java/clojure.jar export CLASSPATH exec java ${JAVA_OPTS} clojure.main "$@"