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

Allow user to specify path of extracted closure-library <HOME> folder #49

Open lukas-vlcek opened 10 years ago

lukas-vlcek commented 10 years ago

The goal would be to allow users to keep whole closure-library sources as part of the project resources (like in vendor folder) and have it used by CJF maven testing plugin instead of built-in closure-library.

I do always keep extracted copy of closure-library as a part of the project for two reasons:

This will also allow users to use different version of closure-library than the one provided by the CJF (there is no official maven friendly packaging anyway). This will however require user to make sure the closure-library sources are complete and valid.

WDYT? @jlgrock

lukas-vlcek commented 10 years ago

Possibly related issue: https://github.com/jlgrock/ClosureJavascriptFramework/issues/11

jlgrock commented 10 years ago

I love the idea, I just don't know how best to do it. What do you think? Just point it to a directory and then copy the files over? It has to be copied over because the framework needs it for the relative pathing.

lukas-vlcek commented 10 years ago

I did not have a chance to check the code yet. Will look at it and get back.