-
Book Overview & Buying
-
Table Of Contents
Grails 1.1 Web Application Development
By :
If you go to the plug-ins page on the Grails site, you will see that there are a few that deal with authentication. You are going to use JSecurity as it is fairly easy to integrate with an existing domain model.
As of release 1.1, Grails plug-ins are installed to your user account directories by default. For example, if I were to install the JSecurity plug-in, it would end up in the following location: /Users/jondickinson/.grails/1.1/projects/teamwork/plugins/jsecurity-0.3.
This default location could cause a number of problems such as:
Other users may not be able to execute the plug-in
If the name of the project is changed, you must remember to dig around in your user directory to change the installation location of the plug-in
To help avoid these problems, Grails provides a useful mechanism to allow plug-ins to be stored anywhere on a developer's file system. You simply have to specify the desired plug-in location in a Groovy script file called BuildConfig.groovy. Create...
Change the font size
Change margin width
Change background colour