The Grails Web Application Framework
Java Groovy CSS HTML Shell Python
Latest commit cc60cdf Nov 18, 2016 @lhotari lhotari Add dev mode feature for recording models for existing GSP pages
- this feature makes it convenient to migrate to use compile static GSPs
- usage:
  - make sure you commit any changes to vcs (git) before using the
    feature since the feature modifies GSP files directly
  - activate with '-Dgrails.views.gsp.modelrecording=true' system prop
    - can add temporarily to bootRun task's jvmArgs
  - start application
  - access the GSPs by using the application (integration tests etc.)
  - the changes will get written directly to GSP files at shutdown
    - debug info is written to System.err
  - use vcs (git) to compare the changes.
Permalink
Failed to load latest commit information.
buildSrc/src/main/groovy package POM files into GRAILS_HOME/lib Jun 6, 2014
gradle Fix NPE when importing from IntelliJ Nov 17, 2016
grails-async Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-bom Update plugin and profile versions Nov 7, 2016
grails-bootstrap Do not disable banner by default in code. Nov 3, 2016
grails-codecs move failing test Dec 14, 2015
grails-console Use the existing command runner Sep 20, 2016
grails-core use compileOnly instead of provided Nov 17, 2016
grails-databinding Fix tests Sep 23, 2016
grails-dependencies remove filters dependency Jan 24, 2016
grails-docs allow externalization of AsciiDoc engine attributes Sep 28, 2016
grails-encoder Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-gradle-model Profiles - profile repository support / read profiles from Maven repos Oct 3, 2015
grails-gradle-plugin Merge branch '3.1.x' into 3.2.x Oct 28, 2016
grails-gsp Add dev mode feature for recording models for existing GSP pages Nov 18, 2016
grails-logging Update LoggingTransformer AST to use SLF4J Mar 24, 2016
grails-plugin-async Revert recent changes related to #10270 Oct 25, 2016
grails-plugin-codecs Make 'grails-codecs' a runtime dependency to ensure it gets added to … Jan 27, 2016
grails-plugin-controllers Fix code related to making command objects validateble. Fixes #10091 Nov 8, 2016
grails-plugin-converters Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-plugin-databinding Merge branch '3.2.x' into GRAILS-10141 Oct 5, 2016
grails-plugin-datasource Don't initialize the transaction manager until a bean is found that i… Oct 6, 2016
grails-plugin-domain-class Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-plugin-events Exclude unnecessary dependencies to reduce war size Aug 26, 2016
grails-plugin-gsp Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-plugin-i18n Partial fix for #10196 - Remove dependency on groovy-ant for reloadin… Oct 4, 2016
grails-plugin-interceptors Make interceptor handler a Groovy class and remove non-generated fact… Nov 8, 2016
grails-plugin-mimetypes Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-plugin-rest Fix for #10293 Nov 3, 2016
grails-plugin-services Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-plugin-testing Don't apply DomainClassUnitTestMixin if the test extends HibernateSpe… Oct 20, 2016
grails-plugin-url-mappings Cleanup imports on UrlMappingsGrailsPlugin Oct 20, 2016
grails-plugin-validation Fix code related to making command objects validateble. Fixes #10091 Nov 8, 2016
grails-shell fix failing test Nov 8, 2016
grails-spring Merge branch '3.1.x' May 26, 2016
grails-taglib Add type checking extension for CompileStatic GSP Nov 18, 2016
grails-test-suite-base Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-test-suite-persistence Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-test-suite-uber Merge branch '3.1.x' into 3.2.x Oct 17, 2016
grails-test-suite-web Fix tests after making changes to GSP parser / compiler Nov 17, 2016
grails-test Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-validation Merge branch '3.1.x' into 3.2.x Oct 24, 2016
grails-web-boot Add methods to figure out if the app is running standalone packaged a… Aug 26, 2016
grails-web-common Add json api data binding source creator Sep 29, 2016
grails-web-databinding Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-web-fileupload upgrade commons file upload. Fixes #10179 Oct 4, 2016
grails-web-gsp-taglib Make forceEncoding configurable Sep 3, 2015
grails-web-gsp Remove most deprecated methods/classes (#10124) Aug 30, 2016
grails-web-jsp Added README.md files Jul 18, 2015
grails-web-mvc Only return the previous request if it is active. Fixes #10170 Oct 26, 2016
grails-web-sitemesh Merge branch '3.1.x' into 3.2.x Sep 21, 2016
grails-web-taglib Merge branch '3.1.x' into 3.2.x Oct 25, 2016
grails-web-url-mappings Add default constructor for cors filter due to jboss 7 issue Nov 4, 2016
grails-web Deprecate OptimizedAutowireCapableBeanFactory Oct 6, 2016
media vector logos Sep 3, 2014
travis debug broken python script Jul 16, 2016
.gitignore remove references to dsl-support directory May 20, 2014
.springBeans ignoring test temporarily, as due to infrastructure issues it is not … Jun 19, 2012
.travis.yml Back to Java 7 builds Oct 5, 2016
INSTALL ignoring test temporarily, as due to infrastructure issues it is not … Jun 19, 2012
ISSUE_TEMPLATE.md Refer to Stack Overflow or Slack Apr 26, 2016
LICENSE Update ant to 1.9.4 Apr 8, 2015
NOTICE update LICENSE and README Sep 9, 2013
README.md Release Grails 3.1.0.RC2 Jan 21, 2016
build.gradle Revert "Fix IDEA test classpath" Nov 17, 2016
gradle.properties ignoring test temporarily, as due to infrastructure issues it is not … Jun 19, 2012
gradlew Upgrade to Gradle 3.0 Aug 23, 2016
gradlew.bat Upgrade to Gradle 3.0 Aug 23, 2016
pubring.gpg.enc Travis publishing test take 2 Mar 10, 2015
secring.gpg.enc Travis publish take 3 Mar 9, 2015
settings.gradle Remove grails-compat Aug 30, 2016
settings.xml.enc Travis publishing test take 2 Mar 10, 2015
travis-after-failure.sh Merge branch '2.5.x' Nov 28, 2014
travis-build.sh Use 3.2.x docs Sep 19, 2016
trigger-dependent-build.sh Grails 653 (#10070) Jul 27, 2016

README.md

Waffle.IO Board

  • Stories in Acknowledged
  • Stories in Progress

Build Status

  • Build Status

Slack Signup

  • Slack Signup

Grails

Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features.

Grails is sponsored by Object Computing Inc. in St. Louis Missouri. Please contact info@ociweb.com for support inquiries.

Getting Started

You need a Java Development Kit (JDK) installed, but it is not necessary to install Groovy because it's bundled with the Grails distribution.

To install Grails, visit http://grails.org/Download and download the version you would like to use. Set a GRAILS_HOME environment variable to point to the root of the extracted download and add GRAILS_HOME/bin to your executable PATH. Then in a shell, type the following:

grails create-app sampleapp
cd sampleapp
grails run-app

To build Grails, clone this GitHub repository and execute the install Gradle target:

git clone https://github.com/grails/grails-core.git
cd grails-core
./gradlew install

If you encounter out of memory errors when trying to run the install target, try adjusting Gradle build settings. For example:

export GRADLE_OPTS="-Xmx2G -Xms2G -XX:NewSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=1G"

Performing a Release

Releases of Grails are automated by Travis CI.

To create a release perform the following steps.

First check that the tests are passing and all is well on Travis.

Next, update the Grails version in build.gradle and grails-core/src/test/groovy/grails/util/GrailsUtilTests.java and then push the changes to git:

$ git add build.gradle grails-core/src/test/groovy/grails/util/GrailsUtilTests.java
$ git commit -m "Release Grails 3.0.1"
$ git tag v3.0.1
$ git push --tags
$ git push

By tagging the release Travis will perform all the necessary steps to release a new version of Grails, just wait for the build to complete.

The Travis CI build will automatically upload the tagged release to Github and be available on the Releases page.

License

Grails and Groovy are licensed under the terms of the Apache License, Version 2.0.


YourKit is kindly supporting Grails open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.