[ 
http://mifosforge.jira.com/browse/MIFOS-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64328#action_64328
 ] 

Michael Vorburger commented on MIFOS-4073:
------------------------------------------

db/src/main/sql (new) is there - wouldn't it be clearer & more consistent with 
other modules & easier to re-use (because they will get packaged in the JAR 
artefact) if that was moved into e.g. db/src/main/resources/sql?

> src\main\sql as normal resource
> -------------------------------
>
>                 Key: MIFOS-4073
>                 URL: http://mifosforge.jira.com/browse/MIFOS-4073
>             Project: mifos
>          Issue Type: Dev Task
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>         Attachments: 
> 0001-MIFOS-4073-src-main-sql-as-normal-resource-EDITED.patch.gz, 
> 0001-MIFOS-4073-src-main-sql-as-normal-resource.patch, mylyn-context.zip
>
>   Original Estimate: 0 minutes
>          Time Spent: 53 minutes
>  Remaining Estimate: 0 minutes
>
> 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

        

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to