For automating the deployment (instead of manually copying) ant is the
only way to go.  I've heard stories that Maven is even easier, but we
haven't jumped onto that band wagon (yet).  When we build with no
server, we have an ant build file that does all that, and then deploys
to our external server.  We do it old school and jump out to the file
system and run via command line, but I've done from inside Eclipse as
well.


On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I'm developing a project with GWT + Servlets + MySQL. At this point,
> I've got the project setup using the "-noserver" flag and I have
> Connector/J configured on an external Tomcat 6 server so that my
> servlets can access the DB. Communication to/from server is through
> GWT-RPC .
>
> My Problem: This is a bit of a pain b/c anytime I make a change to the
> servlet code (which resides in the same Eclipse project as my GWT
> code...and I'd prefer to keep it this way), I have to copy the *.class
> file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
> INF/classes/blahblahblah folder.
>
> This seems extremely manual and I'm hopeful that there's a better way
> to do it. What is the recommended way of doing this type of
> development? Ideally, I'd it would just pickup the changes to both the
> client and server code as it used to when I was working in hosted
> mode. Unfortunately, I couldn't figure out how to get MySQL and
> Connector/J setup in the integrated Tomcat, so I went with the "-
> noserver" option and configured it with an external instance of Tomcat
> instead. This manual copying crap is starting to get super annoying,
> so I'm reaching out for help.
>
> What's the best practices for this?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to