facebook

Do I have to re-deploy my project [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Old Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #196999 Reply

    sitomania
    Member

    Hello,

    I have a problem with the new version of MyEclipse GA. If I modify a jsp in Eclipse I can not see the changes till I re deploy the project!
    Please tell me there is a solution for this!
    Thanks
    Jesus

    #197002 Reply

    support-michael
    Keymaster

    Exploded Sync-on-Demand deployment is driven off of the resource changed events and build signals of the Eclipse platform. Please verify that auto-build is enabled. Go to Window>Preferences>Workbench and check the 1st option “Perform build automatically on resource modification”. Save the preferences and perform a Rebuild on the project.

    Let us know the outcome. If the problem persists we need additional information such as platform [Windows, Linux], version of Eclipse that you are using, observations such as JSP compiler is validating/not validating JSP on save, …

    Michael
    MyEclipse Support

    #197017 Reply

    sitomania
    Member

    I was already checked “Perform build automatically”.
    I am using windows Xp
    Eclipse Version: 2.1.0
    My eclipse 2,5
    The jsp compiler is validating on save.

    Jesus

    #197020 Reply

    Scott Anderson
    Participant

    Jesus,

    When you have a project deployed as an exploded archive and you modify a JSP page, can you see if that JSP page was copied out under the app server’s deployment directory?

    –Scott
    MyEclipse Support

    #197022 Reply

    sitomania
    Member

    Hello Scott,
    No, it doesn’t. If I change the file project/hello.jsp and I save it, the webapps/project/hello.jsp is not updated!.
    Ideas ?

    Jesus

    #197025 Reply

    Scott Anderson
    Participant

    Jesus,

    The updates occur whenever both a project is deployed and resource change is detected and this is caused by the builder subsystem. For that to function properly, the workspace preference that Michael pointed you toward must be enabled. Having the ‘Workbench > Perform build automatically on resource modification’ setting turned off is the only thing we’ve seen cause this. Sometimes the setting gets turned of “mysteriously” without developer interaction, so please recheck it and then manually rebuild your project.

    Once you’ve done that, and your project is deployed, try adding a new JSP page with the wizard. Did the new page get deployed?

    Do you have any errors in your log file (workspace/.metatdata/.log). Please check the timestamps and only look at the most recent entries.

    –Scott
    MyEclipse Support

    #197085 Reply

    sitomania
    Member

    Hello Scott,
    I have checked several times and the perform build automatically on resource modification is checked all the time.
    I also have tried to add a new JSP with the wizard, which is not deployed.
    My .log file looks ok.
    I have uninstalled everything ( MyEclipse and Eclipse ) and I have retried again. I even try it with Eclipse 2.1.0 and 2.1.1. I do not know what else could I do? Ideas plesase.

    Jesus

    #197086 Reply

    support-michael
    Keymaster

    I was reviewing this thread and realized there are several assumptions that Scott and I have made. So a few more questions to help isolate this problem:

    1) What exactly is your deployment model [packaged|exploded]? We have been assuming exploded deployment. Note that deployment synchronization is only valid for exploded deployment. Packaged deployments are just marked as out of date and must be manually redeployed by the user.

    2) What appserver are you using? From the other threads we assume it is Tomcat5.

    3) When you deploy is the server running or shutdown?

    3a) Assuming your using exploded deployment, with the server shutdown and your application deployed, try creating a dummy JSP. After the JSP is saved and compiled verify that it has been replicated along with your exploded deployment resources on the appserver.

    Scott and I have been scratching our heads over the number of issues that you are having and really want to see you up and running without further issue.

    Michael
    MyEclipse Support

    #197136 Reply

    sitomania
    Member

    Hello Michael & Scott,
    I have good news, After reinstalling everything ( TOMCAT 5, Eclipse 2.1.1 and Myeclipse GA) everything looks like it works, but do not ask me why. The configuration in all the installations has been the same, it is really weird.
    I think there must be some error with the context path. If you use a path different of the /webappps/webprojectname you get an error and my eclipse has a weird beheiour.
    Thanks guys for all your help,
    Jesus

    #197142 Reply

    support-michael
    Keymaster

    This is really good news. We suspected something environmental. I’m glad you’re up and running.

    Michael
    MyEclipse Support

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Do I have to re-deploy my project [Closed]

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