Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
Hi, +1 for Sphinx and EATOP good to know that the script is useful for other projects as well. :-) If you want to start re-using our remote-resources bundle right now, you can grab it from repo.eclipse.org [1]. Please let me know if you have any problem with integrating this into your Tycho build along the lines of [2], lines 42-73. Best wishes, Andreas [1] https://repo.eclipse.org/content/repositories/recommenders/org/eclipse/recommenders/repository-resources/2.0.7/ [2] https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/repositories/pom.xml?id=ad3fd1f539d0239110ea89c7c9e8764d8e788b0a#n42 -- Codetrails UG (haftungsbeschränkt) The knowledge transfer company Robert-Bosch-Str. 7, 64293 Darmstadt Mobile: +49-170-811-3791 http://www.codetrails.com/ Managing Director: Dr. Marcel Bruch Handelsregister: Darmstadt HRB 91940 ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
Hi Andreas, Thank you for the script, we've applied it. I cannot understand why this script isn't generated by Eclipse automatically when you create a build. There is the problem that the default update site includes invalid script, so every project should resolve this problem on their own way. Let's recommend to use this script as the standard output for the build process. Who else is interested? Best regards, Igor Vinnykov Subversive Team -Original Message- From: cross-project-issues-dev-boun...@eclipse.org [mailto:cross-project-issues-dev-boun...@eclipse.org] On Behalf Of Andreas Sewe Sent: Thursday, May 22, 2014 1:01 PM To: cross-project-issues-dev@eclipse.org Subject: Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11 Hi, I don't know if there is a recommended format, but my 2 cents are: From a release engineer's point of view, I'd rather generate the index.html statically as part of the build than rely on runtime javascript. Bug 424691 may be of interest. At Code Recommenders, we use the solution presented there to include an index.php [1] in our update sites, which then does the content listing (download.eclipse.org allows PHP). So this solution falls somewhere between generating the list at build time and generating it in the user's browser using JavaScript. If there is a desire to establish a recommended format, I think the CBI project should offer something akin to our repository-resources artifact which can be easily included in CBI (= Tycho) builds. Hope this helps. Andreas [1] https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/re leng/repository-resources/resources/index.php.vm -- Codetrails UG (haftungsbeschränkt) The knowledge transfer company Robert-Bosch-Str. 7, 64293 Darmstadt Mobile: +49-170-811-3791 http://www.codetrails.com/ Managing Director: Dr. Marcel Bruch Handelsregister: Darmstadt HRB 91940 ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
+1 for Sphinx and EATOP Stephan 2014-05-23 17:23 GMT+02:00 Igor Vinnykov igor.vinny...@polarion.com: Hi Andreas, Thank you for the script, we've applied it. I cannot understand why this script isn't generated by Eclipse automatically when you create a build. There is the problem that the default update site includes invalid script, so every project should resolve this problem on their own way. Let's recommend to use this script as the standard output for the build process. Who else is interested? Best regards, Igor Vinnykov Subversive Team -Original Message- From: cross-project-issues-dev-boun...@eclipse.org [mailto:cross-project-issues-dev-boun...@eclipse.org] On Behalf Of Andreas Sewe Sent: Thursday, May 22, 2014 1:01 PM To: cross-project-issues-dev@eclipse.org Subject: Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11 Hi, I don't know if there is a recommended format, but my 2 cents are: From a release engineer's point of view, I'd rather generate the index.html statically as part of the build than rely on runtime javascript. Bug 424691 may be of interest. At Code Recommenders, we use the solution presented there to include an index.php [1] in our update sites, which then does the content listing (download.eclipse.org allows PHP). So this solution falls somewhere between generating the list at build time and generating it in the user's browser using JavaScript. If there is a desire to establish a recommended format, I think the CBI project should offer something akin to our repository-resources artifact which can be easily included in CBI (= Tycho) builds. Hope this helps. Andreas [1] https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/re leng/repository-resources/resources/index.php.vm -- Codetrails UG (haftungsbeschränkt) The knowledge transfer company Robert-Bosch-Str. 7, 64293 Darmstadt Mobile: +49-170-811-3791 http://www.codetrails.com/ Managing Director: Dr. Marcel Bruch Handelsregister: Darmstadt HRB 91940 ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
Your site index also doesn't load in Chrome 35.0.1916.114 m. I get Uncaught TypeError: undefined is not a function (index):14 I don't know if there is a recommended format, but my 2 cents are: From a release engineer's point of view, I'd rather generate the index.html statically as part of the build than rely on runtime javascript. From a user's point of view, I find the information what to do with the site - i.e. install instructions like on the emf site you linked to - much more useful than the content listing (although having that can be neat at times, too). Best, Carsten On 22.05.2014 11:23, Igor Vinnykov wrote: Hello, One of our users reported the problem that the auto-generated update site http://download.eclipse.org/technology/subversive/1.1/update-site/ cannot be opened in IE11. I see that when this URL is opened in IE11 the page is blank. When it's opened in FF then I can see everything like before - plug-ins and their versions. It seems that the script that generates page content on-fly isn't compatible with latest IE. At the same time updates sites of other projects look differently - http://download.eclipse.org/modeling/emf/emf/updates/releases/ The questions are: 1. How should we generate update sites to get content that can be displayed on all modern browsers? 2. Which update site format is up-to-date? Any recommendations will be appreciated. Best regards, Igor Vinnykov Subversive Team ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev -- Yatta Solutions GmbH - Carsten Reckord - t +49 (0)561 5743277-33 f +49 (0)561 5743277-8833 e reck...@yatta.de Anschrift Office Kassel Ludwig-Erhard-Straße 12 34131 Kassel Anschrift Office Frankfurt a.M. Mainzer Landstraße 50 60325 Frankfurt a.M. Sitz, Handelsregister: Sitz der Gesellschaft: Kassel Amtsgericht Kassel, HRB 14720 USt-IdNr DE263191529 Geschäftsführung: Johannes Jacop Dr. Christian Schneider Kontakt Geschäftsstelle: t +49 (0)561 5743277-0 f +49 (0)561 5743277-88 e i...@yatta.de ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
Hi, I don't know if there is a recommended format, but my 2 cents are: From a release engineer's point of view, I'd rather generate the index.html statically as part of the build than rely on runtime javascript. Bug 424691 may be of interest. At Code Recommenders, we use the solution presented there to include an index.php [1] in our update sites, which then does the content listing (download.eclipse.org allows PHP). So this solution falls somewhere between generating the list at build time and generating it in the user's browser using JavaScript. If there is a desire to establish a recommended format, I think the CBI project should offer something akin to our repository-resources artifact which can be easily included in CBI (= Tycho) builds. Hope this helps. Andreas [1] https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/releng/repository-resources/resources/index.php.vm -- Codetrails UG (haftungsbeschränkt) The knowledge transfer company Robert-Bosch-Str. 7, 64293 Darmstadt Mobile: +49-170-811-3791 http://www.codetrails.com/ Managing Director: Dr. Marcel Bruch Handelsregister: Darmstadt HRB 91940 ___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
Re: [cross-project-issues-dev] Update site content cannot be displayed in IE11
Hi, Here are the warning and error (respectively) that that F12 Developer tools in IE11 say about the page: HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: !DOCTYPE html. File: update-site, Line: 1, Column: 1 SCRIPT438: Object doesn't support property or method 'load' File: update-site, Line: 14, Column: 4 The problem is that unlike what the page implies in a comment (“Use the standard DOM Level 2 technique, if it is supported”), according to an outdated Mozilla documentation page: “document.load() is a part of an old version of the W3C DOM Level 3 Load Save module. Mozilla currently implements only the load() method and the document.async property.” The Load and Save module recommendation in turn says in section 1.3 Fundamental Interfaces: “The interfaces within this section are considered fundamental, and must be fully implemented by all conforming implementations of the DOM Load and Save module. A DOM application may use the hasFeature(feature, version) method of the DOMImplementation interface with parameter values LS (or LS-Async) and 3.0 (respectively) to determine whether or not these interfaces are supported by the implementation.” Unfortunately the code on the page doesn’t check whether this badly-supported and outdated DOM Level 3 API is implemented. It is interpreting support for DOM Level 2 to mean support for both. Mozilla recommends using XMLHttpRequest: “As of at least Gecko 1.9, this no longer supports cross-site loading of documents (Use XMLHttpRequest instead).” -- Have a nice day, Timo. Sent from Windows Mail From: Igor Vinnykov Sent: Thursday, May 22, 2014 12:23 To: cross-project-issues-dev@eclipse.org Hello, One of our users reported the problem that the auto-generated update site http://download.eclipse.org/technology/subversive/1.1/update-site/ cannot be opened in IE11. I see that when this URL is opened in IE11 the page is blank. When it's opened in FF then I can see everything like before - plug-ins and their versions. It seems that the script that generates page content on-fly isn't compatible with latest IE. At the same time updates sites of other projects look differently - http://download.eclipse.org/modeling/emf/emf/updates/releases/ The questions are: 1. How should we generate update sites to get content that can be displayed on all modern browsers? 2. Which update site format is up-to-date? Any recommendations will be appreciated. Best regards, Igor Vinnykov Subversive Team___ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev