source: trunk/scripts/_Events.groovy @ 1935

Last change on this file since 1935 was 1935, checked in by t.w.abma@…, 8 years ago
  • fix for addToWriters()-method failing, seems that when the default.properties containing the configured users cannot be read, the addToWriters()-method tries to add "null" users, which fails. Added Event-script which moves the default.properties to the correct classpath. Seems to work here...
  • Property svn:keywords set to Author Date LastChangedBy Revision
File size: 546 bytes
Line 
1/**
2 * Event script
3 *
4 * This script will be run when starting the application and allows you to attach specifiek events
5 *
6 * @author  t.w.abma@umcutrecht.nl (Tjeerd Abma)
7 * @since       20110622
8 * @package
9 *
10 * Revision information:
11 * @version $Rev: 1935 $
12 * @author $Author: t.w.abma@umcutrecht.nl $
13 * @date $Date: 2011-06-22 09:12:44 +0000 (wo, 22 jun 2011) $
14*/
15
16eventCompileEnd = {
17
18   ant.echo (message: "Moving default configuration file (default.properties) ..." )
19   ant.copy(file:"${basedir}/grails-app/conf/default.properties", todir:classesDirPath)
20   ant.echo (message: "Default configuration file moved.")
21}
Note: See TracBrowser for help on using the repository browser.