How to use Google Collections in GWT

  1. check out the google collections source code
    • svn checkout google-collections-read-only
  2. build a jar package using ant
    • cd google-collections-read-only
    • ant jargwt
    • cd ..
    • copy & add build/dist/google-collect-snapshot/google-collect-gwt-snapshot.jar  to your eclipse project's build path

  3. You also need to inherits the module file:
    <inherits name=''/>

No comments:

Post a Comment