[ANN] Retrotranslator Integration

First public release of the Retrotranslator Integration plugin.
New releases will be announced under this topic.
If you want to get informed automatically about new versions then please select the "Watch this Topic" option.

18 comments

Just one stupid question:

What is the difference between Retrotranslator and Retroweaver?



Johannes Schneider

Alejandro Gomez wrote:

First public release of the Retrotranslator Integration plugin.
New releases will be announced under this topic.
If you want to get informed automatically about new versions then please select the "Watch this Topic" option.

0

What is the difference between Retrotranslator and Retroweaver?


At least to my knowledge, Retrotranslator can perform a thorough check
against a 1.4 rt.jar, so you are sure, there is no 1.5-only API used.

Tom

0

Tom wrote:
>> What is the difference between Retrotranslator and Retroweaver?


At least to my knowledge, Retrotranslator can perform a thorough check
against a 1.4 rt.jar, so you are sure, there is no 1.5-only API used.


Retroweaver can do the same thing, but as far as I know Retroweaver is
not being developed any more by the original author. Somebody continued
development in a new project Retroweaver-NG, which fixes many bugs, is
faster and has the ability to process jar files. But I don't think
Retroweaver-NG is supported by the IDEA plugin.

Retrotranslator's main distinguishing feature is that it can replace
many calls to jdk1.5 api with it's own versions. For example if you use
String.contains() in your source it can produce a working 1.4 class
file, while Retroweaver(-NG) will fail. It can't process jar files though.

Bas

0

New version available, including:
. one minor bug fixed
. no need to select JDK when not verifying classes

0

Retrotranslator Integration 0.2.0 has been released
This new version supports class reloading while debugging your Java 5 code against a JVM 1.4
You can post me your comments (bugs or features) here or by email to ideaplugins@gmail.com

0

2 exceptions when I open Settings dialog

first one

(SettingsUI.java:151)
	at ar.amgomez.idea.retrotranslator.options.impl.OptionsConfigurable.createComponent(OptionsConfigurable.java:110)
	at com.intellij.openapi.roots.ui.configuration.ModuleLevelConfigurablesEditorProvider$ConfigurableWrapper.createComponent(ModuleLevelConfigurablesEditorProvider.java:11)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.a(ModuleEditor.java:93)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.getPanel(ModuleEditor.java:113)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.a(ModulesConfigurator.java:11)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.selectModule(ModulesConfigurator.java:85)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurable.reset(ModulesConfigurable.java:29)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.b(ExplorerSettingsEditor.java:108)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.a(ExplorerSettingsEditor.java:90)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.a(ExplorerSettingsEditor.java:53)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.init(ExplorerSettingsEditor.java:147)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.(ExplorerSettingsEditor.java:231)
	at com.intellij.ide.actions.ShowSettingsUtilImpl.showExplorerOptions(ShowSettingsUtilImpl.java:9)
	at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$SwitchToClassicViewAction$1.run(ControlPanelSettingsEditor.java:0)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:20)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.NullPointerException
	at ar.amgomez.idea.retrotranslator.options.impl.OptionsConfigurable.isModified(OptionsConfigurable.java:121)
	at com.intellij.openapi.roots.ui.configuration.ModuleLevelConfigurablesEditorProvider$ConfigurableWrapper.isModified(ModuleLevelConfigurablesEditorProvider.java:15)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.isModified(ModuleEditor.java:45)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.isModified(ModulesConfigurator.java:105)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurable.isModified(ModulesConfigurable.java:22)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.b(ExplorerSettingsEditor.java:96)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.access$1800(ExplorerSettingsEditor.java:47)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor$7.run(ExplorerSettingsEditor.java:0)
	at com.intellij.util.Alarm$1.run(Alarm.java:98)
	at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:241)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:20)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
]]>


second one

(SettingsUI.java:151)
	at ar.amgomez.idea.retrotranslator.options.impl.OptionsConfigurable.createComponent(OptionsConfigurable.java:110)
	at com.intellij.openapi.roots.ui.configuration.ModuleLevelConfigurablesEditorProvider$ConfigurableWrapper.createComponent(ModuleLevelConfigurablesEditorProvider.java:11)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.a(ModuleEditor.java:93)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.getPanel(ModuleEditor.java:113)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.a(ModulesConfigurator.java:11)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.selectModule(ModulesConfigurator.java:85)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurable.reset(ModulesConfigurable.java:29)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.b(ExplorerSettingsEditor.java:108)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.a(ExplorerSettingsEditor.java:90)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.a(ExplorerSettingsEditor.java:53)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.init(ExplorerSettingsEditor.java:147)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.(ExplorerSettingsEditor.java:231)
	at com.intellij.ide.actions.ShowSettingsUtilImpl.showExplorerOptions(ShowSettingsUtilImpl.java:9)
	at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:19)
	at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:0)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:9)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:16)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:265)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:201)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:1)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:14)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



java.lang.NullPointerException
	at ar.amgomez.idea.retrotranslator.options.impl.OptionsConfigurable.isModified(OptionsConfigurable.java:121)
	at com.intellij.openapi.roots.ui.configuration.ModuleLevelConfigurablesEditorProvider$ConfigurableWrapper.isModified(ModuleLevelConfigurablesEditorProvider.java:15)
	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.isModified(ModuleEditor.java:45)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurator.isModified(ModulesConfigurator.java:105)
	at com.intellij.openapi.roots.ui.configuration.ModulesConfigurable.isModified(ModulesConfigurable.java:22)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.b(ExplorerSettingsEditor.java:96)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor.access$1800(ExplorerSettingsEditor.java:47)
	at com.intellij.openapi.options.ex.ExplorerSettingsEditor$7.run(ExplorerSettingsEditor.java:0)
	at com.intellij.util.Alarm$1.run(Alarm.java:98)
	at com.intellij.util.Alarm$MyThread$1.run(Alarm.java:241)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:20)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:11)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:132)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:167)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
]]>

0

These exceptions raised in Demetra build 5181 and I cannot open Settings dialog anymore. I must delete Retrotranslator Integration plugin by hand.

0

Hi,
I still couldn't test the plugin with Demetra, but now version 0.2.0 is out I'll assign some time to this task
Thanks for your feedback.
Alejandro Gomez

0

Retrotranslator Integration 0.2.2 has been released
This new version integrates Retrotranslator 1.0.1
Also includes bug fixes

0

Sorry, maybe a stupid question. But how can I use this plugin? Thanks.

0

In module configuration you'll find a tab named "Retrotranslator Integration".
Just check "retrotranslate compiled classes"

0

Retrotranslator Integration 0.2.3 has been released, including:
. integration with Retrotranslator 1.0.2
. bug fixes
It also has been tested with Irida 4171

0

Retrotranslator Integration 0.2.4 has been released, including:
. package-info bug fixed

0

Retrotranslator Integration 0.2.5 has been released, including:
. integration with Retrotranslator 1.0.3

0

Retrotranslator Integration 0.2.6 has been released, including:
. integration with Retrotranslator 1.0.4

0

Retrotranslator Integration 0.2.7 has been released, including:
. integration with Retrotranslator 1.0.5

0

Retrotranslator Integration 0.2.8 has been released, including:
. integration with Retrotranslator 1.0.6

0

Please sign in to leave a comment.