jeanclaybr/rtfcopypaste

Create version for NetBeans 6.9

Opened this issue · 4 comments

Any of the provided downloads can not be installed on NetBeans 6.9. Could you 
build a version for recent NetBeans please?

Original issue reported on code.google.com by michal.g...@gmail.com on 2 Jun 2010 at 11:23

yes please

Original comment by projektas on 22 Jun 2010 at 7:40

Please this plugin is great, could you update it??


Original comment by ticobru...@gmail.com on 9 Aug 2010 at 1:23

Hey, You plan to upgrade the plugin?

Original comment by wilmar.g...@gmail.com on 16 Aug 2010 at 5:16

OK, I am not an expert but I managed to get this plugin built and running under 
Netbeans 6.9.1

When the latest .nbm file from here is attempted to be installed the error 
message indicates that an old version of 'Editor Library' plugin is required 
(version 1.29.xxx required when only version 2.10.2.xxx was found). So I 
checked out latest source from the CVS tree and opened the resulting netbeans 
project in netbeans(6.9.1).

Attempting to build this plugin results in:

Cannot compile against a module: 
/opt/ide/netbeans-6.9.1/ide/modules/org-netbeans-modules-editor-lib.jar because 
of dependency: org.netbeans.modules.editor.lib/1 > 1.29.1.8.2

So going into the ('RTF copy/paste') project Properties -> Libraries -> 'Editor 
Library' -> Edit :

Change 'Major Revision' version to 2 and select 'Implementation Version' 
instead of 'Specification Version'.

Et voila, after doing a clean & build the plugin builds albeit with warnings 
(one of which indicates there may be problems with auto-update which I don't 
think will affect us). From here we can right click on the project and either 
Run (to test it in a seperate 'target' Netbeans instance, or 'Install/Reload in 
development IDE' to install it. Also the 'Create NBM option for creating the 
nbm plugin file for others to use (I would post it somewhere but don't really 
know where and anyway its pretty easy to build it yourslef). The plugin seems 
to work fine for me (with Netbeans 6.9.1, Sun JDK 6u20 64-bit on Ubuntu 10.04 
64-bit).

Hope this helps. BTW, thanks Michal for this useful plugin :-)

Original comment by billycr...@gmail.com on 18 Aug 2010 at 5:52