Bug#755468: closure-compiler: compilation with closure-compiler requires some *-extern.js files
Dominique Dumont
dod at debian.org
Sun Jul 20 20:32:12 UTC 2014
Package: closure-compiler
Version: 20130227+dfsg1-6
Severity: normal
Dear Maintainer,
To answer the following question from your TODO.Debian:
"what about the js code in externs/ ? is it needed?"
lib-js-prettify package requires a compilation with closure. Its makefile
contains lines like:
@$(CLOSURE_COMPILER) --js src/prettify.js \
--externs tools/closure-compiler/console-externs.js \
--externs tools/closure-compiler/amd-externs.js \
--define IN_GLOBAL_SCOPE=true \
--output_wrapper='!function(){%output%}()' \
> $(TAR_ROOT)/prettify.js
@$(CLOSURE_COMPILER) --js src/run_prettify.js \
--externs tools/closure-compiler/console-externs.js \
--externs tools/closure-compiler/amd-externs.js \
--define IN_GLOBAL_SCOPE=false \
--output_wrapper='!function(){%output%}()' \
> $(TAR_ROOT)/run_prettify.js
$(CLOSURE_COMPILER) --js $$f --externs js-modules/externs.js
Simply removing the --externs options does not work: the compilation
fails.
Could you provide these extern files with closure-compiler (or its
lib package) ? (I will patch the above lines so the extern files are
found no matter where they will land)
Thanks
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages closure-compiler depends on:
ii default-jre-headless 2:1.7-52
ii java-wrappers 0.1.28
ii libclosure-compiler-java 20130227+dfsg1-6
closure-compiler recommends no packages.
closure-compiler suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list