[
http://mifosforge.jira.com/browse/MIFOS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63213#action_63213
]
Michael Vorburger commented on MIFOS-4073:
------------------------------------------
This is now becoming an issue for me in the context of MIFOS-4099, and I'll
have a go at it.
If for whatever reason I fail to do this "properly", an alternative & simpler
solution (less nice) that could work for me would be to have e.g.
src/main/db/sql, with src/main/db on the classpath (so the resources would be
at e.g. sql/release-upgrades.txt in the CP). It's just not very nice &
practical to have to have src/main on the CP.
> src\main\sql as normal resource
> -------------------------------
>
> Key: MIFOS-4073
> URL: http://mifosforge.jira.com/browse/MIFOS-4073
> Project: mifos
> Issue Type: Task
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
>
> While working on MIFOS-3925, I stumbled upon application\src\main\sql:
> IMHO, and from a Maven/build point of view, there is no strong reason to
> treat a few *.sql scripts as anything other than some resource files - their
> "special status" (src\main\sql) does not seem justified.
> I propose to avoid application\src\main\sql and special handling, and instead
> simply manage that in application\src\main\resources\sql (as you want them in
> WEB-INF/classes/sql). What would have to be done, may not be comprehensive:
> * mv application\src\main\sql application\src\main\resources (resources/sql)
> * Adapt application\src\main\assembly
> * In application/pom.xml, remove resources/resourece/directory
> ${sql.resources.src.directory} stuff
> * Can now remove the special application/src/main source folder on Eclipse
> build path
> * GREP for "sql" everywhere, to be sure no sql script handling was forgotten?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues