November 17, 2016 at 3:16 am #503681
Running myEclipse 2016 CI 7
I just checked out one of my projects, deployed, and getting warnings about invalid xhtml. I found these strange additions, only in the deployed/filtered code:
data-genuitec-lp-enabled=”false” data-genuitec-file-id=”wc1-96″ data-genuitec-path=”/kaloform-webapp/src/main/webapp/templates/common.xhtml”
I don’t have gapdebug installed, so why’s that stuff generated into my code?
HolgerNovember 17, 2016 at 12:22 pm #503701
The script gets injected into the deployed files like JSP,HTML, XHTML,CSS for use by CodeLive to enhance the deployed files and to be able to enable Live Preview feature for those files. The script is only generated when the CodeLive is enabled on the server/deployment.
The reference to http://gapdebug.local.genuitec.com/ is a service we use for websocket and is not running the Gap Debug tooling (mobile app debugger). It looks like we have reused the name gapdebug for some certificates and is no way related to the Gap Debug tool.
You can turn off CodeLive from the Servers view to stop injecting the script into your files during deployment. Turning off CodeLive will trigger a new deployment and the scripts will no longer be injected.
Please refer to this tutorial for more information about CodeLive : https://www.genuitec.com/products/webclipse/learning-center/using-live-preview/
For instructions on turning the CodeLive on/off, please refer to section ‘1.1 Turning CodeLive On/Off’ in the above tutorial.
If you are still seeing issues with XHTML files even after turning off CodeLive, then please let us know what exact errors are being reported for those files to help us investigate further.
Apologies for inconvenience caused. Please let us know how it works for you.
MyEclipse SupportJuly 13, 2017 at 8:55 pm #530388
Your answer is right. Thanks Swapna.