Thursday, January 10, 2013

Groovy Project - how to create project from existing source



  • Install Eclipse Groovy Plugin. Follow how to install in this instruction http://groovy.codehaus.org/Eclipse+Plugin

  • Create new Groovy project, unselect default location, point to existing project location. Click next. The wizard will not allow you to select project layout, It will automatically configure the JRE and the project layout based on the existing source. You can change it in next step.

  • On second screen (Build Settings)
  1. Click add project .. to build path if you have source under project root. 
  2. Change Default output folder from bin to target to in line with maven build so target folder can be ignored for checkin.

  • For groovy script, right mouse click and select Run As-> Groovy Script.



No comments:

Post a Comment