Example:
Project:
com/example/app/
client
shared
server
App.gwt.xml (contains <source path="client"/> and <source path="shared"/>. Also contains <inherits name="com.example.app.dtos.GeneratedDtos"/>)
generated-utils-sources.jar (on classpath in IDE and in ANT script)
com/example/app
shared
//lots of source files (no *.gwt.xml needed as App.gwt.xml already contains <source path="shared"/>)
dtos
//lots of DTO source files
GeneratedDtos.gwt.xml (contains <source path=""/>. You could also move that file one level up and then have <source path="dtos"/>. Just personal preference.)
P.S.: You don't need <source path="client"/> and <source path="client/resources"/> as the first already includes everything.
-- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment