Hi,
Just wondering if Linotype is broken for anyone else in 2.1 CVS.
From a clean CVS checkout, if I run './build.sh ; ./cocoon.sh servlet',and log in to linotype with guest/guest, I get:
uncaught JavaScript exception: at main (file:/home/jturner/apache/xml/cocoon-2.1/build/webapp/samples/linotype/flow.js, Line 33) at login (file:/home/jturner/apache/xml/cocoon-2.1/build/webapp/samples/linotype/flow.js, Line 55): java.io.FileNotFoundException: /home/jturner/apache/xml/cocoon-2.1/build/webappsamples/linotype/linotype.users.properties (No such file or directory)
Adding a / in flow.js, line 26 fixes the problem for me.
This sounds like an error that came across the first time after upgrading Jetty in Cocoon [1]. It's an issue with the RealPathModule that sometimes had an trailing slash, sometimes not - dependent on the servlet container and version. Not long ago I fixed it in CVS by always removing trailing slash, but did not fixed the linotype script.
I will commit the fix in a few minutes.
Joerg
[1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&w=4&r=1&s=jetty+linotype&q=b
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
