United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6775741 installer xml file should be split up into 2 xml files
JDK-6775741 : installer xml file should be split up into 2 xml files

Details
Type:
Bug
Submit Date:
2008-11-24
Status:
Closed
Updated Date:
2010-09-26
Project Name:
JDK
Resolved Date:
2009-05-13
Component:
install
OS:
generic
Sub-Component:
install
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u14
Fixed Versions:
6u14 (b01)

Related Reports
Backport:

Sub Tasks

Description
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</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</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</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</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</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</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</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</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</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</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</moreinfo>
<AlertTitle>Java Update tillg??nglig</AlertTitle>
<AlertText>En ny Javaversion ??r redo att installeras!</AlertText>
</information>
</java-update>

                                    

Comments
EVALUATION

The CR description pretty much sums it up.  There no code changes, just prototype xml file changes and 1 Makefile change.
                                     
2009-01-05



Hardware and Software, Engineered to Work Together