Hi All
I have a play framework 2.3.x project and using scala ide 4.1 as editor
I normally launch specs2 test from within the ide using the junit runner, but it suddenly stopped working. My test are annotated like
@RunWith(classOf[JUnitRunner])class EmailTrackingControllerSpec extends Specification with ConversionHelper with Mockito with JodaHelper { ...
I now get an error message like
"Launching of junit unexpectedly failed. Check log for details. See error log for details"
(See screen dump below)
This happens when I either use shift + alt + t, d to launch or by following the right click menu "debug as -> scala junit test"
If I manually configure the test by choosing the right runner in "debug as -> Debug configurations" the test runs. When using "scala junit 4" as runner everything is as expected
So the problem seems to be that the wrong runner is choosen as default. I can't figure out how to change the default runner and it is quite tedious for me that I can't use the shortcuts for starting a test. Any suggestions to how this problem can be fixed
ThanksNiels
--
BinaryConstructors ApS
Vestergade 10a, 4th
1456 Kbh K
Denmark
phone: +4529722259
web: http://www.binaryconstructors.dk
mail: n...@binaryconstructors.dk
skype: nielsboldt
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CAE%2BOdFYHAFagUTpQyY%2By1ZBeYecKtXLMuhz3kasm0265jzwOkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
So, it did break after you updated to the 4.1 version of the IDE?Hi All
I have a play framework 2.3.x project and using scala ide 4.1 as editor
There is a stack trace shown in the log, but that seems unrelated. What is that one about, can you show the full stack trace?
I normally launch specs2 test from within the ide using the junit runner, but it suddenly stopped working. My test are annotated like
@RunWith(classOf[JUnitRunner])class EmailTrackingControllerSpec extends Specification with ConversionHelper with Mockito with JodaHelper { ...
I now get an error message like
"Launching of junit unexpectedly failed. Check log for details. See error log for details"
Also, is there nothing shown in the error log view (Window > Show View > Other > Error Log)?
--
(See screen dump below)
This happens when I either use shift + alt + t, d to launch or by following the right click menu "debug as -> scala junit test"
If I manually configure the test by choosing the right runner in "debug as -> Debug configurations" the test runs. When using "scala junit 4" as runner everything is as expected
So the problem seems to be that the wrong runner is choosen as default. I can't figure out how to change the default runner and it is quite tedious for me that I can't use the shortcuts for starting a test. Any suggestions to how this problem can be fixed
ThanksNiels
--
BinaryConstructors ApS
Vestergade 10a, 4th
1456 Kbh K
Denmark
phone: +4529722259
web: http://www.binaryconstructors.dk
mail: n...@binaryconstructors.dk
skype: nielsboldt
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/CAE%2BOdFYHAFagUTpQyY%2By1ZBeYecKtXLMuhz3kasm0265jzwOkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/55ACBE9C.4090306%40antoras.de.
For more options, visit https://groups.google.com/d/optout.
Did you run Java JUnit test or Scala JUnit test? Does it make a difference it you choose one or the other?
I found this error in the above mentioned log
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/55AD7EA0.2010806%40antoras.de.
let me check it as well. Btw if you could check your settings in:Window -> Preferencies -> Run/Debug -> Launching -> Default Launchers - now select Junit [Debug] in right pane then you should see on right most next pane 'Preferred Launcher' with two launchers to choose: Eclipse JUnit Launcher and Scala JUnit (new debugger) Launcher
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/c9288262-49c1-4394-a716-8d59047c3459%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/3c4fc4bb-a406-43d4-91fe-690925814102%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/9a92a7ab-327b-4a20-8c89-a6cf228203d1%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Scala IDE User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/106497df-fa6a-40df-97cc-db98fc798e8c%40googlegroups.com.
Just to be sure. Did you removed previous configuration of this test from 'Debug configuration'? I mean when you run a test it creates its configuration so it needs to be removed if exists.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-user/fe4e748b-59ad-4291-a48a-2f577e8235fc%40googlegroups.com.