[
https://jira.duraspace.org/browse/DS-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25446#comment-25446
]
Steve Swinsburg commented on DS-1208:
-------------------------------------
See also 'Step 2 : Configure filters' of the uPortal install guide:
https://wiki.jasig.org/pages/viewpage.action?pageId=42696767
This is the approach I am proposing.
> Build time filtering to allow multi developer/environment builds
> ----------------------------------------------------------------
>
> Key: DS-1208
> URL: https://jira.duraspace.org/browse/DS-1208
> Project: DSpace
> Issue Type: Bug
> Reporter: Steve Swinsburg
>
> The addition of properly placeholders in dspace.cfg goes some of the way to
> allowing multiple developers/environments to use the same source tree,
> however not enough properties have been externalised.
> For example,if I had 5 servers, how would I customise this property for each?
> dspace.baseUrl = http://localhost:8080
> In addition, the current setup requires the build to activate a maven
> profile, and supply properties either at build time or from a pom.xml, which
> are then hardcoded.
> This isn't as flexible as it could be, for example by putting all
> configurable properties into a build.properties/filter.properties file and
> keeping that out of source control.
> Then each developer simply customises the properties file with the values for
> their environment, and the build inserts the properties into the relevant
> source files at build time.
> This is a standard maven filtering approach in use by many other projects.
> Note that any number of files can be filtered using this approach.
> References:
> http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel