On 12/01/2012, at 4:56 AM, Farrukh Najmi wrote:

> 
> It seems that I have to manually update the src/main/js/IndexContext.js file 
> to reference each of my .js files. This seems rather painful a manual step. 
> Am I missing something obvious or is there a way to automate the inclusion of 
> all the function defined in my .js files in the project .js artifact.
Your indexContext.js needs to declare the dependencies it will be using 
*directly* not *transitively*. You generally do this by specifying the AMD 
module ids as dependencies in a define() or require() declaration. Is this what 
you're doing? Are you saying that you've got a big long list of module ids in 
your define statement?

May be a code example would be useful.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to