Re: [Ginp-developers] Latest changes - deployment problems
Brought to you by:
burchbri,
dougculnane
From: Brian B. <br...@Pi...> - 2007-01-09 18:22:22
|
Doug Culnane wrote: > I need to do a > mvn clean site site:deploy > this updates the public website so let me know when you want it updated > and it will do it. > Don't do it yet, Doug. I'm having some problems deploying the war on my own development system and am worried I might have broken something. > Will do in due course as I use the head in my own website. Take a backup first! Perhaps you could find time to test the new version with your web site BEFORE updating the public version? ------------ First, some good news... the latest version serves up my photo's under https url's as well as http, so that problem has gone away. ------------ I think I screwed up my own deployment testing by not clearing all the tomcat files before unpacking the new war. It looked for a while as if it was OK, but I'm not confident about what exactly was running (jsps, etc get compiled into {CATALINA_HOME}/work/). I've now done a thorough clearout and am having some problems. In particular, I'm quite worried about the setup process I don't think I've broken it, but I can't be certain. The biggest problem is with ginp.xml. When the new ginp-0.30-SNAPSHOT cannot find ginp.xml, it runs the ginpSetup Tapestry application as intended. I have a good version that worked with the pre-maven war in home/config/ginp.xml, but I can't make setup use my existing file. However, when I manually copy the file to ../ginp/WEB-INF/ginp.xml, it is detected and used properly. I've slogged through a lot of the logic but cannot see what is going wrong yet. I decided to work through your manual, but I'm not making a lot of sense of it yet. I'd like to update it based on what I can get working here. I would like to explain four different scenarios (not necessarily in this order):- 1. Whether someone has downloaded the war, or built it from source with maven.. how to configure it to serve up some of their own pictures using the default home page and the "Basic" demo style. a) manually, by cloning/updating a sample ginp.xml file (e.g. when the setup application is failing). b) using the setup application, when I can get it working again. 2. How to customise the system for one's own web site. a) using an existing style. b) by creating a new personalised style. At the moment, I'm keeping my life simple by working on 1a. However, when I choose the w2k4 (or backinblack or textart) demos from index.jsp, it fails. I keep reading the manual to see what you are really saying about the style folders, but seem to be missing something important. If you have any idea why ... http://www2.pingtoo.com/ginp/styles/w2k4/ginpservlet?cmd=selectcollection&id=0&nocache=207183762 fails with ... org.apache.jasper.JasperException: /styles/w2k4/collection.jsp(38,0) Unable to load tag handler class "net.sf.ginp.tags.GetFolderInfo" for tag "ginp:getfolderinfo" please let me know soon! Brian |