jmchamberlain / workspacemechanic

Automatically exported from code.google.com/p/workspacemechanic
0 stars 0 forks source link

Recorder doesn't work with Eclipse 3.7 #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

When you want use the recoder with Eclipse 3.7, you select in WorkspaceMechanic 
menu "Preference Recorder" -> "Start recording"
You can verify in "Preference Recorder" that you can only select now "Stop 
recording".

You open the Preference Window, in "General" you select "Show heap status" and 
in "Editors" you set "Size of recently opened files list" to 15.

You select "OK" in the Preference window and you comme back in "Preference 
Recorder" menu.
You can only select "Start recording" instead "Stop recording".
If you select "Start recording", you have an error in Error Lov view :

eclipse.buildId=I20110613-1736
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.rcp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.rcp.product

Error
Tue Jul 12 16:45:03 CEST 2011
Tried to start recording when already recording

I am using WorkspaceMechanic 0.0.9 with JDK 1.6 and Eclipse 3.7
What is the expected output? What do you see instead?

Thanks for your help!

Original issue reported on code.google.com by guillaum...@free.fr on 12 Jul 2011 at 2:46

GoogleCodeExporter commented 8 years ago
OK. I'm pretty busy for the next three days. Odd that nobody has reported this 
yet. Thanks for the tip.

Original comment by konigsb...@gmail.com on 12 Jul 2011 at 2:57

GoogleCodeExporter commented 8 years ago
I am unable to reproduce this problem with Eclipse 3.7.0 and Mechanic 0.0.9.

Is there anything in the error log that might indicate a problem?

Original comment by tpar...@google.com on 12 Jul 2011 at 5:16

GoogleCodeExporter commented 8 years ago
I have no problems to reproduce it... :-)
and nothing interesting in the logs :
!SESSION 2011-07-13 09:17:15.277 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.java.product

!ENTRY com.google.eclipse.mechanic 2 0 2011-07-13 09:17:20.822
!MESSAGE Directory 'D:\Documents and Settings\ghelle\.eclipse\mechanic' does 
not exist.

!ENTRY com.google.eclipse.mechanic 4 0 2011-07-13 09:19:08.322
!MESSAGE Tried to start recording when already recording

Original comment by guillaum...@free.fr on 13 Jul 2011 at 7:24

Attachments:

GoogleCodeExporter commented 8 years ago
I have not the problem with the version 0.0.8 perhaps it can help you?

Original comment by guillaum...@free.fr on 13 Jul 2011 at 7:28

GoogleCodeExporter commented 8 years ago
I have recreated this. That's step one.

Original comment by konigsb...@gmail.com on 14 Jul 2011 at 7:08

GoogleCodeExporter commented 8 years ago
Suddenly I can't recreate it, but I have a theory. My suspicion is that the 
MechanicStatusControlContribution got recreated, and with the new instance the 
default state was reset.

That's my guess.

If I'm right then the correct solution is to not initialize those widgets with 
the default state, but rather, look at the state of the recorder itself.

Original comment by konigsb...@gmail.com on 14 Jul 2011 at 8:55

GoogleCodeExporter commented 8 years ago
Pretty sure this is fixed. I've published a 0.1.0 release for you to try out. 
Reopen this if it's still a problem.

Original comment by konigsb...@gmail.com on 14 Jul 2011 at 9:32