[daisy] [JIRA] Commented: (DSY-405) Integrate tanuki wrapper
scripts in Daisy build
Bruno Dumon (JIRA)
issues at cocoondev.org
Tue Mar 13 12:30:20 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-405?page=comments#action_13074 ]
Bruno Dumon commented on DSY-405:
---------------------------------
The patch is now partly committed (SVN rev 3821), missing are:
- the files in core/resources/wrapper/service
- the windows .template files (added dummy files for now -- they are missing in the patch)
- distro/core/resources/wrapper/README.txt
- no commits done yet below distro/windows-installer
I've made the following changes to the patch, feel free to comment if you think I got something wrong:
* Replaced the move-file-to-preserve-executable-bit-trick with a Runtime.exec-call to execute chmod, seems to work just fine.
* Renamed InstallHelper.replaceStringInFile to InstallHelper.appendToMatchingLinesInFile
* Replaced tabs with spaces in distro/core/maven.xml
* DaisyWikiInitDataDirectory: the service wrapper related code should not be executed in development mode, also moved the code together in a installServiceWrapperScripts method.
* wrapper.logfile property: write logs to the datadirs instead of wrapper home dir
* in .template: bin/sh -> bin/bash (source command doesn't work with bin/sh)
And a question: any specific reason initmemory/maxmemory is commented out in wrapper confs?
> Integrate tanuki wrapper scripts in Daisy build
> -----------------------------------------------
>
> Key: DSY-405
> URL: http://issues.cocoondev.org//browse/DSY-405
> Project: Daisy
> Type: Improvement
> Versions: public - 2.0
> Reporter: Andreas Deininger
> Priority: Minor
> Attachments: tanuki_wrapper.diff, wrapper.diff, wrapper.diff, wrapper.tar.bz2
>
> The following patch integrates the tanuki wrapper scripts in the Daisy binary build.
> During build time, a self contained wrapper installation is created inside the daisy binaries, these scripts are automatically configured during the repository and daisy wiki initialisation (no manual configuration is needed afterwards).
> This patch also upgrades the tanuki wrapper inside the windows installer to the latest release.
> This patch is the linux part only though it already contains a some files needed for the windows variant. I will finalize the windows part once this patch is committed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list