Hi Folks,

 

I installed node.js, and installed grunt bower and npm and
all that build platform for javascript runs fine...

 

I have been using NPM to checkout jquery, angular and
bootstrap out of gitgub and build them.

 

As a result typically I end up with a dist directory housing
a CSS file and a js file and a min.js file for any respective module.

 

I am cobbling together a t-5.4-beta-22 app

 

So I dropped my dist from above into src/main/webapp/assets

 

here is my dir layout for bootstrap

 

src/main/webapp/assets/css

src/main/webapp/assets/fonts

src/main/webapp/assets/js

 

bootstrap occupies all three dir's

jquery only occupies the js dir

 

ok now my question...

 

why am I gettign this error ?

 

[INFO] Started Jetty Server

2014-10-06 22:29:29.169:WARN::/pphl/

org.apache.shiro.subject.ExecutionException:
java.lang.RuntimeException: Exception constructing service 'ModuleManager':
Error invoking service contribution method org.ap

ache.tapestry5.modules.JavaScriptModule.setupBaseModules(MappedConfiguration,
Resource, Resource, Resource, Resource, Resource): Unable to locate asset
'context:assets/js

/transition.js' (the file does not exist).

        at
org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:385)

        at
org.tynamo.security.services.impl.SecurityConfiguration.service(SecurityConfiguration.java:54)

        at
$HttpServletRequestFilter_87e0f268550.service(Unknown Source)

 

 

its complaining about Transition.js but I built
Transition.js into my bootstrap min.js file above using the node.js platform
and the routine that t-5.4-beta-22 is seeking the name of the javascript module
by filename when I compiled it into a min.js file

 

do you follow me ?

 

How can I get t-5.4-beta-22 to be ok with my dropped in
bootstrap built files ?

 

Here is my config...thanks for any clarification

 

@Contribute(SymbolProvider.class)

@ApplicationDefaults

public static void
provideSymbols(MappedConfiguration<String, String> configuration) 

{

    // locate them at
src/main/webapp/assets/bootstrap/

   
configuration.add(SymbolConstants.BOOTSTRAP_ROOT,
"context:assets"); 

   
configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,
"jquery");

}



Best regards 
and thanks... KEN                                         

Reply via email to