terça-feira, 19 de agosto de 2014

Installing and Configuring Spring-Tool-Suite-3.5.1 with GRAILS Grails 1.3.7

1. Introduction

This post gathers information about install and configure Spring-Tool-Suite-3.5.1 with Grails 1.3.7.

2. Step-by-Step

Step #1. Install binary

+ spring-tool-suite-3.5.1.RELEASE-e3.8.2-win32-x86_64-installer.exe
- Installation path: C:\springsource
PS: Do not use "C:\Program Files\..."
- Select the JDK path: C:\Program Files\Java\jdk1.7.0_60

Step #2. Configure automatic update

+ Spring Tool Suite :: Help >> Check for update
- [X] Spring Tool Suite
- [X] Spring UAA Integration (optional)

Step #3. Configure automatic update

+ Spring Tool Suite :: Help >> Dashboard
+ Extension
- Find "Groovy"
- [X] Groovy-Eclipse: Groovy-Eclipse plugin
- Find "Grails"
- [X] Grails Support: Support for creating Grails project

Step #4. Install Groovy software version 1.8 compatible

+ Spring Tool Suite :: Help >> Install New Software
+ add: http://dist.springsource.org/release/GRECLIPSE/e4.2
- name: Groovy-Eclipse update site 
+ Extra Groovy Compiler
- [X] Groovy Compiler 1.8 Feature
- [X] Groovy Eclipse (Required)

Step #5. Configure Grails for Spring Tool Suite

+ Spring Tool Suite :: Windows >> Preference
- Groovy >> Grails
- [Add...] [Browse] Enter Grails 1.3.7 Installation Path 
                      Name="Grails 1.3.7" 
                      Location="C:\Program Files(x86)\grails-1.3.7"

Step #6. Configure SVN Plugin Extension

+ Spring Tool Suite :: Help >> Dashboard
+ Extension
 - Find "SVN"
   - [X] Subversive: Subversive plugin

Step #7. Configure SVN Repository and Checking out In-Manager project

+ Spring Tool Suite :: Help >> Dashboard
+ Perspective: Others >> SVN Repository Exploring
- New Repository Location: http://aplic.inmetrics.com.br/com.inmetrics.manager
- Select: trunc >> com.inmetrics.inm-manager
- Checkout

Step #8. Switch Groovy Compiler

+ Spring Tool Suite :: Windows >> Preference
- Groovy >> Compiler
- [Switch to 1.8.6] 

Step #9. Install Grails Plugin

+ Spring Tool Suite :: ^ ALT G
grails> install-plugin plugins/grails-acegi-0.5.3.2.zip 

Step #10. Remove conflict JasperReports

+ Windows Command Prompt


C:\> 
  C:\> rm %HOMEPATH%\.grails\1.3.7\projects\com.inmetrics.inm-manager\plugins\jasper-0.9.7\lib\jasperreports-2.0.5.jar

Step #11. Configure Spring-Tool-Suite to avoid war generation conflict

+ Spring Tool Suite :: Windows >> Preference
- Groovy >> Grails >> Grails Launch
- [New...]
     variable=stringchararrayaccessor.disabled
     value=true


3. References


  • n/a


Nenhum comentário:

Postar um comentário