I'm having the same issue on OSX with leiningen.
Unfortunately, it appears the cake project has been taken down so I cannot
use it to resolve the tools.jar problem.
http://releases.clojure-cake.org/cake gives a 404
The error I'm getting when I do (use 'swank.cdt) can be seen here
I'm sorry, the context of the message was not included. It's a reply to a
thread in April 2011.
I have converted to Emacs and am using swank! Hooray!
Now, I want to use swank-cdt but I have this problem.
After installing swank-clojure 1.4.0 with lein, I run (use 'swank.cdt) in a
repl and I get
I'm on OS X Lion and using:
* Emacs 24.0.90
* clojure-mode 1.11.4
* lein 1.6.2
* swank-clojure 1.4.0 as a dev-dependency (and as a global plugin, if
it matters)
I start the REPL via M-x clojure-jack-in when viewing my project.clj
file. When I do (use 'swank.cdt) I see the following:
CDT ready
Oh happy day. :)
Adding swank-cdt to dev dependencies solved my problem.
Thank you very much!
Sent from my iPhone
On Feb 29, 2012, at 7:50 PM, Sean Corfield seancorfi...@gmail.com wrote:
I'm on OS X Lion and using:
* Emacs 24.0.90
* clojure-mode 1.11.4
* lein 1.6.2
* swank-clojure 1.4.0
The following is the file lists in clojure-clojure-source-1.3.0-
alpha5.jar on Windows 7.
As you can see, there are no *.clj files in clojure-clojure-
source-1.3.0-alpha5.jar.
So I think that it is natural that 'clojure/set.clj - source not
found.' message appeared.
Do I misunderstand anything?
I posted the related problem on
https://github.com/technomancy/swank-clojure/issues/86
Please refer to it! I hope that it will be helpful for you.
On Dec 7, 12:47 pm, Andrew ache...@gmail.com wrote:
Thanks for taking the time Sean! You're right...
- I'm on Windows XP
- I had to copy
I think you are right Sean. This is a problem on Windows with the
file separator.
Aravindh Johendran suggested a fix a while ago. Let me try
integrating it and see if that doesn't fix the windows platform.
I'll let you know when I have something.
On Dec 6, 4:36 pm, Sean Corfield
On Dec 6, 11:05 pm, Young Kim philo...@gmail.com wrote:
The following is the file lists in clojure-clojure-source-1.3.0-
alpha5.jar on Windows 7.
As you can see, there are no *.clj files in clojure-clojure-
source-1.3.0-alpha5.jar.
So I think that it is natural that 'clojure/set.clj -
Thanks very much for this bug report Young!
I'm going to summarize your findings here for everyone else.
Basically, you found 3 problems:
1. The set-bp command requires full name-space qualification of the
function name.
2. On Windows, if attach.dll isn't on the java-library path, you get
the
I get the same thing on Windows XP with Leiningen 1.6.2 on Java 1.7.0 Java
HotSpot(TM) Client VM
- copied tools.jar manually to my lib/ just to see if it would work
- it did, and still gave a warning about tools.jar
- tried the test drive and when I type v I get this: *clojure\set.clj -
Did you (require 'clojure.set) ? It's not in the instructions for CDT...
On Tue, Dec 6, 2011 at 8:51 AM, Andrew ache...@gmail.com wrote:
tried the test drive and when I type v I get this: clojure\set.clj - source
not found.
--
You received this message because you are subscribed to the Google
user (require 'clojure.set)
nil
user (set-bp clojure.set/difference)
nil
nil
user (clojure.set/difference #{1 2} #{2 3})
CDT buffer appears
CDT BreakpointEvent in thread Swank REPL Thread
From here you can: e/eval, v/show source, s/step, x/next, o/exit func
Restarts:
0: [QUIT] Quit to the
I just created a new project, replaced project.clj with yours, ran
lein deps then lein swank and in Emacs M-x slime-connect. Following
your step below I was able to view the source of set.clj (and all the
compiler Java files as I walked back up the stack).
I know that's not much help but it might
Thanks for taking the time Sean! You're right...
- I'm on Windows XP
- I had to copy tools.jar to my projects lib manually after lein deps
(not sure how to change the classpath)
- My emacs setup is munged -- I can run M-x eshell but not M-x shell; I
have to do lein swank and M-x
Hi, sorry for not reporting back.
I did a bit of digging yesterday. Turns out that sa-jdi.jar isn't included
in JDK6 for windows.
Seems like I must use the sharedmemory connector.
Also it seems that add-classpath doesn't work on windows?
(-
Hey Andreas:
I have heard that it works on Windows, though I've never tried it.
Which jvm are you using?
Also, can you try attaching with command line jdb like so and see if
that gets the no providers exception.
1. add a specific port to your jvm options, like 8021 below:
I have problem getting it to work.
Windows 7.
swank-clojure 1.4.0-SNAPSHOT
clojure-mode 1.10.0
lein 1.6.1
GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600) of 2011-03-10 on 3249CTO
project.clj:
(defproject tetris 1.0.0-SNAPSHOT
:description FIXME: write
:dependencies [[org.clojure/clojure 1.2.1]
I am using maven directly to work with clojure and I had the problem
with the tools.jar, too. I resolved it by adding the following block
to my pom.xml:
profiles
profile
iddefault-tools.jar/id
activation
property
namejava.vendor/name
valueSun
With Lance's help, I've gotten a better understanding of why CDT fails
with Cake. The problem is that Cake makes use of Classlojure,
(https://github.com/ninjudd/classlojure), which allows multiple
versions of clojure to be loaded in the same vm simultaneously. (It's
pretty cool!)
Anyways that
Hi Phil,
On 26 Apr 2011, at 06:22, Phil Hagelberg wrote:
On Apr 25, 12:12 pm, Sam Aaron samaa...@gmail.com wrote:
I'm curious, what are your requirements for native dependencies?
I have never needed them, so I've relied on contributors and external
plugins because I don't know what's
integration of cdt with swank is really nice. Thanks for the great work. I
tried to set break points at multimethods. but I am unable to do so. Can
some body help ?
Thanks,
Sunil.
On Tue, Apr 26, 2011 at 12:21 PM, Sam Aaron samaa...@gmail.com wrote:
Hi Phil,
On 26 Apr 2011, at 06:22, Phil
On Apr 25, 11:51 pm, Sam Aaron samaa...@gmail.com wrote:
I was originally using lein and the native-deps plugin for my projects, but
it's much more cumbersome than cake's approach.
On the periphery it doesn't seem too bad, in your project.clj you need to
include native-deps in your
On 26 Apr 2011, at 17:15, Phil Hagelberg wrote:
On Apr 25, 11:51 pm, Sam Aaron samaa...@gmail.com wrote:
I was originally using lein and the native-deps plugin for my projects, but
it's much more cumbersome than cake's approach.
On the periphery it doesn't seem too bad, in your
Hi George,
On 25 Apr 2011, at 00:14, George Jahad wrote:
Technomancy has been kind enough to merge it into the main swank-
clojure repo, so it will a part of swank-clojure releases going
forward.
It's very exciting that CDT is being merged with swank-clojure - great stuff!
I just tried the
I get the same thing with just plain leiningen. It's not cake.
On Apr 25, 2011, at 5:22 AM, Sam Aaron wrote:
Hi George,
On 25 Apr 2011, at 00:14, George Jahad wrote:
Technomancy has been kind enough to merge it into the main swank-
clojure repo, so it will a part of swank-clojure releases
strange. haven't seen that one before.
can you and jeff send me your project.clj file, and a directory
listing of your lib and lib/dev directories?
also what operating system/version/java vm are you using?
i'll have to set up a place for bug reports. haven't done so yet.
On Apr 25, 2:22 am,
Hi George,
I'm a bit further forward than I was before :-)
On 25 Apr 2011, at 15:41, George Jahad wrote:
strange. haven't seen that one before.
can you and jeff send me your project.clj file, and a directory
listing of your lib and lib/dev directories?
also what operating
On Apr 25, 8:38 am, Sam Aaron samaa...@gmail.com wrote:
user (use 'swank.cdt)
warning: unabled to add tools.jar to classpath. This may cause CDT
initialization to fail.
Clearing CDT event requests and continuing.
Swank CDT release 1.4.0a started
Notice how this time I'm getting the CDT
My problem was that I was including incanter, which depends on swank-clojure
1.3.0-snapshot, which was conflicting with 1.4.
I deleted the swank-clojure 1.3 jar from 'lib' and it worked.
On Apr 25, 2011, at 10:41 AM, George Jahad wrote:
strange. haven't seen that one before.
can you and
Hi George,
On 25 Apr 2011, at 17:35, George Jahad wrote:
Can you set breakpoints and catch exceptions per the test drive in
the doc?
Sort of. I'm not sure if I'm just doing the wrong things, but when execute
(difference #{1 2} #{2 3})
after setting:
(set-bp clojure.set/difference)
I
It looks like you've got things pretty well figured out. If you're curious
about the general case, #cake.clj on freenode may be of some help.
On Apr 25, 2011, at 12:12 PM, Sam Aaron samaa...@gmail.com wrote:
Hi George,
On 25 Apr 2011, at 17:35, George Jahad wrote:
Can you set
On Apr 25, 7:26 am, Jeff Palmucci jpalmu...@gmail.com wrote:
I get the same thing with just plain leiningen. It's not cake.
I get this with Leiningen when using a JRE rather than a JDK. You need
to be sure lib/tools.jar exists inside your Java home.
-Phil
--
You received this message because
When I press e the mini buffer prompts me to Eval in frame: and I
propmpty type s1 to see the following error in the minibuffer:
Unexpected exception generated: java.lang.IllegalArgumentException:
Invalid method This stuff is all new to me, so I'm likely to be
doing something silly.
I doubt
Hi Phil,
On 25 Apr 2011, at 19:21, Phil Hagelberg wrote:
On Apr 25, 7:26 am, Jeff Palmucci jpalmu...@gmail.com wrote:
I get the same thing with just plain leiningen. It's not cake.
I get this with Leiningen when using a JRE rather than a JDK. You need
to be sure lib/tools.jar exists inside
On 25 Apr 2011, at 19:34, George Jahad wrote:
When I press e the mini buffer prompts me to Eval in frame: and I
propmpty type s1 to see the following error in the minibuffer:
Unexpected exception generated: java.lang.IllegalArgumentException:
Invalid method This stuff is all new to me, so
Hey guys-
I spent some time trying to get this working today. My experiences
mirror Sam's. I'm on a mac, running the jdk that ships with xcode4.
According to
http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html
, tools.jar does
not using openjdk. and the tools.jar issue is probably a red
herring. i'll try installing cake and see if i can notice anything.
definitely want to keep cake users happy!
On Apr 25, 8:33 pm, lance bradley lancebrad...@gmail.com wrote:
Hey guys-
I spent some time trying to get this working
I'll keep at it too. Make sure you do a manual checkout and use the
develop branch. I suspected this would be the fix, but I was wrong- it
could still be necessary though:
https://github.com/ninjudd/cake/commit/8d70cb88fd83e6aec17a0dac05e97f5473380e92
On Apr 25, 9:30 pm, George Jahad
On Apr 25, 12:12 pm, Sam Aaron samaa...@gmail.com wrote:
I like lein, but cake has better native dependency support which I find
extremely useful for my projects.
I'm curious, what are your requirements for native dependencies?
I have never needed them, so I've relied on contributors and
Swank-cdt is a port of slime/swank-clojure to use the CDT as a
debugger backend.
With swank-cdt, you can step, set breakpoints, catch exceptions, and
eval clojure expressions, in the context of the current stack frame,
from within the sldb buffer.
Install by adding a few lines to your
Fantastic news. This greatly simplifies the setup process.
Thanks George,
Dw
Sent via mobile
On Apr 24, 2011, at 6:14 PM, George Jahad cloj...@blackbirdsystems.net wrote:
Swank-cdt is a port of slime/swank-clojure to use the CDT as a
debugger backend.
With swank-cdt, you can step, set
41 matches
Mail list logo