- This topic has 9 replies, 3 voices, and was last updated 21 years, 4 months ago by support-michael.
-
AuthorPosts
-
sitomaniaMemberHello,
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
support-michaelKeymasterExploded 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
sitomaniaMemberI 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
Scott AndersonParticipantJesus,
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
sitomaniaMemberHello 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
Scott AndersonParticipantJesus,
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
sitomaniaMemberHello 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
support-michaelKeymasterI 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
sitomaniaMemberHello 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
support-michaelKeymasterThis is really good news. We suspected something environmental. I’m glad you’re up and running.
Michael
MyEclipse Support -
AuthorPosts