|
Re: where do I start with this project [message #1724612 is a reply to message #1724566] |
Wed, 24 February 2016 21:07 |
|
On 02/24/2016 11:18 AM, Jim Abernathy wrote:
> I've only played with the tutorials so far, but I want to start down the
> right path.
>
> I have an old Java 6 web server application I didn't develop but use.
> It uses GWT 2.4.0
>
> I build it with an Ant build.xml file.
> I deploy it to either tomcat 7 or jetty 6.1.23
> While it run internal behind a firewall, I'll like to upgrade the
> software so it's safer if deployed external.
>
> I wonder if I could use Eclipse to debug changes and to test it within
> the IDE?
>
> editing files and running Ant is a very old way of doing things.
>
> Any advice would be appreciated.
First, there's nothing wrong with ant. Sure, we're using Maven or Gradle
now, but there's nothing wrong with it and for what you want to do, at
least at first, don't waste your time fixing what ain't broke.
Yes, you can use Eclipse to debug your web application. Download and
install Eclipse IDE for Java EE Developers.
I've never used GWT, but I don't see why this would be a problem.
Use Tomcat 7 and set up a server.
I've got some cursory notes (that are old-ish) you're welcome to peruse
at http://www.javahotchocolate.com/notes/tomcat-eclipse.html to help you
set up Tomcat, but if you've got time, likely Lars Vogel's tutorial at
http://www.vogella.com/tutorials/EclipseWTP/article.html is worth
pursuing. (You say you've played with tutorials, but which ones and to
do what? Check Lars' out: they're the best.)
The best forum for help developing web applications in Java on Eclipse
is the Eclipse WTP forum.
Hope this helps.
|
|
|
|
Re: where do I start with this project [message #1724722 is a reply to message #1724711] |
Thu, 25 February 2016 15:02 |
|
On 02/25/2016 07:16 AM, Jim Abernathy wrote:
> Thanks for your reply to my question. I will review your suggested
> tutorial. I'd like to see if I can create a workspace using the Ant
> Build file. Would that help get things working faster? The Ant build
> file has pointers to the GWT locations an other paths.
> FYI, I had a bitch of a time logging back in to post this reply. Not
> sure if the forum login screen was having issues or not.
>
> Jim A
Workspaces aren't created or built with ant. They are merely places in
the filesystem for gathering the roots of projects. You create a
workspace (or multiple ones) and tell Eclipse where it is before
beginning to create or import project code.
Paths that lead outside the Eclipse project are problematic and
frustrating for several reasons, but there's nothing that keeps that
from working. Later on, you'll want to abandon how things are done in
this piece of code you are working with and do things "right", but
that's not crucial right now.
Russ
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08344 seconds