What version on Panther?
I'm running OSX 10.3.2 and am trying to use Idea. I'm a paying customer with a licence for 3.0.x.
I have 706 installed. It runs, compiles, & edits, but it will not debug a unit test.
I have 996 installed. It runs, compiles & edits, but it will not recognise JUnit when I try to run/debug a unit test.
I have 1050 installed. It has the same problem as 996.
So, I would like to "Develop with pleasure" and my boss would like me to do some work, but I can't find a working version of Idea.
Can anyone here either explain how to get around the 996/1050 issue, or suggest a version of Idea which works with OSX 10.3.2? I'm getting desperate.
thanks,
donncha
请先登录再写评论。
BTW, Java is installed correctly, so that's not it.
Also, if I download the 1.4.2 developer package it overwrites 1.4.1 which I'm not too happy about.
In article <8982320.1073279433180.JavaMail.itn@is.intellij.net>,
Donncha Redmond <no_mail@jetbrains.com> wrote:
706 and 1050 work fine for me on Mac OS X 10.3.2. I haven't recently
tried debugging a unit test on 706 (though I'm pretty sure I'd notice if
it didn't work). I just tried it on 1050 and it works fine.
If you post more specific information, like what exactly you're trying
to do and what exactly is or isn't happening, maybe someone here will be
able to provide some more help.
Erik
More Details:
In both cases I'm writing/testing a crypto toolkits. Plain ol' Java, no Swing, no J2EE etc.
706: Open project, debug a unit test, all is well. Try to debug it again and it will not stop at the breakpoint, but claims to have finished execution, even though it did not print that the assertion failed. Run the test and the exception prints as expected. I know the assertion fails, so it's not a case of me inadvertently fixing the bug. Idea log says:
2004-01-05 14:54:19,962 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@4eba83,notifier=null,catchExceptions=false,when=1073274858640] on apple.awt.CToolkit@b70de6
For 996/1050:
Same project as above. Compiles, as do my unit tests. JUnit.jar is in project libraries. Try to run a unit test and am told "Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter"
So, why is it ignoring a) the junit.jar I have in my project classpath (which it uses when compiling), and b) the junit.jar which ships with 996/1050?
Any help appreciated,
donncha
In article <15781582.1073339412364.JavaMail.itn@is.intellij.net>,
Donncha Redmond <no_mail@jetbrains.com> wrote:
Maybe there's a conflict between the two junit.jar files? Have you tried
removing JUnit.jar from your project and letting IDEA use its own junit?
Just a wild guess.
Hopefully there's someone else on this list with better guesses than
mine...
--
Erik Hanson
Thanks Eric. That's all the problem was. Keep up your guesses ;)