latest maven 4.11 snapshot/ linux or windows / etc

im having a problem, a confusion, with the dojoPath and dojoSource options
of the Shell component:

// the assets as defined in my jwc
<asset name="dojoSource" path="context:/js/dojokitchensink/dojo.js" />
   <asset name="dojoPath" path="context:/js/dojokitchensink/"/>

I have a Border component with the following assets defined, and of course
my @Shell compionent has dojoSource = "asset:dojoSource" and dojoPath=
"asset:dojoPath" as the variables, and indeed, just for the heck of it, i
have

/js/dojokitchensink/dojo.js (with the letters 'zzzzzzzzzzzzzzzzzzzzzz' in
it) at both
  1 the root of my app (accesible from
${HOST}:${PORT}/${CONTEXT}/js/dojokitchensink/dojo.js
  2 the WEB-INF context of my app /WEB-INF/js/dojokitchensink/dojo.js, just
to be sure.

I havent gone so far as to put them into the classes folder because ... i ..
dont want to have to trigger a maven /jetty recompile each time i modify a
.js...

I use the above defintions and i get nothing available at the path that's
emitted in the javascript:

<script type="text/javascript">djConfig =
{"isDebug":true,"debugAtAllCosts":false,"debugContainerId":"debug","baseRelativePath":"http://192.168.2.107:8080/view/assets/static/js/dojokitchensink/","preventBackButtonFix":false,"parseWidgets":false}
</script>

<script type="text/javascript"
src="http://192.168.2.107:8080/view/assets/static/js/dojokitchensink/dojo.js";></script><script
type="text/javascript"
src="http://192.168.2.107:8080/view/assets/static/tapestry/core.js";></script>
<script type="text/javascript">


which is, in my case:
http://192.168.2.107:8080/view/assets/static/js/dojokitchensink/dojo.js



Anyway, my question is: what's the proper way to tell tapestry where to find
dojo, please?

thanks in advance for any help on what, Im sure , is a no-brainer
question...


Josh

Reply via email to