facebook

Faster method for development with Tomcat?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #228218 Reply

    snaef
    Member

    Hi,

    I am developing a Sruts app using Tomcat 4.(?) Is there a faster way to redeploy when I encounter a bug?

    I am using Dreamweaver to edit my tile jsp’s. Here is what I am currently doing:

    edit jsp, stop Tomcat thread via console tab, redeply via toolbar, restart tomcat via tool bar drop down.

    This really takes a lot of time. I’m new so working this way was OK while I found my way around the IDE, but now its increasingly a pain.

    I’m sure there has to be a better way, I just dont know it.

    -Scott

    #228219

    snaef
    Member

    Update –

    I did some testing and I found that MyEclipse does not detect updates to files done outside the IDE so the hot sync does not take place.

    If I refresh the file list from the Navigator tab the IDE will see the change and hot sync the file.

    Are there any ways to force the ide to notice the change in the file automatically?

    #228223

    Riyad Kalla
    Member

    Are there any ways to force the ide to notice the change in the file automatically?

    This is a behavior of the base Eclipse platform, and this is done on purpose. The only way to automatically “notice” changed files is to poll the files every X interval, you can imagine on HUGE projects this would be an absolute killer for performance, it is up to your to manually refresh the project or directories with new files.

    On a side note, our 4.0 version will ship with our new HTML/JSP editor that will have design/development features on par with Dreamweaver and will get further enhanced in following releases. Please note that we don’t intend to do the “kitchen sink” approach that Dreamweaver has, but we hope you find what you need in this next release.

    #228296

    snaef
    Member

    Thanks for your reply. I will look forward to testing out the new HTML tools….round tripping is a pain.

    #234189

    Finch
    Member

    Just stumbled across this post. Maybe you’ve long solved it.
    Maybe not… In both Eclipse 3 and 3.1, there are options “Refresh automatically” in Window -> Preferences (-> General) -> Workspace/Workbench.
    Haven’t tried them, but I suppose they do what you need. You’ll just have to try it to see if the performance impact is acceptable…

    Good luck!

    P.S.:
    @support-rkalla wrote:

    This is a behavior of the base Eclipse platform, and this is done on purpose. The only way to automatically “notice” changed files is to poll the files every X interval, you can imagine on HUGE projects this would be an absolute killer for performance,

    At least in Windows, that’s only partially true. There are API hooks to monitor directories for changes and receive Windows events as soon as they change. I have no clue if Eclipse uses them, though. They might want to stay more “platform independent”, but then again… SWT… who knows…

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Faster method for development with Tomcat?

You must be logged in to post in the forum log in