Bug 550

Summary: Speller installer instructions do not follow locale selection
Product: Infrastructure Reporter: Sjur Nørstebø Moshagen <sjur.n.moshagen>
Component: Divvun.noAssignee: Børre Gaup <borre.gaup>
Severity: major CC: borre.gaup
Priority: P2 - As soon as possible    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.divvun.no/doc/proof/spelling/msoff/install_use.html

Description Sjur Nørstebø Moshagen 2007-10-17 09:15:16 CEST
When opening the above URL, the content displayed is Norwegian bm, independently of the locale selected by the user.

When opening the same document locally, the content follows the locale selection as expected.
Comment 1 Børre Gaup 2007-10-28 17:36:44 CET
We have a document, install_use.jspwiki, which is written in norwegian bokmål inside the doc/proof/spelling/msoff/ directory. We also have locale specific versions of install_use there.

If I remove the install_use.jspwiki file, but leave the other ones, I get the answer:

Internal Server Error
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
Request URI
/home/sd/xtdoc/sd/src/documentation/content/xdocs/doc/proof/spelling/msoff/install_use.xml (No such file or directory)

This could be because these files are jspwiki files, and that the localization code doesn't work the way it works for .xml documents.
Comment 2 Børre Gaup 2007-12-04 15:12:03 CET
When moving to Mac OS X, forrest needs the java.awt.headless argument.

It was called this way: forrest run -Dforrest.jvmargs="-Djava.awt.headless=true -Dfile.encoding=utf-8"

After some research I found that true had to be quoted, so the command: 

forrest run -Dforrest.jvmargs="-Djava.awt.headless='true' -Dfile.encoding=utf-8"

gives the desired result.

If true is not quoted, it "kills" the next argument other argument, too.