Skip to content

Development environment

Paolo Ciccarese edited this page May 8, 2013 · 1 revision

Libraries

First steps:

  1. Download Grails 2.0.3 (it is an older version of Grails and it can probably be updated, however, newer versions have not been tested)
  2. Download GWT 2.4.0 (it is an older version, newer versions have been tried and there are a few compatibility issues to solve)
  3. Set up GRAILS_HOME and GWT_HOME, I would also put GRAILS_HOME/bin in your PATH

STS IDE

  1. Download STS SpringSource development toolkit (the latest version that have been tested is 2.3.0) and make sure to include the Grails and GWT extensions [1]
  2. Once STS is installed with the extensions, it will be sat up with the newest versions of both Grails and GWT. Through the STS Preferences, it is necessary to make sure Grails 2.0.3 and GWT 2.4.0 are used instead.

Importing the code in STS

Now you should be ready to import the Domeo code. To avoid copying code around with the result of jeopardizing the git data, I normally:

  1. create a new directory (ex: mydomeo)
  2. Clone the Domeo code in it
  3. Run the SETUP.txt scripts that are included in each project
  4. Open that directory (ex:mydomeo) in STS as new workspace
  5. Import DomeoClient by Import > Existing projects into workspace
  6. Import all the other projects by Import > Existing projects into workspace [2]

[1] After the STS development tool is installed, it is necessary to include at least two extensions: Grails support and Google GWT support. These can be searched and installed from the STS Help > Dashboard > Extensions
[2] If you are using a version of STS that is newer than the one that has been used to generate the code, you will be asked to upgrade the STS project info. That should not cause any harm. Please, let us now if it does.

Clone this wiki locally