This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 28770
Collapse All | Expand All

(-)org/netbeans/nbbuild/MakeNBM.java (-3 / +3 lines)
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;
(-)org/netbeans/nbbuild/MakeUpdateDesc.java (-2 / +2 lines)
Lines 148-154 Link Here
148
                    }
148
                    }
149
                    desc_ent = new File(ent_name);               
149
                    desc_ent = new File(ent_name);               
150
                    desc_ent.delete();
150
                    desc_ent.delete();
151
                    pw.println ("<!DOCTYPE autoupdate_catalog PUBLIC \"-//NetBeans//DTD Autoupdate Catalog 1.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-catalog-1_0.dtd\" [");
151
                    pw.println ("<!DOCTYPE autoupdate_catalog PUBLIC \"-//NetBeans//DTD Autoupdate Catalog 2.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-catalog-2_0.dtd\" [");
152
                    // Would be better to follow order of groups and includes
152
                    // Would be better to follow order of groups and includes
153
                    pw.println ("    <!ENTITY entity SYSTEM \"" + desc_ent.getName() + "\">");
153
                    pw.println ("    <!ENTITY entity SYSTEM \"" + desc_ent.getName() + "\">");
154
                    int inc_num=0;
154
                    int inc_num=0;
Lines 171-177 Link Here
171
                    pw = new java.io.PrintWriter (new java.io.OutputStreamWriter (os));
171
                    pw = new java.io.PrintWriter (new java.io.OutputStreamWriter (os));
172
                    
172
                    
173
                } else {
173
                } else {
174
                    pw.println ("<!DOCTYPE module_updates PUBLIC \"-//NetBeans//DTD Autoupdate Module Info 1.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-info-1_0.dtd\">");
174
                    pw.println ("<!DOCTYPE module_updates PUBLIC \"-//NetBeans//DTD Autoupdate Module Info 2.0//EN\" \"http://www.netbeans.org/dtds/autoupdate-info-2_0.dtd\">");
175
                    pw.println ("<module_updates timestamp=\"" + date + "\">");
175
                    pw.println ("<module_updates timestamp=\"" + date + "\">");
176
                    pw.println ();
176
                    pw.println ();
177
                }
177
                }

Return to bug 28770