jlgrock / ClosureJavascriptFramework

A group of plug-ins that can be used in conjunction with maven to execute the Google Closure Compiler on JavaScript code. This Framework allows for scaling and modularity.
MIT License
16 stars 7 forks source link

Externs problem #15

Open jlgrock opened 12 years ago

jlgrock commented 12 years ago

I have two projects, A & B, B has a dependency on A. Both of them have an external dependency of C (lets say jquery for example).

I put in the jquery extern file in both of the project’s /externs directory.

When compiling, A compiles fine.

Then B compiles. It brings in it’s own jquery extern file, project A, and project A’s extern file. This causes B to fail since there are two externs both declaring the same thing.