Friday, October 21, 2011

include dependent project in gwt project war file / creating war files

I have two GWT projects that both use classes in a dependent eclipse
java project.

In DEV mode I can get the GWT projects to include classes from the
dependent project by adding the dependent project to the eclipse build
path of my GWT projects.

However, when I create my war file by jar-ing up the war directory the
classes from the dependent projects don't get included.

What would be the recommended way to accomplish this?

With eclipse "Dynamic Web Projects" this is pretty easy. I can add the
dependent project to the web application deployment path. Then when I
use the "export/WAR file" command, the generated war file will contain
my dependent project as a jar file in the war file lib directory.

Does GWT have any similar functionality?

Is it possible to add "Dynamic Web Project" functionality to an
existing GWT project?

Other folks must be having the same need.

Thanks for any help!

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate