You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeff Turner <je...@apache.org> on 2004/03/03 00:32:13 UTC
Linotype CVS broken?
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.
--Jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Linotype CVS broken?
Posted by Joerg Heinicke <jo...@gmx.de>.
On 03.03.2004 00:32, Jeff Turner wrote:
> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Linotype CVS broken?
Posted by Mark Leicester <ma...@energyintellect.com>.
Yes I've had the same thing. I'm on a Mac OS X 10.3 and I've seen this
for a couple of months.
I guess I should have said earlier!
Mark
On 2 Mar 2004, at 23:32, Jeff Turner wrote:
> 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.
>
>
> --Jeff
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org