Open GoogleCodeExporter opened 8 years ago
If you are still having problems with this, please provide more details about
where your source files are and where depswriter and closure library is in your
file system.
I'm running under Mac OS X 10.6 "Snow Leopard" and depswriter is working for
me. The root_with_prefix is a little tricky because it needs to have the path
back to your sources from closure-library/closure/bin.
This shows where I have depswriter:
[12:43:36 ~/Documents/Programming/javascript/closure-library/closure/bin]$ ls
build
closurebuilder.py depstree_test.py jscompiler.pyc source_test.py
depstree.py depswriter.py source.py treescan.py
depstree.pyc jscompiler.py source.pyc treescan.pyc
This is where my source is:
[12:44:46 ~/Documents/Programming/jssimlab]$ ls src
lab sims test
This shows using the path back from closure/bin to my source directory:
[12:43:42 ~/Documents/Programming/javascript/closure-library/closure/bin]$ ls
../../../../jssimlab/src
lab sims test
This is the command to use depswriter, executed from above my source directory.
[12:44:54 ~/Documents/Programming/jssimlab]$
../javascript/closure-library/closure/bin/build/depswriter.py
--root_with_prefix="src ../../../../jssimlab/src" > build/deps.js
Original comment by neum...@gmail.com
on 2 Jun 2013 at 7:51
Original issue reported on code.google.com by
j...@johnjmills.com
on 8 Feb 2013 at 11:40