cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni <raphael.pier...@aql.fr>
Subject [Cocoon-2.2-RC2 + flowscript-1.0-RC2] weird behaviour (Windows OK / Linux Exception)
Date Mon, 19 Nov 2007 15:46:02 GMT
Hi Guys,

I have found a workaround :
First i moved all my scripts but admin.js from /COB-INF/flow to 
/META-INF (i think  could have moved them elsewhere)
And also at the end of the admin.js i wrote a reference to each of my 
ecmascript file.

Raphaël


Raphaël Piéroni a écrit :
> Hi Guys,
>
> I got a really weird behaviour in my flowscripts.
> When running on windows, everything is fine.
> But when i run on linux, i got an ecmascript exception.
>
> Both on windows or linux i use a Jrockit.5.0 JVM, and
> a JONAS.4.8.4 application server.
>
> I use the same ear built on windows in both cases.
>
> When on linux, i call an URL which should be directed to Ecmascripts , 
> but it fails.
>
> I got all my EcmaScripts file (xyz.js) in the /COB-INF/flow directory
> In my block sitemap i have only <map:flow language="javascript" />
> In windows, all my files are correctly processed, but on linux they wont.
>
> A particularity is that i have a main file called admin.js which 
> defines a Map of string:Object
> and that map is then used in each of the other files.
>
> Is it possible that the ecmascript files are processed in the correct 
> guessed (alphabetic order) in windows and not in linux?
> How can i ensure the files are processed in the correct order?
>
> I also tried to define my ecmascripts by
> <map:flow language="javascript" >
>    <map:script src="admin.js"/>
>    <map:script src="def.js"/>
>    <map:script src="ghi.js"/>
>    <map:script src="....js"/>
> </map:flow >
>
>
> Regards,
>
> Raphaël
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message