Using depswriter to generate absolute roots would be beneficial when working on
lots of projects that rely on closure lib. This would allow all these projects
to share a closure lib repo.
Being able to:
--root_with_prefix=". http://localhost:8082/resources/scripts/src/" ^
Would enable that. However the goog.require code does not like this as it
always tries to goog.basePath + path of the dependency. This patch checks if
the registered dependency appears to be an absolute uri, if so then we do not
prefix the goog.basePath.
Also added supporting tests.
Original issue reported on code.google.com by guido.tapia@gmail.com on 30 Mar 2011 at 10:04
Original issue reported on code.google.com by
guido.tapia@gmail.com
on 30 Mar 2011 at 10:04Attachments: