On Jun 22, 5:49 am, vogella <[email protected]> wrote:
> Explaination of including another project is included
> here:http://www.vogella.de/articles/GWT/article.html
>
I prefer to create a separate project and jar file; this way, if my
classes can be used both in a GWT project and an outside one, I still
have a jar file with no GWT dependencies to use in the non-GWT
project. For example,
Project: xyz domain
src
com.example.client.domain
Name.java
Address.java
dist (through Ant)
domain-bin.jar
Project xyz domain (GWT)
src
com.example
com.example.Domain.gwt.xml
com.example.client.domain
Name_CustomFieldSericalizer.java
dist (through Ant)
domain-src.jar (domain-bin.jar on classpath)
domain-gwt.jar (domain-{bin,src}.jar on classpath.
One could include the .class files in the src jar or even the gwt jar,
but I wouldn't. There's no need to have them appear in two jar files.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---