Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a grails command to regenerate .project files for Eclipse or STS?

Tags:

grails

I've checked out an existing Grails project and I want to import it into STS. However, STS refuses to recognize the source tree as a project, presumably because it can't find a .project file. So is there a 'grails' command that will create new .project (and .classpath and .settings/*) for this source tree?

like image 234
Blue Avatar asked Jun 24 '10 04:06

Blue


People also ask

Does Eclipse support Grails?

The Eclipse IDE has great support for the Grails applications. The update site is Eclipse version dependent, see Groovy/Grails Tool Suite™ Downloads if you use a different release than Eclipse 4.4.

How do you run Grails project in STS?

Then in Eclipse, visit the Windows menu Preferences item, find Groovy item and then Grails in the list, click the Add button on the right side, and finally use the Brows button to browse to where Grails was unpacked. Finishing this action will allow full use of the STS Grails tools!

How to use Grails in Eclipse?

Adding the Grails framework To make the plug-ins work we also need to download the Grails framework. In Eclipse, go to Preferences/Groovy/Grails and Add… Enter Grails in the Name field.


1 Answers

use

grails integrate-with --eclipse

I think this command has been added in Grails 1.2.1.

like image 95
Stefan Armbruster Avatar answered Sep 23 '22 23:09

Stefan Armbruster