| Author |
Message |
|
|
Post subject: Do I have to re-deploy my project [Closed]
Posted: Jul 23, 2003 - 12:04 PM
|
|
Joined: Jul 10, 2003
Posts: 31
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2003 - 02:04 PM
|
|
Moderator


Joined: May 05, 2003
Posts: 1037
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2003 - 03:21 PM
|
|
Joined: Jul 10, 2003
Posts: 31
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2003 - 03:51 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6760
|
|
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 |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2003 - 04:00 PM
|
|
Joined: Jul 10, 2003
Posts: 31
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 23, 2003 - 04:07 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6760
|
|
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 |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 24, 2003 - 10:22 AM
|
|
Joined: Jul 10, 2003
Posts: 31
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 24, 2003 - 12:09 PM
|
|
Moderator


Joined: May 05, 2003
Posts: 1037
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 25, 2003 - 09:44 AM
|
|
Joined: Jul 10, 2003
Posts: 31
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 25, 2003 - 12:59 PM
|
|
Moderator


Joined: May 05, 2003
Posts: 1037
|
|
This is really good news. We suspected something environmental. I'm glad you're up and running.
Michael
MyEclipse Support |
_________________ Michael
MyEclipse Support
Posting Guidelines FYI
When posting a bug report, click the "Insert" button above the message window and fill out the empty fields to help us troubleshoot your problem.
|
| |
|
|
|
 |
|
|