Ive got myeclipse ide, and want to install the ui plugin for derby so I can access ij from inside eclipse. The problem is when I drop the ui plugin components into the plugins folder the plugins dont seem to load. Is there anything whacky I need to do to tell myeclipse to load these plugins?
I am following http://db.apache.org/derby/integrate/plugin_howto.html
Myeclipse has 10.5.1.1 of the core plugin already intalled and I am dropping the 1.1.2 versions of the ui plugins in to the plugins folder.
Ok bit of reading revealed in myeclipse you have to put your plugins under a folder called dropins.
As per http://www.genuitec.com/blog/?p=1628#dropins
Related
I am getting below error while installing Findbugs into Netbeans 8.2:
"There were some problems while storing Establishing a connection …
Cause: Cannot resolve external reference to m2:/org:ow2:asm:asm-debug-all:5.0.2:jar"
I have tried uninstalling NetBeans 8.2 and removing anything associated with the installation to get a fresh install with no success there, and I have tried the latest version of NetBeans 11.3 which I found does not have Findbugs available. I need the plugin for a school project and no one there has been able to help me with this issue either. Any help would be greatly appreciated.
I am using a Windows 10 PC.
Thank you.
The reason of the error
The error happens because when you download the plugin, NetBeans also tries to download additional dependencies. The links where to download the jars from are written inside the nbm package.
For example, one of the dependencies is asm-debug-all-5.0.2.jar, and the link is:
http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.2/asm-debug-all-5.0.2.jar.
The maven repository is no longer accessible using the HTTP link. You can read more about it here.
So basically, you could not install the plugin because the plugin is outdated and contains invalid links for downloading dependencies from maven repo.
Before solving the issue, consider using SpotBug instead because the FindBug is outdated and is no longer actively maintained, for more information, please, see here in another answer. Also, keep in mind that it works only with JDK8.
How to solve it?
To solve the issue, you need to fiddle around a bit with plugins.
You need two plugins FindBug Libs (org-netbeans-libs-findbugs.nbm) and FindBug Integration (org-netbeans-modules-findbugs.nbm). Download them using thees links:
https://updates.netbeans.org/netbeans/updates/8.2/uc/final/certified/82/extra/org-netbeans-modules-findbugs.nbm
https://updates.netbeans.org/netbeans/updates/8.2/uc/final/certified/82/extra/org-netbeans-libs-findbugs.nbm
Unzip org-netbeans-libs-findbugs.nbm manually as if it is a simple zip file.
Edit the files in org-netbeans-libs-findbugs\netbeans\modules\ext extracted folder. In every file, you need to change the link from http to https.
Edit manifest file org-netbeans-libs-findbugs\META-INF\MANIFEST.MF. You need to remove all lines that contain CRS checksum. After editing it should contains only these lines:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.2
Created-By: 1.8.0_45-b14 (Oracle Corporation)
Remover other two files in org-netbeans-libs-findbugs\META-INF (ORACLE_C.RSA and ORACLE_C.SF).
Zip it again.
After that, the file is ready for manually installing into Net Beans. Alternatively, you can download the file from here. I have already modified the plugin using the steps.
How to install and use it?
Got to Windows -> Plugins -> Downloaded -> Add Plugins
Manually add the modified org-netbeans-libs-findbugs.nbm file and click install.
Then add org-netbeans-modules-findbugs.nbm and click install.
When installing, it shows that it downloads the plugin, but actually, it downloads only dependencies. It can take some time.
After that, select your project in the project tree, make sure it was compiled before. Got to Source -> Inspect, choose FindBus in the Configuration.
After you click to inspect your report will be ready.
It works both on NetBeans 11.3 and 8.2. Make sure you are using JDK8 with NetBeans. I'm not sure it will work with the newest versions of JDK.
Here is an example with running it on 11.3 using JDK8 on some NetBeans module:
I'm working on a set of plugins for a commercial Eclipse RCP Application "FOO_APPLICATION",
which comes with html javadocs for api plugins and without sources.
I'm using Eclipse 4.5.2 and the target "FOO_APPLICATION" is based on an older version of Eclipse, 3.6
Everything seems fine but I'm experiencing this annoying issue:
If I attach javadocs or sources to plugin dependecies (for eclipse standard plugins I can also attach sources, because I have also the original 3.6 sdk sources jar)
Eclipse does not remember this setup and I have to do this again at every startup. :(
What I'm missing here?
But consider also this point: I'd really like to solve this problem from a wider point of view: since I have many projects (in the same workspace) that share the same dependencies of "FOO_APPLICATION",
is there a way to setup sources or javadocs once and made them available throughout the whole workspace?
If the sources are present in the target platform as individual Source Bundles, the source is automatically displayed.
As far as I know, there's nothing comparable for Javadoc.
I have installed FindBugs plugin version 3.0.1 for Eclipse Mars. I am trying to get the FindSecBugs 1.4.1 plugin to work. I don't have internet access. I have the FindSecBugs jar. I am unsure of where to put the jar file and if anything else needs to be done.
Just put it anywhere on your filesystem, open Window->Preferences->Java->FindBugs->Plugins and misc. Settings and use "Add..." button there:
I am going through The Eclipse Debug Framework tutorial which was presented at Eclipse con 2005 (https://www.eclipsecon.org/2005/tutorials.html). The Zip file (which can be downloaded from the link) contains 7 exercises. For each exercise an initial code base consisting of two plug-ins is provided - example.debug.core and example.debug.ui.
I tried to import these projects as Plugin and fragments but it doesn't work. (These Projects are not shown as Plugin Projects in the Dialog)
So then I decided to import these projects as Java Projects by "File > Import > Existing Project into Workspace" but then I can't seem to convert them to PDE Projects. I tried it by following these instructions here.
I am trying to convert these Projects to Plugin Projects because otherwise I can't seem import plugins to the Java classes in these projects
even though I have already added these plugins as Dependencies..
So any Ideas? I am using Eclipse Modeling Tools (Luna). In tutorial they recommend using Eclipse SDK, version 3.1M5.
'Import > Existing Projects into Workspace' works for me.
For the 'root directory' choose the 'exercise1.1' directory. The two projects should then be listed in the projects list.
But these projects are 10 years old and are using the old style plugin.xml format which is not supported by default by current Eclipse builds. This results in lots of import errors.
Thanks, now it works. This is what I did.
Open plugin.xml file in the editor and Navigate to Overview Tab. There under the section Plugin Content you would find an option to Create an OSGi Bundle Manifest OR if there is no such option then a Message asking you to either write a Manifest.MF file manually or to first install Eclipse 2.0 style plugin support. (Help> Install New Software, use this update site http://download.eclipse.org/eclipse/updates/4.4). You will find 'Eclipse 2.0 Style Plugin Support' in the 'Eclipse Tests, Examples and Extras' section.
checkout this link for more info (Tools for Eclipse 2.0 plugins upgrade)
Once installed old plugins can run and also a Create OSGi Bundle Manifest option will appear under Plugin Content section if it wasn't there earlier...
Once upon a time there is netbeans plugin called "Developer Collaboration" which allows you make remote pair programming.
Now, in Netbeans 6.7, there is no more this "Developer Collaboration" but there something called "Kenai support". Unfortunately Kenai does not seems to have a real time editor and it seems to be usable only for opensource project, but my project is closed source.
I switched back to the Netbeans 6.5 but I discovered that the "Developer Collaboration" plugin is no more available for download through the Plugin Manager (from Tools > Plugins) and I'm not able to find it from the plugin portal
Where can I find the old "Developer Collaboration" plugin? Or which alternative I have?
The user msmart posted this on the NetBeans Forums, explaining how to install the Developer Collaboration plugin on NetBeans 6.7:
For those of you who want to connect to an XMPP server for collaboration but cannot (or do not want to) use Kennai. The old Developer Collaboration plugin still works for 6.7 but you have to download and install the NBM files manually.
Here is how I got it to work:
1. Download the following NBM files from the Netbeans 6.5.1 repository.
com-sun-collablet-moxc.nbm
com-sun-collablet.nbm
org-netbeans-libs-xmlbeans.nbm
org-netbeans-modules-collab-channel-chat-html.nbm
org-netbeans-modules-collab-channel-chat-java.nbm
org-netbeans-modules-collab-channel-chat-text.nbm
org-netbeans-modules-collab-channel-chat-xml.nbm
org-netbeans-modules-collab-channel-chat.nbm
org-netbeans-modules-collab-channel-filesharing.nbm
org-netbeans-modules-collab-channel-output.nbm
org-netbeans-modules-collab-kit.nbm
org-netbeans-modules-collab-provider-im.nbm
org-netbeans-modules-collab-ui.nbm
They are currently located at the
following URL:
http://updates.netbeans.org/netbeans/updates/6.5.1/uc/final/stable/patch4/extra/
Put all these files in the same directory.
Open Netbeans 6.7.
Click Tools->Plugins
Select the "Downloaded" Tab
Click the "Add Plugins" button
Browse to the folder you saved the NBM files in.
Select all 13 files (CTRL A).
Click OK.
Click Install.
Enjoy.
I have tryed on 6.9 and it doesn't work. Editor Library 1.27 is required, 6.9 has 2+