El lun, 10-04-2006 a las 21:33 -0700, Mark Eggers escribió: > Once again I have time use forrest. I would like to > create sites that don't look like they've been built > from forrest. > > The next generation of skinning (ie., dispatcher) > looks perfect for that.
jeje > My goals are to work through a completely custom > layout, and then write up how I approached the design > and construction of that layout. > Nice, but please start with a default theme, so we can make sure that everything is working. > Unfortunately, I can't seem to get a dispatcher site > to work. Let us change this. ;) > I've read the following thread in the mailing list: > > http://marc.theaimsgroup.com/?l=forrest-dev&m=114394781324160&w=2 > > I actually did the following in an attempt to get the > dispatcher to work. > > 1) Checked out revision 390377 in a separate directory Please use HEAD, no need for a certain revision. > 2) Changed %FORREST_HOME% to that directory > 3) cd to %FORREST_HOME\main > 4) build > 5) cd to > ..\plugins\org.apache.forrest.plugin.output.pdf > 6) %FORREST_HOME\tools\ant\bin\ant local-deploy > 7) cd > %FORREST_HOME%\whiteboard\plugins\org.apache.forrest.themes.core > 8) %FORREST_HOME\tools\ant\bin\ant local-deploy > 9) cd ..\org.apache.forrest.plugin.internal.dispatcher > 10) %FORREST_HOME\tools\ant\bin\ant local-deploy > You forgot the *most* important thing http://issues.apache.org/jira/browse/FOR-796 "HEADSUP: Before you can work with the dispatcher you *have to* patch the forrest.xconf with the patch (dispatcher-enabler.patch) attached to this issue!!! This is due to FOR-799 and the fact that people are using v2 and we should support them till we finish this issue. If you *do not* patch the core you may see something like the following: org.apache.cocoon.ProcessingException: Error during resolving of 'lm://resolve.structurer.index'. ... Caused by: org.apache.excalibur.source.SourceException: Could not resolve locationmap location. You should be able to answer "yes" to all of the following questions: 1) did you applied the attached patch? 2) are you on revision r373699 or higher (best HEAD)? 3) are you sure you did build.sh clean;./build.sh the forrest core (otherwise it will not work!) 4) did you deploy the new plugins?" > I made a new directory, did a forrest seed, and then > added the appropriate plugins to the > project.required.plugins line. > > I got the same error as in the thread: > > X [0] linkmap.html BROKEN: Could not resolve > locationmap location. > > I tried the same steps with revision 393034 and ran > into the same error. > > I tried a forrest run (revision 393034) and received > an internal server error. > > I looked at the logs, and here are some of the lines: > > locationmap.log > WARN [core.modules.mapper.lm] > (/index.html;jsessionid=2bah361m8prkx): > Locationmap did not return a location for hint > > > dispatcher.structurer.resourceType.document-v20 > WARN [core.modules.mapper.lm] > (/index.html;jsessionid=2bah361m8prkx): > Error reading from source > 'lm://dispatcher.structurer.resourceType.document-v20': > Could not resolve locationmap location. > WARN [core.modules.mapper.lm] > (/index.html;jsessionid=2bah361m8prkx): > Locationmap did not return a location for hint > > resolve.structurer.index > > error.log > org.apache.cocoon.ProcessingException: Failed to > process pipeline > at <map:serialize type="xhtml"> - > file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:159:39 > at <map:transform> - > file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:158:13 > at <map:transform type="dispatcher"> - > file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:150:42 > at <map:generate type="jx"> - > file:/C:/src/forrest-cur/build/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap:145:70 > at <map:mount> - > file:/C:/src/sites-src/dispatcher/build/tmp/internal.xmap:33:150 > at <map:mount> - > file:/C:/src/forrest-cur/main/webapp/sitemap.xmap:388:117 > > I probably don't understand the cocoon xmaps in enough > detail to help decipher the problem. I'll continue to > study it however. > > Thoughts on the problem? Yeah, please try with current trunk and the patch from FOR-796 applied. > I am running this on Windows/2000 Professional and jdk > 1.5.0_04 I never tried with 1.5. > Thanks, > Mark Welcome to the dispatcher, Mark. salu2 -- Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]