Eclipse + JS at GWT public folder = Slow
As recommanded by GWT-EX Wiki, you have to put js/ext folder into module's public folder. So, during GWT compile, it will automatically copy these js files as a package to the output folder.
This really give automation. But when you have many modules under a single project, this will pose a problem.
This really give automation. But when you have many modules under a single project, this will pose a problem.
- Eclipse will be slow when it does auto-build on workspace, this is the major issue
- You will have to include js folder at each public folder.
My observation is you do not need these js files for compilation. GWT compiler helps to copy these files to output folder.
Using
So, the best solution so far use Ant task
- Create an ant task to perform GWT compile
- On compile success, use ant to copy js folder into the output folder
This way will kind of save Eclipse from busy copying js to its build folder.
Comments
Post a Comment