Lines 428-434
Link Here
|
428 |
PrintWriter ps = new PrintWriter(new OutputStreamWriter(infoStream, "UTF-8")); |
428 |
PrintWriter ps = new PrintWriter(new OutputStreamWriter(infoStream, "UTF-8")); |
429 |
// Begin writing XML. |
429 |
// Begin writing XML. |
430 |
ps.println ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); |
430 |
ps.println ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); |
431 |
ps.println("<!DOCTYPE module PUBLIC \"-//NetBeans//DTD Autoupdate Module Info 1.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-info-1_0.dtd\">"); |
431 |
ps.println("<!DOCTYPE module PUBLIC \"-//NetBeans//DTD Autoupdate Module Info 2.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-info-2_0.dtd\">"); |
432 |
String codenamebase = attr.getValue ("OpenIDE-Module"); |
432 |
String codenamebase = attr.getValue ("OpenIDE-Module"); |
433 |
if (codenamebase == null) |
433 |
if (codenamebase == null) |
434 |
throw new BuildException ("invalid manifest, does not contain OpenIDE-Module", location); |
434 |
throw new BuildException ("invalid manifest, does not contain OpenIDE-Module", location); |
Lines 468-475
Link Here
|
468 |
it = attrNames.iterator(); |
468 |
it = attrNames.iterator(); |
469 |
while (it.hasNext()) { |
469 |
while (it.hasNext()) { |
470 |
String name = (String)it.next(); |
470 |
String name = (String)it.next(); |
471 |
// Ignore irrelevant attributes (cf. www/www/dtds/autoupdate-catalog-1_0.dtd |
471 |
// Ignore irrelevant attributes (cf. www/www/dtds/autoupdate-catalog-2_0.dtd |
472 |
// and www/www/dtds/autoupdate-info-1_0.dtd): |
472 |
// and www/www/dtds/autoupdate-info-2_0.dtd): |
473 |
if (! name.startsWith("OpenIDE-Module")) continue; |
473 |
if (! name.startsWith("OpenIDE-Module")) continue; |
474 |
if (name.equals("OpenIDE-Module-Localizing-Bundle")) continue; |
474 |
if (name.equals("OpenIDE-Module-Localizing-Bundle")) continue; |
475 |
if (name.equals("OpenIDE-Module-Install")) continue; |
475 |
if (name.equals("OpenIDE-Module-Install")) continue; |