| Author |
Message |
|
|
Post subject: JUnit get <teminated> when run
Posted: Feb 27, 2009 - 07:29 PM
|
|
Joined: Feb 27, 2009
Posts: 7
|
|
Hello,
I could not run JUnit in my Eclipse. I get the <Terminated> without any further error message to trace and would appreciate any responses.
Thanks,
Chris |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 02, 2009 - 06:54 AM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Chris,
Can you check if any messages related to this issue are logged under <workspace>/.metadata/.log file?
Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Could please list the steps you followed so that I can try to replicate this issue at my end. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 02, 2009 - 05:53 PM
|
|
Joined: Feb 27, 2009
Posts: 7
|
|
Good morning Nipun,
Thank you for the quick response. I looked at the .log and find nothing related to JUnit. I also try to run it again and see it records anything but it didn't. Below is the message from MyEcilpse > Installation...
Hope to hear from you again soon. Thanks.
*** Date:
Monday, March 2, 2009 9:42:43 AM PST
** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201
*** Eclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201
Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700
Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800
Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400
Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800
Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 02, 2009 - 06:09 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
| Quote: |
Could please list the steps you followed so that I can try to replicate this issue at my end.
|
|
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 02, 2009 - 06:19 PM
|
|
Joined: Feb 27, 2009
Posts: 7
|
|
Oh I forgot to list the steps, so you could replicate the problem...
Basically, I checked out the project from CVS and there's already a JUnit folders with all the available test cases. I just picked one, right click and run as JUnit Test... then I got the only <Teminated> message. My co-worker has the same installations (JDK, MyEclipse) and configuration like mine and he's able to run it. We spends a good day to compare note but could not come up with anything. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 03, 2009 - 04:27 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Can you get your friend to export his project using File > Export > Archive, and send it to you, and then you import it using File > Import > Existing Project, and see if you can run JUnit. Let me know what result you get. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 03, 2009 - 10:06 PM
|
|
Joined: Feb 27, 2009
Posts: 7
|
|
Hi Nipun,
I did your suggestion of Export and Import the project, but still get the <Teminated> message. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 04, 2009 - 07:55 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
If that's the case, then there is probably a problem with the launch configuration used to run the Ant script OR the Ant configuration. Can you go to Windows > Pref > Ant and hit the "Restore Defaults" button, Now go to Run > External Tool > External Tool Configuration and erase the run configurations for the Ant scripts, and then try and re-run them.
If NONE of that works, compare the Ant preferences with your buddies and even compare the Ant run configurations. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 05, 2009 - 09:55 PM
|
|
Joined: Feb 27, 2009
Posts: 7
|
|
Hi Nipun,
I think you are correct in term of "a problem with the launch configuration..." because I've created a simple HelloWorld project and able to run JUnit there.
I went to Windows > Pref > Ant and hit the "Restore Defaults" button
I could not delete the run configurations because I don't have anything at Run > External Tool > External Tool Configuration
We did a comparation of our Ant preferences but there are not much to compare...
Any other suggestions?
Thanks,
Chris |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: JUnit get <teminated> when run
Posted: Mar 09, 2009 - 08:14 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
Chris,
I have run out of ideas. This is a very strange issue. I'll check with the dev team and let you know if they have any inputs on this. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Too many jar files?
Posted: Apr 09, 2010 - 02:46 PM
|
|

Joined: Jan 29, 2006
Posts: 7
|
|
We are having a similar issue with our team's project.
Two of us can run JUnit within our project and two of us cannot. One of the developers narrowed down a symptom/cause of the problem, but don't know how to correct.
She started removing jars from the project until JUnit started working. When she got to adding them back in, one at a time, everything kept working.
Suddenly, on the addition of the 41st jar file, the JUnit stopped working. It doesn;t matter what the 41st jar file is, JUnit will not work.
I hope you have some ideas on this. We are absolutely baffled. |
|
|
| |
|
|
|
 |
|
|
Post subject: Too many jar files?
Posted: Apr 09, 2010 - 02:47 PM
|
|

Joined: Jan 29, 2006
Posts: 7
|
|
We are having a similar issue with our team's project.
Two of us can run JUnit within our project and two of us cannot. One of the developers narrowed down a symptom/cause of the problem, but don't know how to correct.
She started removing jars from the project until JUnit started working. When she got to adding them back in, one at a time, everything kept working.
Suddenly, on the addition of the 41st jar file, the JUnit stopped working. It doesn;t matter what the 41st jar file is, JUnit will not work.
I hope you have some ideas on this. We are absolutely baffled. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Too many jar files?
Posted: Apr 19, 2010 - 10:47 AM
|
|
Registered Member


Joined: Apr 05, 2010
Posts: 68
|
|
Hi,
I have escalated this to the dev team member, they will get back to you on this.
Thanks,
Chakri. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Too many jar files?
Posted: Apr 19, 2010 - 03:14 PM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2339
|
|
|
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|