Intellij and GWT

This is a discussion on Intellij and GWT within the J2EE forums in Framework and Interface Programming category; Hi there, Bascially, After programming with JavaScript for quite a while now, I want to try and get away from this as far as possible to be honest, hence why I am now trying to depict whether GWT would be a better practise for myself! I have found a great website that shows introductions to GWT, and I have followed it to the finest detail, although, what I do not understand is why when im using Intellij Idea, within the index.html file where the program needs to access this line of code: <script type=”text/javascript” language=”JavaScript” src="sampleApp.SampleApp.nocache.js"></script> although, I simply cannot ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-09-2008, 12:27 PM
ben
Guest
 
Default Intellij and GWT

Hi there,

Bascially, After programming with JavaScript for quite a while now, I want to try and get away from this as far as possible to be honest, hence why I am now trying to depict whether GWT would be a better practise for myself!

I have found a great website that shows introductions to GWT, and I have followed it to the finest detail, although, what I do not understand is why when im using Intellij Idea, within the index.html file where the program needs to access this line of code:

<script type=”text/javascript” language=”JavaScript” src="sampleApp.SampleApp.nocache.js"></script>

although, I simply cannot get the src file to work...like the website tutorial states (http://developerlife.com/tutorials/?p=193), the first part, sampleApp is the folder is should be in, and SampleApp should be the file....but all Intellif says is that there is no such file....I have tried many many different methods, but it is something to do with the nocache part...I don't quite understand what this is for. Bearing in mind the actual file path for this file it tells me to give is: src/sampleApp/client/SampleApp.java. I have even tried just creating a simple GWT module, but once again, where the html file locate the src to look up, it just says there is no such file!?!? But all I can manage to understand is that this file is created after compilation I think?!?! So how do I get this to work??

If anyone can please help me out into getting this working, I will be really thankful!

Regards,

Ben
Reply With Quote
  #2  
Old 04-10-2008, 02:27 AM
Nikolay Chashnikov (JetBrains)
Guest
 
Default Re: Intellij and GWT

Hello,

This ...nocache.js is indeed generated by GWT compiler. What do you need
it for? You can run GWT application in hosted mode using GWT run
configuration (Run -> Edit configurations -> '+' -> GWT configuration).

> Hi there,
>
> Bascially, After programming with JavaScript for quite a while now, I want to try and get away from this as far as possible to be honest, hence why I am now trying to depict whether GWT would be a better practise for myself!
>
> I have found a great website that shows introductions to GWT, and I have followed it to the finest detail, although, what I do not understand is why when im using Intellij Idea, within the index.html file where the program needs to access this line of code:
>
> <script type=”text/javascript” language=”JavaScript” src="sampleApp.SampleApp.nocache.js"></script>
>
> although, I simply cannot get the src file to work...like the website tutorial states (http://developerlife.com/tutorials/?p=193), the first part, sampleApp is the folder is should be in, and SampleApp should be the file....but all Intellif says is that there is no such file....I have tried many many different methods, but it is something to do with the nocache part...I don't quite understand what this is for. Bearing in mind the actual file path for this file it tells me to give is: src/sampleApp/client/SampleApp.java. I have even tried just creating a simple GWT module, but once again, where the html file locate the src to look up, it just says there is no such file!?!? But all I can manage to understand is that this file is created after compilation I think?!?! So how do I get this to work??
>
> If anyone can please help me out into getting this working, I will be really thankful!
>
> Regards,
>
> Ben



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


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:19 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.