Possible string replacement in runtime within SQL script files
--------------------------------------------------------------

                 Key: MSQL-49
                 URL: http://jira.codehaus.org/browse/MSQL-49
             Project: Maven 2.x SQL Plugin
          Issue Type: New Feature
    Affects Versions: 1.3
         Environment: Windows/Linux/any
            Reporter: Grzegorz Blaszczyk
         Attachments: sql-maven-plugin-patched-empik-20100119.zip

I needed some kind of a 'search & replace' mechanism in SQL scripts i.e. for 
GRANT SELECT on ${user1}.TABLE_NAME to ${user2} , where values for ${user1} and 
${user2} are configured in a plugin configuration section in pom.xml of a main 
project. It can be done by scriptProperties field in mojo. It can also be 
filled with these values from maven profiles.

I patched version 1.3 of a sql-maven-plugin (zip with git repository attached). 
If you'll like it, I can also commit these changes to version 1.3 and 1.4 in 
SVN repository when I get permission to do so.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to