Can't install a Grails plugin - plugins

I'm trying to install the ws-client plugin for grails. When I run grails install-plugin ws-client, however, it gets to
Resolving plugin ws-client. Please wait...
and then it just appears to complete with no further information. I've tried deleting the plugin in the application.properties file (it is appearing there) but it doesn't help.
I know the plugin wasn't successfully installed either because I get an error when trying to import the ws-client.
Unable to resolve class groovyx.net.ws.WSClient
Does anyone know why it's not properly installing?
Thanks!
Update: When I run grails list-plugins -installed ws-client DOES show up, so perhaps it is being installed? But if so, why would the import statement be throwing the resolve error?
Update: It was definitely a problem with the installation. I don't know what the problem was, but I have managed to work around it. Posting an answer with the process.
Well I can't post an answer to myself because I need 100 Rep to answer myself in under 8 hours, and I of course only have 99... :)
The answer wound up being to right click "plugins" under the project in STS' Project Explorer window and manually locating the ws-client plugin and marking for installation. I'll post this as an actual answer in 5 hours.

So for some reason using the
grails install-plugin ws-client
command wasn't working correctly. I ran it from both the command line and STS's built in terminal. Both gave me the problem of it not completing installation, but not giving an error either.
Anyway, I finally managed to get the plugin installed by right clicking on "plugins" under my project in the STS Project Explorer window. From there you can open "Grails Plugin Manager" and search for ws-client. I selected it for installation and it wound up installing without a hitch.
Still don't know why I couldn't do it from regular command line, but this method worked and got it installed, so hopefully it helps someone else out in the future!

Another way that did work for me (I'm using STS) is to run grails install-plugin ws-client by accessing grails command-line through Ctrl+Alt+Shift+G (Cmd+Alt+Shift+G on Mac)
Also it helps to just "Refresh" the project after installing the plugin and rebuilding it (if you're Automatic Built is turned off)

Related

Unable to install PMD in Spring tool suite

I am unable to install PMD plug-in for STS (build on top of Luna).
Could someone please give the steps to do it?
Try this http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ and install for Eclipse 4.
I'm the developer of eclipse-pmd, one of the two PMD plugins you mentioned in your question. If your installing the plugin through the Eclipse Marketplace then you're doing everything right. Once the installation is finished the getting started guide will help you with setting up eclipse-pmd.
You are, however, not the first who has a problem getting eclipse-pmd 1.4 to work with the Spring Tool Suite. Unfortunately we have not yet found the cause of the problem and are still looking for a solution. If you'd like to help or would like to follow the issue's progress then head over to the eclipse-pmd issue tracker at Github.
Update: the issue has been fixed and it had nothing to do with STS.
If your problem is something different then I need more information on what exactly does not work, e.g. does the installation give you an error message or doesthe installation work and you get an error message when running PMD?
Please follow below steps to install PMD in STS.
Download PMD from https://sourceforge.net/projects/pmd-eclipse/files/ & Extract it.
Copy net.sourceforge.pmd.eclipse_1.8.0 folder into ..\sts-bundle\sts-3.9.6.RELEASE\plugins\
then Install eclipse PMD from Eclipse Market Place you will find in Help this option.
Restart your STS.

Eclipse plugin does not work on some computer

I've made an eclipse plugin but for some reason it does not seem to work on some computer. By not work I mean that eclipse says that the plugin is installed but none of the menu contributions show up.
Since the computer is not mine what would be the best way to figure out why does it not work?
Is there any app that could give me a log of some kind?
Simar
Installed means the plugin has been found, but there are some dependencies unsolved that prevents it from launching. You want it to be resolved or active
Look at Dude, where's my bundle for more information on plugins and their different states. Install the Eclipse plugin development functionality to get plugin registry view, then you can diagnose your plugin. Or follow my advice here and use the osgi console to diagnose it.
The error or workspace log could also give some information regarding why the plugin wont start.

Pydev missing after upgrading Eclipse on FreeBSD

I recently updated my ports on my FreeBSD 9.0 release machine and I think eclipse was upgraded due to a port upstream forced Eclipse to be rebuilt. Now Pydev is gone. I tried uninstalling then reinstalling Eclipse, then installing Pydev using pydev.org/updates inside Eclipse. It appears to install ok but I can't create a Pydev project or use the Pydev view. I tried removing my ~/.eclipse folder to force the creation of a new one, and reinstalling Eclipse and Pydev to no avail. What am I doing wrong? I'm running Eclipse Indigo version 3.7.1 build id: R3_7_1
This question was most similar to mine, but the solution didn't work for me. I also tried pointing my install site as: http://update-production-pydev.s3.amazonaws.com/pydev/updates/site.xml per another question on StackOverflow, to no avail.
After some more testing I finally got the newest FreeBSD port to work. I had to launch and install the plugins as root. It didn't work another time I ran it but, this great troubleshooting document helped out. I methodically went through each step one by one, and the logs indicated there was an error on my /usr/local/lib file it was trying to unzip. My user doesn't have write access to that directory but root does. I don't know why it didn't work the last time I ran it as root, perhaps I didn't install the plug-in as root. It works now, so I'm happy. Thanks Fabio, for your input.
I'm not sure how FreeBSD packages things, so, maybe an easy way out would be getting Eclipse from Eclipse.org and installing PyDev on that fresh install (or if you're also doing web stuff, I'd suggest grabbing Aptana Studio 3, which comes with PyDev preinstalled, so, you don't have to worry about configuring it).
See: http://pydev.org/download.html for details

eclipse plugins not visible

I have recently installed gwt-plugin to my eclipse. But plugins are are not visible, even if I try to install it again, eclipse is not allowing me to install, saying its already installed.I even I ran eclipse as administrator(I am using it in windows 7) and also with clean option, nothing worked out.
And one more thing, After GWT installation, it gave two options - 'Restart' and 'Apply changes'.I have chosen 'Restart'. (Does it matter?)
Any help is appreciated..
Maybe you installed gwt-plugin correctly, but you are missing one of its dependencies? Take a look at this thread. One of the answers discusses using the OSGI console to locate missing dependencies.

Eclipse failed to response under Fedora 12

i tried fedora12 yesterday, but i find eclipse doesn't work. at first i thought this problem is related to SELinux, but after i turn off selinux, i still can't
create a project, i press the "next" or "finish" button, there is no response. well the "cancel" button works. there is no error popup, or error logs.
i tried eclipse -debug -console; but there is no log output when i click the button. it is so weird, is this happened to anyone before?
environment: fedora12, JDK 1.6.0_17, eclipse Galileo.
computer: t400.
This is a bug due to a change introduced in GTK 2.18, see Bug 291257. The current workaround is to export GDK_NATIVE_WINDOWS=true before to run Eclipse. I actually use the following startup script:
#!/bin/sh
export MOZILLA_FIVE_HOME=/usr/lib/mozilla/
export ECLIPSE_HOME=/opt/IBM/eclipse
export GDK_NATIVE_WINDOWS=true
$ECLIPSE_HOME/eclipse $*
I can't install plugins from update sites, either.
In a blank eclipse install, adding a new update site (es: jboss tools) using the keyboard works; also, it's possible to select a release to install from the available software list.
The new plugin gets installed, but won't appear in perspectives (es: jboss devel) after restart.
After that, adding new update sites and trying to install their releases won't work, the available software list remains empty.
Using Fedora 12 Eclipse 3.5..
By the way, "Fedora Eclipse" rpm is screwed at the moment, it won't install a single file
SOLUTION:
Eclipse 3.6 fix those problems http://download.eclipse.org/eclipse/downloads/
Just add helios update site
There seems to be an incompatability with gtk/gdk shipped with F12. You can tell eclipse to use the native GDK and it should correct these problems:
GDK_NATIVE_WINDOWS=1 ./eclipse
You can also add -DGDK_NATIVE_WINDOWS=1 to your eclipse.ini file. That should help if you switch workspaces.
it's a bug, the keyboard works. try it.