Hi,

Is there a way to run SQLPLUS directly from build.gradle file.

I created a custom task, and added the following;

        def db = [un : 'system', pw :'password',tns :'//localhost:1521/xe']
        def sqlplus= """sqlplus ${db.un}/${db.pw}@${db.tns}
@script.sql""".execute()
        
        sqlplus.in.eachLine { line -> println line }

this, task gets executed successfully.  But It never quits SQLPLUS and keeps
waiting.  I tried out different things posted in the web, and nothing seems
to work.  Appreciate if some one could provide me a solution to come out of
this.


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/How-can-we-run-SQLPLUS-via-gradle-tp4899147p4899147.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to