Thank you Google Plugin for Eclipse team for making an effort!

We are developing with GWT since 2006 and used maven from the day one.
We are making projects with Hibernate and GAE on backed and usually
our projects span multiple modules (~ 20 in a small project).
UI GWT part usually take 10 modules including framework modules.
Here is our framework  version 2 http://code.pyx4j.com/ with all build
files and eclipse configurations (Nothing but code).
Unfortunately I can't show how we building final product since they
are proprietary but we used the same maven and eclipse no other magic.

Previously we used maven eclipse plugin to generate .classpath
and .project
Recently we started to use M2-Eclipse to manage dependencies in
Eclipse base on maven pom. This goes with great success.
Now we are creating modules and projects by hands in text editor! This
includes  .classpath and .project (old school copy paste replace)
Otherwise we end up with eclipse  project that does not work for
different directory structures or on different platforms.

We have only one maven plugin to compile GWT (we created and
maintaining is our self) We still hope that there would be working
codehaus plug in maven repository to compile GWT.
Regarding this we do compile Java to js in maven mainly on build
server. For this we have a special profile in maven.
Usually developer will compile java to js using Google eclipse
plugin.

The major problems we see right now:
- When building GAE application with GWT in the same module and having
multiple (10+) dependency gwt modules(eclipse projects) open -> hosted
mode will start forever (7 minutes).
      If we use jar created by maven start speed back to normal.
      Our current solution is to have GWT module separate from final
GAE assembly module.
      And compile GWT with this "-war ..\gae-server\war"   where gae-
server is final GAE assembly  project
- When building GAE server module the server with dependencies in
separate eclipse projects we need to copy jar to war\WEB-INF\lib
      If GAE plugin eclipse  would be aware of modules this would be
very cool.
      Previously we used file system links to construct a directories
in war\WEB-INF\classes for final server module.
- For hosted mode:
   It would be nice to specify where to write ####.gwt.rpc  files.
   We usually have multiple entry-points (/public, /admin, /user, /
support) in application that goes into one server war (GAE or Tomcat)

Also there is one trick we have in our maven build:
  we do create the jar (in maven) that include the source files.  But
we to not have .java files in target\classes after maven build. This
solved refresh/clean problem in Eclipse when GWT eclipse  plugin may
find multiple and different versions of java files in class path and
get confused!

Unit tests.
  We do have our own base on JUnit3.  (Asynchronous Unit Tests) They
do run finally in js.  Like this http://pyx4j-tester.appspot.com/
(sorry for not working scrolls)
  There are two types on tests we run: Run only Client, Run on Client
and in maven build.
   For this in maven we have:   <exclude>**/*GWTTest.java</exclude>
  After each build we run integration tests with Selenium. Once of the
Unit tests Click the button "run unit tests" in the app just like one
above.

Vlad

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to