gwt - Grails + SmartGWT -
trying make grails + smartgwt work together.
setup: grails 2.2.1 (installed both, gwt + smartgwt plugin) smartgwt 3.1 gwt 2.5
after couple of hours playing around it, tomcat started. (created application , compiled modules)
project resides under: zuhause:8080/gwt3/
default module foo.bar default index.gsp looks ok
<script> var isomorphicdir = "${createlinkto(dir: 'gwt/foo.bar.foobar/sc/')}"; </script> <!-- --> <!-- script loads compiled module. --> <!-- if add gwt meta tags, must --> <!-- added before line. --> <!-- --> <script type="text/javascript" src="${createlinkto(dir: 'gwt/foo.bar.foobar', file: 'foo.bar.foobar.nocache.js')}"></script>
the nocache.js found inside compiled "nocache.js" there reference
zuhause:8080/gwt3/static/gwt/foo.bar.foobar/sc/modules/isc_core.js 404 (not found)
the path reference "static" 1 have no idea configured.
the module xml looks like:
<module> <!-- inherit core web toolkit stuff. --> <inherits name="com.google.gwt.user.user"/> <!-- smart gwt --> <inherits name="com.smartgwt.smartgwt"/> <inherits name="com.smartgwt.tools.smartgwttools"/> <!-- specify module entry point class. --> <entry-point class="foo.bar.client.foobar"/>
i have scanned complete project, "static" has never been defined in 1 of config files.
any idea ?
thanks in advance
the static
added resources plugin.
Comments
Post a Comment