[
http://jira.codehaus.org/browse/MSQL-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232701#action_232701
]
Robert Scholte commented on MSQL-61:
------------------------------------
I'm not yet really convinced. I'd say for such a special case use multiple
execution blocks.
> Add support for filename ordering (as opposed to absolute file path ordering)
> -----------------------------------------------------------------------------
>
> Key: MSQL-61
> URL: http://jira.codehaus.org/browse/MSQL-61
> Project: Maven 2.x SQL Plugin
> Issue Type: New Feature
> Affects Versions: 1.4
> Reporter: Jake
> Priority: Minor
> Attachments: filename-ordering.diff
>
>
> Currently, the orderFile behavior allows for the sorting of a transaction's
> files, but it does so using the absolute path (or more accurately the results
> of toString from File).
> We are using the sql plugin, in conjunction with the maven dependency plugin,
> to execute all sql scripts from our dependent projects, but needed a way to
> order them beyond the absolute path name. For example, we might have:
> {noformat}
> /tmp/dep-A/sql/05-foo.sql
> /tmp/dep-Z/sql/01-bar.sql
> {noformat}
> We want to ensure that 01-bar.sql is executed first, however due to the name
> of the dependent project (dep-Z vs dep-A), 05-foo.sql would be executed first.
> We've added support for this based on 1.4, and attached a diff.
--
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