Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS X bug for Leiningen 1.0 ? #4

Closed
swannodette opened this issue Dec 8, 2009 · 8 comments
Closed

OS X bug for Leiningen 1.0 ? #4

swannodette opened this issue Dec 8, 2009 · 8 comments

Comments

@swannodette
Copy link

http://github.com/swannodette/lein-macosx-bug

If I try to use this project with lein swank (using lein 1.0), I get a fairly weird exception:

Cannot load apple.laf.AquaLookAndFeel

I ran this project using the normal Emacs clojure setup (setting the classpath manually in my .emacs file) and it works perfectly.

Everything needed to recreate this bug is in the repo.

@swannodette
Copy link
Author

Forgot to add that this used work just fine on the master branch pre-1.0.

@ato
Copy link
Collaborator

ato commented Dec 8, 2009

It might be bootclasspath related. Try removing: -Xbootclasspath/a:"$CLOJURE_JAR" from the second-last line of the bin/lein script.

@ato
Copy link
Collaborator

ato commented Dec 8, 2009

Alternatively I guess it might be something to do with Ant's classloader. I wonder why Dan didn't run into this issue. What version of OS X are you running?

@swannodette
Copy link
Author

Just tried it without the bootclasspath option, no change.

2.53 Mhz Core 2 Duo MBP, OS X 10.6, JDK 1.6 64bit

@swannodette
Copy link
Author

I note that "lein swank" works fine if I use the checkout leiningen from the repo instead of 1.0.

@swannodette
Copy link
Author

I think I have a solution. I've sent a pull request.

@pjlegato
Copy link

FWIW I'm on 10.6 (Snow Leopard) and lein runs successfully for me.

@technomancy
Copy link
Owner

I believe this has been fixed for a while.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants