Autobase logging in 0.7 and '.svn' directories in 0.8.x

8 views
Skip to first unread message

mbjarland

unread,
Feb 24, 2009, 6:51:30 AM2/24/09
to Autobase
Hi Robert,

First of all thank you for a grails plugin that perfectly fills a gap
in the app stack for a number of our projects. The ability to mix
groovy logic with database operations while keeping track of executed
changes really enables us to go crazy with database refactorings
between versions (and for those wondering: yes, that is a good thing)

I have two questions regarding autobase:

1. We're running grails 1.0.4 and are thus currently restricted to
autobase 0.7. When I start our app in 0.7, autobase writes out about
seventy lines of logging. This happens even if the migration in
question has already been run. I've tried to set log4j such as:

sun {
reflect="error"
}
liquibase="error"

but am still getting a boatload of logging. I'm pasting an example at
the bottom of this email. It would be nice if there was a way to tell
autobase to not do any messaging if it's not actually executing
anything. Worth mentioning here is that I have about 30 migrations and
all of them have preconditions.

2. As the above issue was getting to me, I tried upgrading to grails
1.1 and autobase 0.8.x. I installed the autobase plugin from the
plugin repo with an "grails install-plugin autobase" without versions.
This resulted in errors when the plugin was trying to read migration
files from the '.svn' subversion tracking directories under my
migrations directory. There is a bug report marked as fixed here
http://jira.codehaus.org/browse/GRAILSPLUGINS-673, but as far as I can
understand the error still exists in the plugin you get by just
running install-plugin in grails.

Any help on either of the above much appreciated.

Best,
Matias Bjarland

------------ sample of log output in 0.7 ---------------

20090224-12:22:01,421 INFO GrailsWebApplicationContext: Bean factory
for application context
[org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1af45f4]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@1c9de24
Feb 24, 2009 12:22:04 PM liquibase.database.template.JdbcTemplate
comment
INFO: Lock Database
Feb 24, 2009 12:22:04 PM liquibase.lock.LockHandler acquireLock
INFO: Successfully acquired change log lock
Feb 24, 2009 12:22:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including directory file://Y:/svn/mrgrails/trunk/migrations/Mbjarland
Feb 24, 2009 12:22:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_account_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_account_view_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_content_location_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_content_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_distro_file_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_email_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_folder_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_folder_state_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_format_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_group_member_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_group_permission_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_http_download_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_http_download_range_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_market_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_search_account_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_search_content_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_search_email_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_search_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_show_type_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_task_log_Migration.groovy
Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_task_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_task_user_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_transfer_log_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_upload_id_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_user_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_zip_file_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm_zip_state_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/020_AddAndMigrateStatusColumnOn_mm_folder_Migration.groovy
Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
INFO: Including file
file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/030_AddLeftAndRightColumnTo_mm_folder_Migration.groovy
Feb 24, 2009 12:22:06 PM liquibase.database.AbstractDatabase
getRanChangeSetList
INFO: Reading from `DATABASECHANGELOG`
Feb 24, 2009 12:22:06 PM liquibase.database.template.JdbcTemplate
comment
INFO: Release Database Lock
Feb 24, 2009 12:22:06 PM liquibase.lock.LockHandler releaseLock
INFO: Successfully released change log lock





Robert Fischer

unread,
Feb 24, 2009, 9:37:39 AM2/24/09
to grails-...@googlegroups.com
Which version are you getting from grails install-plugin autobase? Check the file
"AutobaseGrailsPlugin.groovy" in the root of the plugin.

~~ Robert.
--
~~ Robert Fischer.
Grails Training http://GroovyMag.com/training
Smokejumper Consulting http://SmokejumperIT.com
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

mbjarland

unread,
Feb 25, 2009, 4:31:55 AM2/25/09
to Autobase
Autobase version 0.8.2.1.

I uploaded a console log of my entire upgrade process. This project is
initially under grails 1.0.4 and the log shows a) running 'grails
upgrade' to upgrade the project b) running 'grails install-plugin
autobase' to install the autobase plugin and c) executing 'grails run-
app' which results in the .svn directory issue.

Log can be found here:
http://grails-autobase.googlegroups.com/web/ConsoleLog_AutobaseSvnDirectoryIssue.txt?gsc=3_i75hYAAADtcYKwU2KCntTc3za5z00cOkh0iBmraMEV23BitRBh_w

Best,
Matias


On Feb 24, 3:37 pm, Robert Fischer <robert.fisc...@smokejumperit.com>
wrote:
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _content_location_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _content_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _distro_file_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _email_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _folder_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _folder_state_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _format_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _group_member_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _group_permission_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _http_download_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _http_download_range_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _market_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.NativeMethodAccessorImpl invoke0
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _search_account_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _search_content_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _search_email_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _search_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _show_type_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _task_log_Migration.groovy
> > Feb 24, 2009 12:22:05 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _task_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _task_user_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _transfer_log_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _upload_id_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _user_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _zip_file_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/010_AddVersionColumnTo_mm _zip_state_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/020_AddAndMigrateStatusCo lumnOn_mm_folder_Migration.groovy
> > Feb 24, 2009 12:22:06 PM sun.reflect.GeneratedMethodAccessor585 invoke
> > INFO: Including file
> > file://Y:/svn/mrgrails/trunk/migrations/Mbjarland/030_AddLeftAndRightColumn To_mm_folder_Migration.groovy
> > Feb 24, 2009 12:22:06 PM liquibase.database.AbstractDatabase
> > getRanChangeSetList
> > INFO: Reading from `DATABASECHANGELOG`
> > Feb 24, 2009 12:22:06 PM liquibase.database.template.JdbcTemplate
> > comment
> > INFO: Release Database Lock
> > Feb 24, 2009 12:22:06 PM liquibase.lock.LockHandler releaseLock
> > INFO: Successfully released change log lock
>
> --
> ~~ Robert Fischer.
> Grails Training        http://GroovyMag.com/training
> Smokejumper Consultinghttp://SmokejumperIT.com
> Enfranchised Mind Bloghttp://EnfranchisedMind.com/blog

mbjarland

unread,
Mar 7, 2009, 1:37:02 PM3/7/09
to Autobase
Any updates on the .svn directory issue? I can consistently reproduce
the issue with the following environment:

Sun JDK 1.6.0_12
app.grails.version=1.1-RC2
plugins.autobase=0.8.2.1
plugins.hibernate=1.1-RC2
Windows

I've created an isolated sample app to get insight into this by
doing:

grails create-app AutobaseProblems
cd AutobaseProblems
grails install-plugin autobase
grails create-groovy-migration problem

after the last line the "grails run-app" command starts throwing
exceptions as the plugin is now trying to include the .scripts
directory or the groovy file in it directly:

...snip...
Caused by: liquibase.exception.ChangeLogParseException: Groovy
includeAll at ./migrations failed
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:111)
at Script1$_run_closure1.doCall(Script1.groovy:3)
at Script1$_run_closure1.doCall(Script1.groovy)
at liquibase.parser.groovy.GroovyChangeLogParser
$_parse_closure1.doCall(GroovyChangeLogParser.groovy:41)
at Script1.run(Script1.groovy:2)
at liquibase.parser.groovy.GroovyChangeLogParser.parse
(GroovyChangeLogParser.groovy:37)
... 28 more
Caused by: liquibase.exception.ChangeLogParseException: Groovy
includeAll at /temp/AutobaseProblems/migrations/Mbjarland failed
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:111)
at liquibase.parser.groovy.GroovyDatabaseChangeLog
$_includeAll_closure1.doCall(GroovyDatabaseChangeLog.groovy:107)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:97)
... 33 more
Caused by: liquibase.exception.ChangeLogParseException: Groovy
includeAll at /temp/AutobaseProblems/migrations/Mbjarland/.scripts
failed
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:111)
at liquibase.parser.groovy.GroovyDatabaseChangeLog
$_includeAll_closure1.doCall(GroovyDatabaseChangeLog.groovy:107)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:97)
... 35 more
Caused by: java.net.UnknownHostException: Y
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.URL.openStream(URL.java:1009)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.include
(GroovyDatabaseChangeLog.groovy:119)
at liquibase.parser.groovy.GroovyDatabaseChangeLog
$_includeAll_closure1.doCall(GroovyDatabaseChangeLog.groovy:101)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.includeAll
(GroovyDatabaseChangeLog.groovy:97)
...snip...

So to work around this issue, I edited the changelog.groovy file and
changed the includeAll line (which breaks since it's trying to include
directories which begin with periods) to a specific include of the
'problemMigration' file. This gets rid of the first error but now
unfortunately throws a different one:

Caused by: liquibase.exception.ChangeLogParseException: Groovy include
file at ./migrations/MBjarland/ProblemMigration.groovy failed
at liquibase.parser.groovy.GroovyDatabaseChangeLog.include
(GroovyDatabaseChangeLog.groovy:135)
at Script1$_run_closure1.doCall(Script1.groovy:3)
at Script1$_run_closure1.doCall(Script1.groovy)
at liquibase.parser.groovy.GroovyChangeLogParser
$_parse_closure1.doCall(GroovyChangeLogParser.groovy:41)
at Script1.run(Script1.groovy:2)
at liquibase.parser.groovy.GroovyChangeLogParser.parse
(GroovyChangeLogParser.groovy:37)
... 28 more
Caused by: liquibase.exception.ChangeLogParseException: Unknown error
while executing file at ./migrations/changelog.groovy/AutobaseProblems-
autobase
at liquibase.parser.groovy.GroovyDatabaseChangeLog.include
(GroovyDatabaseChangeLog.groovy:151)
at liquibase.parser.groovy.GroovyDatabaseChangeLog
$include.callCurrent(Unknown Source)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.include
(GroovyDatabaseChangeLog.groovy:133)
... 33 more
Caused by: java.lang.RuntimeException: Unknown tag: groovyScript
at liquibase.change.ChangeFactory.create(ChangeFactory.java:
88)
at liquibase.parser.groovy.GroovyChangeSet.methodMissing
(GroovyChangeSet.groovy:104)
at liquibase.parser.groovy.GroovyChangeSet.invokeMethod
(GroovyChangeSet.groovy)
at Script1$_run_closure1_closure2.doCall(Script1.groovy:4)
at Script1$_run_closure1_closure2.doCall(Script1.groovy)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.changeSet
(GroovyDatabaseChangeLog.groovy:78)
at liquibase.parser.groovy.GroovyDatabaseChangeLog
$changeSet.callCurrent(Unknown Source)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.changeSet
(GroovyDatabaseChangeLog.groovy)
at Script1$_run_closure1.doCall(Script1.groovy:3)
at liquibase.parser.groovy.GroovyDatabaseChangeLog.include
(GroovyDatabaseChangeLog.groovy:147)
... 35 more

I.e. it seems that autobase is no longer recognizing the
'groovyScript' call. The ability to mix groovy code with database
domain operations is in my mind is what makes autobase so extremely
powerful and not having access to the 'groovyScript' function is
really a showstopper for me.

The sample project can be downloaded as a zip here:

http://grails-autobase.googlegroups.com/web/AutobaseProblems.zip?gda=SbfZA0YAAABlVZxlU-ktL04H0mq8QgFbmgcQ0OR9wLj7TrHwi38IAdNhSq3Rw0ittPdZcdHT0zNJ7bz9tedoI9cRbqyUDqyTE-Ea7GxYMt0t6nY0uV5FIQ

Robert, I'm going to try to take a look at the code and potentially
see if I can contribute. Any chance you might have some document or
general pointers somewhere that could help me getting started?

Best,
Matias






On Feb 25, 10:31 am, mbjarland <mbjarl...@gmail.com> wrote:
> Autobase version 0.8.2.1.
>
> I uploaded a console log of my entire upgrade process. This project is
> initially under grails 1.0.4 and the log shows a) running 'grails
> upgrade' to upgrade the project b) running 'grails install-plugin
> autobase' to install the autobase plugin and c) executing 'grails run-
> app' which results in the .svn directory issue.
>
> Log can be found here:http://grails-autobase.googlegroups.com/web/ConsoleLog_AutobaseSvnDir...
> > Smokejumper Consultinghttp://SmokejumperIT.com...
>
> read more »

Robert Fischer

unread,
Mar 7, 2009, 5:45:01 PM3/7/09
to grails-...@googlegroups.com
Thanks for reminding me. I'll tackle that tonight.

~~ Robert.
Smokejumper Consulting http://SmokejumperIT.com
Enfranchised Mind Blog http://EnfranchisedMind.com/blog
Reply all
Reply to author
Forward
0 new messages