facebook

Hot deployment for xhtml changes

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #340285 Reply

    hahagal
    Participant

    Hi,

    Whenever I make changes to xhtml files, the changes seems not to be reflected. I need to go to a java page and “tab a space” and save the java file so the build take place and then the xhtml changes will be reflected.

    Is there any settings which we can set for this hot deploy for .xhtml?

    Below is the installation summary.

    Installation details
    *** Date:
    Monday, June 3, 2013 6:01:06 PM SGT

    ** System properties:
    OS=WindowsVista
    OS version=6.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 10.0 Blue
    Build id: 10.0-Blue-20111028

    *** Eclipse details:
    MyEclipse Blue Edition

    Version: 10.0 Blue
    Build id: 10.0-Blue-20111028

    Eclipse Platform

    Version: 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f
    Build id: I20110613-1736

    Eclipse Java Development Tools

    Version: 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B
    Build id: I20110613-1736

    Eclipse Plug-in Development Environment

    Version: 3.7.0.v20110504-0800-7b7qFVpFEx2XnmYtj_9RfO7
    Build id: I20110613-1736

    Eclipse Graphical Editing Framework GEF

    Version: 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
    Build id: 201105020958

    Eclipse RCP

    Version: 3.7.0.v20110216-9DB5Fm1FpBGy_AaVz-mFamgY
    Build id: I20110613-1736

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Users\admin\AppData\Local\Genuitec\MyEclipse Blue Edition 10\myeclipse-blue.exe
    -name
    Myeclipse-blue
    –launcher.library
    C:\Users\admin\AppData\Local\Genuitec\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\admin\AppData\Local\Genuitec\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Users\admin\AppData\Local\Genuitec\MyEclipse Blue Edition 10
    -configuration
    C:\Users\admin\AppData\Local\Genuitec\MyEclipse Blue Edition 10\configuration
    -vm
    C:\Users\admin\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    #340295 Reply

    hahagal,

    Sorry that you are seeing this issue.

    Can you please update your MyEclipse blue 10.0 to MyEclipse blue 10.7.1 ? Go to MyEclipse configuration center > Software tab, select “MyEclipse enterprise workbench 10.7.1” under software updates available section, click on Apply changes and follow the wizard.

    After updating to MyEclipse blue 10.7.1, can you please open MyEclipse in a new workspace and import your existing projects into new workspace and check whether you can replicate the issue ?

    If you can replicate the issue in MyEclipse blue 10.7.1, Can you please mention which application server you are using ? Please mention server name and the version.

    #340326 Reply

    hahagal
    Participant

    Hi pradeep,

    Is there any fixes in version 10.7.1 regarding hot deployment of .xhtml? We are currently happy with version 10 and do not want to update at this moment if possible.

    I am working with WebSphere Application Server 8, fixpack 6.

    #340332 Reply

    hahagal,

    I recommend you download MyEclipse blue 10.7.1 from the following link and install it alongside your MyEclipse blue 10.0 version and check whether you can replicate the issue in MyEclipse blue 10.7.1 ? – http://www.myeclipseide.com/module-htmlpages-display-pid-4.html

    If you can still replicate the issue in MyEclipse blue 10.7.1, can you please answer some more queries to help us investigate further :
    1) Can you please let us know what type of deployment (classic/enhanced/in-workspace/exploded/packaged) you are using ?
    2) Can you please mention in which mode is the server running in (normal/debug mode) ?

    #340362 Reply

    hahagal,

    I apologize for missing your question in my previous reply.

    There were no specific fixes that address this problem during MyEclipse 10.0 and 10.7.1 versions, but there were several other fixes around the server connectors which may have an influence on this. So, I recommend you download/upgrade to MyEclipse blue 10.7.1.

    #340835 Reply

    hahagal
    Participant

    Hi,

    I have installed MEB 2013 version. Problem still persist. Pls advise.

    #340856 Reply

    hahagal,

    We could replicate the issue at our end. I have filed a PR for the dev team to investigate this issue.

    Sorry for the inconvenience caused.

    #340872 Reply

    hahagal
    Participant

    Hi pradeep,

    As we only plan to move to MEB 2013 SR1 only at later time, pls advise if there is any workaround for MEB 10 for now other than “tab a space” and save the frontend java changes.

    #340957 Reply

    support-piotr
    Participant

    Hahagal,

    we are still investigating the issue and will let you know if there is any workaround.

    #341280 Reply

    hahagal
    Participant

    Hi Piotr,

    Any updates?

    #341285 Reply

    support-piotr
    Participant

    Hahagal,

    Sorry for delayed response. The same issue happens on RAD and it is related to mode in which MyFaces are running on WebSphere. If you don’t specify

        <context-param>
            <param-name>javax.faces.PROJECT_STAGE</param-name>
            <param-value>Development</param-value>
        </context-param>

    in web.xml, then MyFaces are running in production mode and everything is cached. Please add that context parameter to you web.xml and redeploy. Of course for production version of application, this parameter has to be removed.

    Let us know if this helped!

    #341531 Reply

    hahagal
    Participant

    Hi piotr,

    Works fine after adding the context-param to web.xml.
    Thanks!

    #342529 Reply

    support-tony
    Keymaster

    Note that the context parameter is now added automatically, in MyEclipse 2013 SR2, which is now available. The context parameter is added when “Development” is chosen as the Project Stage in the new JSF wizard (displayed when the JSF facet is added to the project), shown below.

    If Development is not chosen, xhtml changes will not be picked up via hot deployment (though you can still add the context parameter to web.xml yourself, of course, to alter the project stage manually).

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Hot deployment for xhtml changes

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