- This topic has 5 replies, 2 voices, and was last updated 16 years ago by Loyal Water.
-
AuthorPosts
-
Holger LingeParticipantHi
A rather strange effect here. I’ve started a JSF web project, using exploded deployment on the myEclipse-Tomcat. Now, after changing and saving a XHTML-File, is is NOT deployed instantly. Instead of, after 40 seconds of waiting, myEclipse states “building workspace” in the upper right corner of the screen for a split of a second, and THEN the file is copied to the server.
I have no clue what’s the reason for this behaviour.
Currently i need to stop the server, make a complete redeploy, and start the server again to make my changes visible. I checked for file locks with ProcessExplorer, but the deployed file is accessible all the time.
Holger
Here’s the installation summary:
*** Date:
Donnerstag, 23. Oktober 2008 11.48 Uhr CEST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_07*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0 Milestone-2
Build id: 7.0-M2-20080915*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0 Milestone-2
Build id: 7.0-M2-20080915Eclipse Platform
Version: 3.4.0.v20080610-9I96EhtEm-T_5LxIsybz-3MdGZmOA3uwv7Ka_M
Build id: I20080617-2000Eclipse Project SDK
Version: 3.4.0.v20080522-7O7S-CHEp2gcoGjmFFomLz-d5M8NdvuPgDrH17jw0Mvhe
Build id: I20080617-2000Eclipse Graphical Editing Framework GEF
Version: 3.4.0.v20080115-677-8082A5696H274A
Build id: 200806091334Eclipse RCP
Version: 3.4.0.v20080324a-989JERhEk-jWnd5IY8K5tjxB
Build id: I20080617-2000Eclipse Java Development Tools
Version: 3.4.0.v20080603-2000-7o7tEAXEFpPqqoXxgaBhhhq
Build id: I20080617-2000Eclipse Plug-in Development Environment
Version: 3.4.0.v20080603-7T7U-E_EkMNrNKb39WcMC
Build id: I20080617-2000Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
C:\MyEclipse 7.0 M2\eclipse\plugins\com.genuitec.myeclipse.product_6.9.200.zmyeclipse69200200809\splash.bmp
-launcher
C:\MyEclipse 7.0 M2\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
C:\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
-startup
C:\MyEclipse 7.0 M2\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
-clean
-vm
C:\Programme\Java\jre1.6.0_07\bin\client\jvm.dll
Loyal WaterMemberkalo,
I was unable to reproduce this issue at my end. The xhtml file changes get deployed right away for me. Can you switch to a new workspace and check if you are able to reproduce this issue.
Holger LingeParticipantThe name’s Holger. I prefer my code stirred, not shaken 😉
I’ve assembled a testcase. Please try the following:
Create a new web project with maven support
– Web root: /src/main/webapp
– Source: /src/main/javaCreate directory /src/main/webapp/pages
Link /src/main/webapp to “WebRoot” in build path properties
Create file “webapp.xhtml” in /src/main/webapp/pages
Create file “webroot.xhtml” in /WebRoot
– Note message: File is not a Web Project and will not be deployable.Deploy project
– webapp.xhtml => Deployed
– webroot.xhtml => NothingChange the files
– webapp.xhtml => Deployed
– webroot.xhtml => NothingI have no clue where myEclipse stores the difference between these two files. But i believe this is the root cause of my files not being deployed.
Holger
Holger LingeParticipantOops
Create file “webroot.xhtml” in /WebRoot/pages
Holger LingeParticipantOk, i just checked my original project. I deleted the xhtml-file, and recreated in /src/main/webapp/pages instead of the linked folder WebRoot/pages. Now the file is hot-deployed instantly on change.
Holger
Loyal WaterMemberHolger,
Glad to know that the hot-deployment is working fine now. -
AuthorPosts