On Wed, Apr 9, 2014 at 10:18 AM, Ken Kahn <[email protected]> wrote:

> 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?
>

I suppose you can.


> Is this the up-to-date documentation for using it?
> https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer
>

There isn't any more-up-to-date documentation unless you count the comments
in the code.


> 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.
>

Oops, I just tried this for myself. There's a missing dependency there
(because MinifiedJs is a rule that was meant to be internal and never
tested any other way).

'ant pluginc MinifiedJs' should work.

We definitely need to clean up the build system.

-- 

--- 
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.

Reply via email to