Here is what I found

you need the custom-rhino.jar size=715,901 to start with located on your
(system)classpath

now run the ant targets individually

cd buildscripts
ant -Dprofile=struts2 -Dstrip_and_compress=true
cleanant -Dprofile=struts2 -Dstrip_and_compress=true release Note that you
will need to execute the (java)script illustrated here  <script
language="javascript">BUT if you dont have Bean Scripting Framework bsf.jar
(size is 175,348) in your classpath nothing will workdespite documentation
for ANT 1.70 (latest) classpath/classpathref attribute cannot be parsed by
<script> from ANT 1.70 the workaround is to take your BSF.jar and copy to
%ANT_HOME%/libant -Dprofile=struts2 -Dstrip_and_compress=true intern-strings
ant -Dprofile=struts2 -Dstrip_and_compress=true strip-resource-commentsGET
http://localhost:8080/struts2-showcase/struts/dojo/src.js404 (15ms)dojo.js
(line 769)Now when I run the app dojo.js is referencing src.js (
Jeromy/Musachy? )ThanksM------- Original Message -----
From: "Jeromy Evans" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, October 18, 2007 10:20 AM
Subject: Re: How to improve dojo performance in Struts 2.0.9


> Pedro Herrera wrote:
> > It´s not working to me. why don´t you leave yours jars available ?
> >
> > Herrera
> >
> >
> Hi Pedro,
> I can't really create a jar for you because its not appropriate to
> extract part of struts out and then redistribute it.  I could create a
> script I suppose, but the problem is mostly solved in struts 2.1 already.
>
> If you let me know where the instructions fall-short maybe I can help a
> little better?
>
> regards,
>  Jeromy Evans
> > Jeromy Evans - Blue Sky Minds wrote:
> >
> >> As suggested, I've added these instructions to the community wiki.
> >>
> >>
http://cwiki.apache.org/confluence/display/S2WIKI/Creating+a+custom+Dojo+pro
file+for+Struts+2.0.9
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to