Back Forum Reply New

Issue installing Grails in STS

I am trying to install the 'Grails (current production release)' extension in STS 2.3.2.RELEASE

Here is the error I get:Code:
An error occurred while installing the items session context wasprofile=com..sts.ide, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --gt; [R]org.codehaus.grails.bundle 1.3.5, action=com..sts.ide.internal.configurator.touchpoint.ConfiguratorAction). Cannot connect to keystore. This trust engine is read only. Missing parameter 'targetDir'I also tried to install Spring Roo extension and I get the same error.

First, I'd recommend upgrading to STS 2.5.0.RC1.  Instructions on how to update are available here:
rel...structions.pdf

When I try this from 2.5.0, this is working.

However, if you do not want to update right now, then you can

* add the following update site to your install manager (Help -gt; Install New Software) : release...xtensions/e3.5
* Uncheck quot;Group items by categoryquot;
* You should see Roo and Grails (and some other tools).  
* Check either or both and then follow the steps to install.

I updated and this is a great improvement, but I cannot see how to run the grails app against tcServer 6.

I see a 'publish to server' icon, but it is grayed out.

Hi, I have STS 2.3.2 and I've got what seems to be a very similar problem, only the error log says nothing about keystores.

Here's the relevant entries in the eclipse (STS) Error Log:

=============================

session context wasprofile=com..sts.ide, phase=org.eclipse.equinox.internal.provisional.p2.  engine.phases.Install, operand=null --gt; [R]org.codehaus.grails.bundle 1.3.5, action=com..sts.ide.internal.configura  tor.touchpoint.ConfiguratorAction).

Missing parameter 'targetDir'

=============================This happens whether I try to install thru the Dashboard gt; Extensions gt; Install UI, or the standard Eclipse-based update site interface (Help gt; Install New Software).  I checked my quot;Available Software Sitesquot; and release...xtensions/e3.5 is already there (complained of duplicate when I tried to add it).

I installed STS via the installer .sh script and I'm running on 32-bit Ubuntu Linux 10.10.

=============================

session context wasprofile=com..sts.ide, phase=org.eclipse.equinox.internal.provisional.p2. engine.phases.Install, operand=null --gt; [R]org.codehaus.grails.bundle 1.3.5, action=com..sts.ide.internal.configura tor.touchpoint.ConfiguratorAction).

Missing parameter 'targetDir'

=============================

I uploaded to 2.5.0.RC1 just now, and this was solved.

We don't have UI support yet to let you run grails apps on tc-server. I'm actually working on this and hope to get something experimental out soon.

For the time being you will have to manually copy your quot;warquot; file to the tc-server's dropin directory. I.e. use the quot;grails warquot; command to build a war file and then copy this war to the server you want it deployed on. We know this is cumbersome, and we are working on something better.

There is a bit of info / discussion on the development of some deployment UI support here (go vote for it if you think its important :-)

browse/STS-583

Kris

Thanks for the reply. I voted and I really appreciate all the work you have done one this. Great stuff.

With 2.5.1, I get the same error. Tried Help-gt;Install New software, Same error

An error occurred while installing the items session context wasprofile=com..sts.ide, phase=org.eclipse.equinox.internal.provisional.p2.  engine.phases.Install, operand=null --gt; [R]org.codehaus.grails.bundle 1.3.6, action=com..sts.ide.internal.configura  tor.touchpoint.ConfiguratorAction). Missing parameter 'targetDir'
¥
Back Forum Reply New