How IDEA knows which GWT module run?

I have a GWT 1.6 project and using Maia 10322.

I.e. a module with rename-to="gwt.house".

In the war directory I have:
house/index.html

In the html file I have defined the path to the JS file:

<script type="text/javascript" language="javascript" src="../gwt.house/gwt.house.nocache.js"></script>




In the GWT run configuration IDEA prompt me the path to the html file "house/index.html" which is good.

How IDEA knows which GWT module run? By specified JavaScript?

Thanks,
Leszek

2 comments
Comment actions Permalink

This is confident information?

0
Comment actions Permalink

Yes. IDEA index all html files to discover correspondences between GWT modules and html files. This information is used to resolve references from
Java code to CSS classes and html tags as well as to suggest html pages in the run configuration editor.

I have a GWT 1.6 project.

I.e. a module with rename-to="gwt.house".

In the war directory I have:
house/index.html

In the html file I have defined the path to the JS file:

<script type="text/javascript" language="javascript" src="../gwt.house/gwt.house.nocache.js"></script>



In the GWT run configuration IDEA prompt me the path to the html file "house/index.html" which is good.

How IDEA knows which GWT module run? By specified JavaScript?

Thanks,
Leszek

---
Original message URL: http://www.jetbrains.net/devnet/message/5239331#5239331



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.