What is the easier way to deploy a GWT application to Tomcat using Eclipse?

72 views
Skip to first unread message

Fabrício Cabral

unread,
Apr 1, 2009, 1:36:23 PM4/1/09
to Google Web Toolkit
Hello all,

I'm using Eclipse Ganymede (latest), JDK 6 update 13, Tomcat 6.0.18
and GWT 1.5.3.

So, I'm looking for the easier way to deploy a GWT application to Tomcat
usint Eclipse IDE. If I use the projectCreator/applicationCreator commands,
I can't do the Export -> WAR file, because Eclipse doesn't recognize the
project as a Dynamic Web Project.

I've tryed use the Cypal Studio 1.0 and gwt-tooling plugins but they have
several bugs and don't do what I want.

So, does anyone know what is the easier way to deploy a GWT application
to a Tomcat 6 using Eclipse IDE?

Thanks in advance,

--fx

tetsuo

unread,
Apr 1, 2009, 1:42:04 PM4/1/09
to Google Web Toolkit
try using the jboss as tools you can download them in eclipse via
"software update" maybe that link helps you
http://www.jboss.org/tools/download.html

after the restart of eclipse you can use another view, where you can
bind the tomcat server and deploy your stuff (hot or not) anyhow, try
to spend a minute on the ant, it helps you to pack it all together in
a war file (like eclipse is doing it for you ) but independently from
the eclipse configs ;) so every can do that for you, if your once
configured the build.xml

haphe phun

alex.d

unread,
Apr 2, 2009, 2:21:19 AM4/2/09
to Google Web Toolkit
Ant is definitely worth to take a look at. I'm using it to make my war-
file. After that i have to upload/copy it to webapps-folder -
deploying complete!

On 1 Apr., 19:42, tetsuo <tetsuomeis...@googlemail.com> wrote:
> try using the jboss as tools you can download them in eclipse via
> "software update" maybe that link helps youhttp://www.jboss.org/tools/download.html

tetsuo

unread,
Apr 2, 2009, 4:59:35 AM4/2/09
to Google Web Toolkit
On 2 Apr., 08:21, "alex.d" <alex.dukhov...@googlemail.com> wrote:
> Ant is definitely worth to take a look at. I'm using it to make my war-
> file. After that i have to upload/copy it to webapps-folder -
> deploying complete!
>
with something like
[code]
<copy todir="${tomcatDir}">
<fileset
dir="${web}"
includes="**/*.*" />
</copy>
[/code]
the ant task will do that for you ;)

alex.d

unread,
Apr 2, 2009, 8:15:03 AM4/2/09
to Google Web Toolkit
Except for undeploying the previous version, expiring user sessions
etc... No thx, i'd rather copy manually ;-)

tetsuo

unread,
Apr 2, 2009, 10:10:05 AM4/2/09
to Google Web Toolkit
you can make some coffe with ant, if your coffeemachine has an ip
adress ^^ like calling a exe or bash file

[code]
<delete dir="${warDir}"/>

<mkdir dir="${warDir}"/>
<mkdir dir="${warDir}/WEB-INF"/>
<mkdir dir="${warDir}/WEB-INF/classes"/>
<mkdir dir="${warDir}/WEB-INF/lib"/>
[/code]

thats your undeployment. have a look at http://ant.apache.org/manual/index.html

tetsuo
Reply all
Reply to author
Forward
0 new messages