I get the error when trying to compile using the ns: prefix.
For example:
# closure/bin/calcdeps.py -o compiled -p closure/ -p src/javascript/some/ -i
ns:some.Requirement --output_file=build/compiled.js
calcdeps.py: Scanning files...
calcdeps.py: Finding Closure dependencies...
Traceback (most recent call last):
File "../closure-library/closure/bin/calcdeps.py", line 589, in <module>
main()
File "../closure-library/closure/bin/calcdeps.py", line 559, in main
deps = CalculateDependencies(search_paths, inputs)
File "../closure-library/closure/bin/calcdeps.py", line 225, in CalculateDependencies
deps = BuildDependenciesFromFiles(paths+inputs)
File "../closure-library/closure/bin/calcdeps.py", line 137, in BuildDependenciesFromFiles
file_handle = open(filename, 'r')
IOError: [Errno 2] No such file or directory: 'ns:some.Requirement'
Removing inputs from the BuildDependenciesFromFiles call makes things work.
Original issue reported on code.google.com by nate.sku...@gmail.com on 17 Sep 2012 at 5:12
Original issue reported on code.google.com by
nate.sku...@gmail.com
on 17 Sep 2012 at 5:12Attachments: