Hi. Thanks. I tried and failed to run "ant MinifiedJs" (see below).
But aren't the files this produces available on the Caja website? E.g. http://caja.appspot.com/html-sanitizer-minified.js. Can't I use that? Is this the up-to-date documentation for using it? https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer The following is my attempt to at "ant MinifiedJs" I found a Windows BAT file (https://github.com/lorrylockie/t-caja/blob/master/tools/svnversion-nocolon.bat) which seems to workaround the tools/svnversion-nocolon Windows problem. But I now get these errors MinifiedJs: BUILD FAILED c:\eclipse\caja\build.xml:711: Problem: failed to create task or type transform Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. Best, -ken On Wednesday, April 9, 2014 6:24:26 PM UTC+2, Kevin Reid wrote: > > On Wed, Apr 9, 2014 at 6:54 AM, Ken Kahn <[email protected] > <javascript:>>wrote: > >> I'm a little unclear why I need to build any JARs. >> > > You don't actually need to. Unfortunately, our build rules are still in > the structure they were when we did require a server-side component (the > cajoler) as we haven't refactored them since deleting it on trunk. > > The minimum build which gets the JS files built is "ant MinifiedJs". > (Despite the name, this also builds the unminified-but-concatenated files.) > > However, you will still run in to the dependency on > tools/svnversion-nocolon, because that is used to determine the version > number built into the JS files, which is used to verify that the versions > used are consistent with each other. (You could perhaps try creating a > 'tools/svnversion-nocolon.exe' which prints a hardcoded number and see if > that gets things farther.) > > >> Couldn't you guys provide the JARs that 'ant jars' produces? >> > > You're asking for “binary” releases; we're just not currently doing that. > > >> What I would like to is to run Caja in Eclipse with the Google Eclipse >> Plugin that simplifies use of GAE and GWT. And that works regardless of the >> OS. >> > > Yes, the problem is not Caja per se but rather our build process. > -- --- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
