javascript - Getting only one <modulename>.nocache.js file in Multiple Entry Point Module -


my project structure has 2 entry point methods on client side in

extrygate.java exitgate.java 

i have added entrygate.gwt.xml , exitgate. have changed following lines in both files

<module rename-to='entrygate'> <module rename-to='exitgate'> 

in entrygate.html , exitgate.html, have added following lines:

<script type="text/javascript" language="javascript" src="intellipark/entrygate.nocache.js"></script>  <script type="text/javascript" language="javascript" src="intellipark/exitgate.nocache.js"></script> 

the problem have 1 nocache.js file i.e. entrygate.nocache.js file. how can generate exitgate.nocahce.js file? there dependency on .gwt.rpc file well? there doing wrong?

if want exitgate.nocache.js generated, have pass exitgate module name gwt compiler. can either run compiler twice (once each module), or run once passing 2 modules arguments.

the *.gwt.rpc files distinct each module (but same servlet might able serve both module's rpc, in case use same remoteservice interface in both modules)


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -