Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6775741

installer xml file should be split up into 2 xml files

XMLWordPrintable

    • b01
    • generic
    • generic
    • Not verified

        The current xml file that we generate for each build is used for both the online installer and auto-update. There is very little overlap between the 2, and I don't see any benefit on keeping them combined. It's very confusing and error prone.

        I was thinking we should split the update-descriptor file into 2 xml files:

        1. the online-installer-descriptor file
        2. the auto-update-descriptor file

        The online-installer-descriptor file would include the following elements and will only be used by the online/offline-s installers:

        <msi-url>
        http://javadl.sun.com/webapps/download/GetFile/1.6.0_12-ea-b01/windows-i586
        </msi-url>
        <sponsor-preference>SP1;SP4;SP3</sponsor-preference>
        <post-status>https://sjremetrics.java.com/b/ss//6&lt;/post-status>
        <cntry-lookup>
        http://jal.sun.com/webapps/installstat/CountryLookup
        </cntry-lookup>
        <online-options>
        ED=0 SP5OFF=1 SP2OFF=1 SPWEB=http://javadl-esd.sun.com/update/1.6.0/sp-1.6.0_12-ea-b01
        </online-options>
        <offline-options>
        ED=0 SP5OFF=1 SP2OFF=1 SPWEB=http://javadl-esd.sun.com/update/1.6.0/sp-1.6.0_12-ea-b01
        </offline-options>

        The auto-update-descriptor file would include everything else at the end of this email (which is actually the bulk of the current xml file), and will only be used for the auto-updating of this particular built version of the JRE.

        There's been a lot of confusion lately between Dev engineers and Download Eng people about what does what, especially with the addition of the checksum work. I think it would simplify things if we split it up into 2 files. If you're looking at the online-installer-descriptor xml file, you can easily figure out what does what, and same if you were looking at an auto-update-descriptor xml file.

        Also, it's a waste of bandwidth to download this full file 2 times for every auto-update experience.

        Here's what will go in the auto-update-descriptor xml file:

        <caption>Java Update - Update Available</caption>
        <title>Java Update Available</title>
        -
        <title2>
        Java 6 Update 12 is ready to install. Click the Install button to update Java now.
        </title2>
        <description>
        If you wish to update Java later, click the Later button. To get a FREE copy of OpenOffice.org, the global standard in free, Microsoft compatible office productivity software, just click the More Information link below.
        </description>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Java Update Available</AlertTitle>
        <AlertText>A new version of Java is ready to be installed.</AlertText>
        <moreinfotxt>More information...</moreinfotxt>
        <url>
        http://javadl.sun.com/webapps/download/GetFile/1.6.0_12-ea-b01/windows-i586/jre-6u12-ea-windows-i586-p-iftw.exe
        </url>
        <version>1.6.0_12-ea-b01</version>
        <predownload/>
        <options>
        /installmethod=jau ED=0 SP5OFF=1 SP2OFF=1 SPWEB=http://javadl-esd.sun.com/update/1.6.0/sp-1.6.0_12-ea-b01
        </options>
        </information>
        -
        <information version="1.1" xml:lang="zh">
        <caption>Java Update - ????</caption>
        <title>???? Java ????</title>
        <title2>Java 6 Update 12 ????,????“??”???????</title2>
        -
        <description>
        ????????,????“??”??????????????????????? Microsoft ???????? OpenOffice.org ???????,??????“????...”?
        </description>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>???? Java ????</AlertTitle>
        <AlertText>Java ????????,?????</AlertText>
        <moreinfotxt>????...</moreinfotxt>
        </information>
        -
        <information version="1.1" xml:lang="zh_TW">
        <caption>Java Update - ????</caption>
        <title>???? Java ????</title>
        <title2>Java 6 Update 12 ?????,????????????????</title2>
        -
        <description>
        ?????????,?????????????????????????????? Microsoft ???????? OpenOffice.org ???????,????????????...??
        </description>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>???? Java ????</AlertTitle>
        <AlertText>Java ????????,???????</AlertText>
        <moreinfotxt>????...</moreinfotxt>
        </information>
        -
        <information version="1.1" xml:lang="ja">
        <caption>Java Update - ???????????</caption>
        <title>???????????</title>
        -
        <title2>
        Java 6 Update 12 ????????????????????????????????? Java ?
        </title2>
        -
        <description>
        ???????????? Java ??????????????????????????????Microsoft Office ????????????????????????OpenOffice ??????????????????????...????????????
        </description>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>???????????</AlertTitle>
        <AlertText>????????? Java ????????????????</AlertText>
        <moreinfotxt>????...</moreinfotxt>
        </information>
        -
        <information version="1.1" xml:lang="ko">
        <caption>Java ???? – ???? ?? ??</caption>
        <title>Java ???? ?? ??</title>
        -
        <title2>
        ?? Java 6 Update 12?(?) ??? ??? ?????. Java? ?? ??????? “??” ??? ??????. Java? ??? ??????? “???”? ??????.
        </title2>
        -
        <description>
        Microsoft? ??? ??? ??? ?????, ????? FREE copy? OpenOffice.org? ????? ?? “??? ??” ??? ??????.
        </description>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Java ???? ?? ??</AlertTitle>
        <AlertText>??? ??? Java? ?? ???????.</AlertText>
        <moreinfotxt>??? ?? ...</moreinfotxt>
        </information>
        -
        <information version="1.1" xml:lang="de">
        <caption>Java-Update - Update verfügbar</caption>
        <title>Java Update verfügbar</title>
        -
        <title2>
        Ein Java 6 Update 12 steht zur Installation bereit.
        </title2>
        -
        <description>
        Klicken Sie auf Installieren, um Java jetzt zu aktualisieren. Falls Sie Java später aktualisieren möchten, klicken Sie auf Später. Um eine KOSTENLOSE Kopie von OpenOffice, dem globalen Standard in kostenloser Microsoft Office kompatibeler Produktivitätssoftware, zu erhalten, reicht auf "Weitere Informationen ..." zu klicken.
        </description>
        <moreinfotxt>Weitere Informationen ...</moreinfotxt>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Update verfügbar</AlertTitle>
        -
        <AlertText>
        Eine neue Version von Java steht zur Installation bereit.
        </AlertText>
        </information>
        -
        <information version="1.1" xml:lang="es">
        <caption>Actualización Java - Actualización disponible</caption>
        <title>Actualización Java disponible</title>
        -
        <title2>
        La actualización 12 de Java 6 está lista para instalar.
        </title2>
        -
        <description>
        Haga clic en Instalar para actualizar Java ahora. Si desea actualizar más tarde, haga clic en el botón Más tarde. Para obtener una copia GRATIS de OpenOffice, el estándar global gratis en compatibilidad con Microsoft software, haga clic en "Mas información ..." en el siguiente enlace.
        </description>
        <moreinfotxt>Más información ...</moreinfotxt>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Actualización Java disponible</AlertTitle>
        -
        <AlertText>
        Hay una nueva versión de Java lista para instalarse.
        </AlertText>
        </information>
        -
        <information version="1.1" xml:lang="fr">
        <caption>Mise à jour Java - Mise à jour disponible</caption>
        <title>Mise à jour Java disponible</title>
        <title2>Java 6 Mise à jour 12 est prêt à être installé.</title2>
        -
        <description>
        Cliquez sur le bouton Installer pur mettre à jour Java maintenant. Si vous souhaitez faire la mise à jour plus tard, cliquez sur le bouton Ultérieurement. Pour recevoir une copie GRAUITE d'OpenOffice, le standard global des logiciels de productivité gratuits et compatibles à Microsoft Office, cliquez sur le lien "Plus d'information..." ci-dessous.
        </description>
        <moreinfotxt>En savoir plus ...</moreinfotxt>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Mise à jour Java disponible</AlertTitle>
        -
        <AlertText>
        Une nouvelle version de Java est prête à être installée.
        </AlertText>
        </information>
        -
        <information version="1.1" xml:lang="it">
        <caption>Aggiornamento Java - Aggiornamento disponibile</caption>
        <title>Aggiornamento Java disponibile</title>
        -
        <title2>
        L'aggiornamento 12 di Java 6 è pronto per l'installazione.
        </title2>
        -
        <description>
        Per aggiornare Java ora, fare clic su "Installa". Per aggiornare Java in un secondo momento, fare clic su "In seguito". Per ricevere una copia GRATUITA di OpenOffice, il software standard gratuito globale per la produttività compatibile con Microsoft Office, è sufficiente fare clic su "Ulteriori informazioni...".
        </description>
        <moreinfotxt>Ulteriori informazioni ...</moreinfotxt>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Aggiornamento Java disponibile</AlertTitle>
        <AlertText>Nuova versione di Java pronta per l'installazione.</AlertText>
        </information>
        -
        <information version="1.1" xml:lang="sv">
        <caption>Java Update - Uppdatering tillgänglig</caption>
        <title>Java Update tillgänglig</title>
        <title2>Java 6 Uppdatering 12 är redo att installeras nu!</title2>
        -
        <description>
        Klicka på Installera för att uppdatera Java nu. Klicka på Senare om du vill uppdatera Java senare. För att få en gratis-version av OpenOffice, den globala standarden när det gäller kostnadsfri Microsoft Office-kompatibel programvara, klicka bara på länken "Mer information ..." här nedan.
        </description>
        <moreinfotxt>Mer information ...</moreinfotxt>
        <moreinfo>http://java.com/infourl&lt;/moreinfo>
        <AlertTitle>Java Update tillgänglig</AlertTitle>
        <AlertText>En ny Javaversion är redo att installeras!</AlertText>
        </information>
        </java-update>

              billyh William Harnois
              billyh William Harnois
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: