A new topic, 'Grails allow the plugin to reference the JNDI connection 
details', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=802.new#new

The text of the topic is shown below:

I have just found this plugin when searching for a way to do the rails style 
migrations in grails. This plugin sounds very promising however, I am not able 
to connect to any of my jndi datasources because the code is looking for fully 
qualified db connections. I could add this info to the datasources but then i 
will be exposing password information to the app. I was hoping that someone has 
a method for referencing either a local source for the connection information 
outside of the app of using the jndi references? I also noticed when running 
the app for the first time it was failing to find the Init.groovy file because 
of the reference to env.GRAILS_HOME which just returned null. I updated this 
with grailsScript("Init") etc and that seemed to solve that problem but just 
stopped me on the jndi one ;) .I suppose another thing i could ask is... can i 
run a more recent version ie "beta" that will solve a lot of these problems and 
where would i get/install that from? Atm i am running the version from grails 
plugins:

Code:
liquibase           1.9.3.5          --  LiquiBase Database Refactoring for 
Grails


Any help would be appreciated because I am about to do some massive refactoring 
on my app and would like a way to manage the changes. 

Code:
grailsHome = Ant.antProject.properties."env.GRAILS_HOME"

includeTargets << grailsScript("Init") 
includeTargets << grailsScript("Package") 
includeTargets << grailsScript("Bootstrap") 

/*includeTargets << new File ( "${grailsHome}/scripts/Init.groovy" )
includeTargets << new File ( "${grailsHome}/scripts/Package.groovy" )
includeTargets << new File ( "${grailsHome}/scripts/Bootstrap.groovy" )
*/

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to