gunpreet@intelligrape.com http://in.linkedin.com/in/gunpreet89 https://twitter.com/gunpreet_ginny" /> gunpreet@intelligrape.com http://in.linkedin.com/in/gunpreet89 https://twitter.com/gunpreet_ginny" />

Gunpreet

Grails

PostgreSQL with Grails

Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get install...

05-Sep-2012

Grails

Log4j: Creating Different Log Files Every Day

To avoid getting log messages in single log file we can create a new log file every day in just one step. This can be done very easily by using DailyRollingFileAppender instead of RollingFileAppender . We just need to add a new Log4J appenders to our configuration file (Config.groovy). In the following example we create a...

05-Sep-2012

Grails

Using Modules to avoid structures repetition in Geb Test Pages

Using modules in Geb testing can help to avoid repetition of same code/ sections in Geb test pages. In this blog I want to talk about repeating data structures such as tables and how to avoid this repition by modelling them.In Geb testing if there is some content which is used in multiple pages then we can make its definition reusable by...

28-Aug-2012