Repository: wicket
Updated Branches:
  refs/heads/master de606911f -> 77f211dd4


fix for generating the user guide from parent module


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/77f211dd
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/77f211dd
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/77f211dd

Branch: refs/heads/master
Commit: 77f211dd40f1e9830dc7ae6123085e38abfc17d3
Parents: de60691
Author: Andrea Del Bene <[email protected]>
Authored: Thu Apr 23 14:45:39 2015 +0200
Committer: Andrea Del Bene <[email protected]>
Committed: Thu Apr 23 14:45:39 2015 +0200

----------------------------------------------------------------------
 wicket-user-guide/grails-app/conf/Config.groovy | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/77f211dd/wicket-user-guide/grails-app/conf/Config.groovy
----------------------------------------------------------------------
diff --git a/wicket-user-guide/grails-app/conf/Config.groovy 
b/wicket-user-guide/grails-app/conf/Config.groovy
index 1fde4a4..0aa0c53 100644
--- a/wicket-user-guide/grails-app/conf/Config.groovy
+++ b/wicket-user-guide/grails-app/conf/Config.groovy
@@ -91,13 +91,14 @@ log4j = {
 }
 
 // documentation configuration
+def basePath = System.properties['base.dir']
 
 grails.doc.title = "Apache Wicket User Guide"
 grails.doc.version = "7.x"
 grails.doc.subtitle = "Free Online Guide for Apache Wicket framework"
 grails.doc.authors = "Andrea Del Bene, Martin Grigorov, Carsten Hufe, 
Christian Kroemer, Daniel Bartl, Paul Borș, Tobias Soloschenko, Igor Vaynberg"
-grails.doc.images = new File("src/docs/img")
-grails.doc.css = new File("src/docs/css")
+grails.doc.images = new File("${basePath}/src/docs/img")
+grails.doc.css = new File("${basePath}/src/docs/css")
 grails.doc.logo = """<a href="/" target="_blank"><img height="80px" 
src="http://wicket.apache.org/guide/img/apache-wicket.png"/></a>"""
 grails.doc.sponsorLogo = """<a href="http://www.apache.org/"; 
target="_blank"><img height="60px" 
src="http://wicket.apache.org/guide/img/asf_logo.gif"/></a>"""
 grails.doc.copyright="""

Reply via email to