[
https://jira.duraspace.org/browse/DS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28126#comment-28126
]
Ivan Masár commented on DS-1554:
--------------------------------
5) I tried using ${dspace.baseURL} in swordv2-server.cfgand it works. So I
assume filtering generally works for this file - this is not a problem.
6) Ok, I think I'm starting to understand that problem. upload.tempdir is
hardcoded here to be /dspace/upload
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/modules/swordv2-server.cfg#L141
You were expecting it to be ${dspace.dir}/upload
I also noticed there's upload.temp.dir = ${dspace.dir}/upload in dspace.cfg
(notice the extra dot in property name).
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace/config/dspace.cfg#L1424
So I think the proper fix would be to throw out upload.tempdir from
swordv2-server.cfg and use upload.temp.dir in its place. Do you agree?
> swordv2-server.cfg not updated during build process
> ---------------------------------------------------
>
> Key: DS-1554
> URL: https://jira.duraspace.org/browse/DS-1554
> Project: DSpace
> Issue Type: Bug
> Components: SWORD
> Affects Versions: 3.1
> Environment: OSX/Ubuntu Server.
> Reporter: Andrew Waterman
> Priority: Major
> Labels: build.properties, customization, swordv2, swordv2-server
>
> The build.properties file distributed with the full DSpace source provides a
> way to customize an install of DSpace for a given environment. This works
> with core dspace functionality. However, changes to the dspace install
> directory are not reflected in the swordv2-server.cfg file contained in the
> dspace configuration/modules folder. This can result in hard to diagnose 500
> errors for clients depositing resources using the swordv2 protocol. I was
> only able to diagnose issues I had on a local install, by stepping through
> the sword-ingestion process by means of a Debugger. This would be very nice
> to have fixed in future versions of DSpace and/or the configuration details
> updated in the main DSpace documentation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel