Alan, I got <cfjavascript> working on my MAC but when i move my code to a windows box I get the following error: CFJAVASCRIPT: Problem with minimizing Javascript: Javascript Minimizer: failed: Compilation produced 3 syntax errors. The windows box has all the same files as the MAC does (I copied my entire directory including WEB-INF to the windows box). Tomcat and Apache have both been restarted.
I decided to look at the temporary file that is created for cfjavascript and cfstylesheet. The cfstylesheet creates the file and writes to it with no problem, however cfjavascript only creates the file. Nothing ever gets written to it. I cant think of what would be causing this problem. At first I tried the nightly that is currently posted but then i went back to the one I got from I think the 24th. On Sun, Apr 25, 2010 at 2:40 PM, Derrick Jackson < [email protected]> wrote: > Alan, > > Thanks for pointing me in the right direction. I compared the nightly I > was using that caused the problem to the production version and noticed the > following lines relating to cfres were missing: > > <servlet> > <servlet-name>cfResourceServlet</servlet-name> > > <servlet-class>com.naryx.tagfusion.cfm.cfResourceServlet</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>cfResourceServlet</servlet-name> > <url-pattern>*.cfres</url-pattern> > </servlet-mapping> > > I added them to my nightly and it all worked fine. > > > On Sun, Apr 25, 2010 at 5:13 AM, Alan Williamson (aw2.0 ltd) < > [email protected]> wrote: > >> yes, make sure you have the right web.xml mapping inside. >> >> You have to may .cfres to OpenBD >> >> Derrick Jackson wrote: >> >>> When using<cfjavascript> and<cfstylesheet> I get the following error >>> when I try to view the contents of the minimized javascript and stylsheet >>> files: >>> >>> >>> Apache Tomcat/6.0.20 - Error report >>> HTTP Status 404 - /load.cfres >>> type Status report >>> message /load.cfres >>> description The requested resource (/load.cfres) is not available. >>> >>> >>> Do I need to configure anything in order for this to work? >>> >>> >>> Thanks, >>> Derrick >>> >>> -- >>> Open BlueDragon Public Mailing List >>> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon >>> mailing list - http://groups.google.com/group/openbd?hl=en >>> >>> !! save a network - please trim replies before posting !! >>> >> >> -- >> Open BlueDragon Public Mailing List >> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon >> mailing list - http://groups.google.com/group/openbd?hl=en >> >> !! save a network - please trim replies before posting !! > > > -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
