tunnelvisionlabs / antlrworks2

Tunnel Vision Labs' ANTLRWorks 2 IDE
http://tunnelvisionlabs.com/products/antlrworks
Other
49 stars 21 forks source link

ANTLRWorks2 broken in latest NetBeans version #37

Closed JunielKatarn closed 10 years ago

JunielKatarn commented 10 years ago

Hi. If you download the latest recommended updates from NetBeans (having already installed ANTLRWorks2), the module becomes unusable after restarting the IDE.

It looks like ANTLRWorks expects an OLDER version of the 'Editor Settings' module. Isn't this a trivial fix? I would love to provide a merge request myself, but I can't even build the module due to https://github.com/tunnelvisionlabs/antlrworks2/issues/31

image

sharwell commented 10 years ago

This is due to a change in the update policy for NetBeans 8.0 which is not compatible with many extensions. It may be partially resolved in a future update to 8.0, but a proper solution won't be available until at least NetBeans 8.1. In the meantime, NetBeans 7.4 retained the original update policy allowing ANTLRWorks 2 to function properly within it.

JunielKatarn commented 10 years ago

Noted. However, is ther a way to have the plugin adapt to the new policy? Moreover, do you know any API names, modules, or any references to this policy so I can research further?

sharwell commented 10 years ago

ANTLRWorks 2 has unavoidable "implementation dependencies", which means each release is strictly tied to a particular internal version number of NetBeans. Following the 8.0 release, Oracle released 3 patches that update the internal version number, but not the external version number. ANTLRWorks 2 can only work with at most 1 of these 4 separate versions which are all called "8.0". We chose to tie it to the version of NetBeans 8.0 that you get when you download the installer from netbeans.org.

NetBeans 7.4 did not include these intermediate patch releases, which means the build of ANTLRWorks 2 for NetBeans 7.4 works fine.