{"id":2156,"date":"2015-05-15T08:07:58","date_gmt":"2015-05-15T08:07:58","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2156"},"modified":"2015-05-18T11:37:23","modified_gmt":"2015-05-18T11:37:23","slug":"gitblit-moving-the-basefolder","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2156","title":{"rendered":"Gitblit &#8211; Moving the basefolder"},"content":{"rendered":"<p>For some reason on the Mac running Tomcat 8 editing the BASEFOLDER location in the web.xml does not work.<\/p>\n<p>However setting an environment variable works.<\/p>\n<p>Add<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">&nbsp; &nbsp;&lt;Environment name=&quot;baseFolder&quot; type=&quot;java.lang.String&quot; value=&quot;\/gitblit\/&quot; override=&quot;false&quot; \/&gt;<\/div><\/div>\n<p>to \/usr\/local\/Cellar\/tomcat\/VERSIONNUMBER\/libexec\/conf\/context.xml<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For some reason on the Mac running Tomcat 8 editing the BASEFOLDER location in the web.xml does not work. However setting an [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2156","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2156"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2156\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}