[
https://issues.apache.org/jira/browse/CLEREZZA-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reto Bachmann-Gmür resolved CLEREZZA-390.
-----------------------------------------
Resolution: Fixed
Assignee: Reto Bachmann-Gmür
While support will improve with the resolution of CLEREZZA-304 I've posted a
patch that allows bundle with a higher start-level to override resources
provided by bundles with a lower-startlevel.
To replace the logo /style/images/logo-big.png a bundle loaded later would
have to contain a file at /CLEREZZA-INF/web-resources/style/images/logo-big.png.
check it out with a source-bundle to have the files automatically update when
you press save in the editor (or gimp for the logo):
zz>import sourcebundle.BundleRoot
import sourcebundle.BundleRoot
zz>val br = $[BundleRoot]
br: org.apache.clerezza.sourcebundle.BundleRoot =
org.apache.clerezza.sourcebundle.BundleRoot@417579dd
zz>import java.io.File
import java.io.File
zz>br.createSourceBundle(new File("/home/reto/workspace/test-bundle"))
res14: br.SourceBundle =
org.apache.clerezza.sourcebundle.BundleRoot$SourceBundle@159ef4bc
where the source directory looks like this
reto@trisa-laptop:~/workspace/test-bundle$ find
.
./src
./src/main
./src/main/resources
./src/main/resources/CLEREZZA-INF
./src/main/resources/CLEREZZA-INF/web-resources
./src/main/resources/CLEREZZA-INF/web-resources/style
./src/main/resources/CLEREZZA-INF/web-resources/style/header.css
./src/main/resources/CLEREZZA-INF/web-resources/style/images
./src/main/resources/CLEREZZA-INF/web-resources/style/images/logo-big.png
> Configuration of System Logos
> -----------------------------
>
> Key: CLEREZZA-390
> URL: https://issues.apache.org/jira/browse/CLEREZZA-390
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Oliver Strässer
> Assignee: Reto Bachmann-Gmür
>
> I'd like to change the clerezza logo with a more specific logo of our
> application.
> Could you provide a easy way to change the logo, without copying the hole
> style bundle?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira