facebook

Hot deploy doesn’t work for dependent projects

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #240320 Reply

    yeecn
    Member

    Hi,

    I noticed that the hot deploy won’t work for dependent project. If my web project W dependent on another project P, if I make changes in P, the changes will not get deployed. Restarting the server won’t work either. The only things that work is to redeploy the whole project.

    I am using

    Eclipse 3.1.1
    MyEclipse 4.0.3 (same problems with MyEclipse 4.0.2)
    Tomcat 5.5.9

    Yes – I did eclipes -clean, and I clean and recompiled my projects as well.

    #240361 Reply

    Riyad Kalla
    Member

    It depends on your deployment settings for dependent projects. You need to set it to explode the dependent project, not package it and put it in the /lib dir (which is the default, Smart Deployment IIRC)

    #240396 Reply

    yeecn
    Member

    That’s what I have.

    Below are my other deployment settings:

    -Jar dependent projects and place in the ‘lib’ directory
    (should I uncheck this option?)

    Library Deployment settigns all checked as well.

    Regards,
    Yee

    #240397 Reply

    Riyad Kalla
    Member

    Yee,
    I’m sorry I didn’t state that very clearly, what you need to do under your Deployment settings for “Dependent Java Project Deployment Policy” is to select the “use Smart Deployment” option and then you have to use an exploded deployment to your app server. Do *not* select “Jar dependent projects and place them in the lib directory”, that won’t allow you to deploy dependent changes real-time.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Hot deploy doesn’t work for dependent projects

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