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.

Bug 120537 - Broken AU from editor.indent/1 -> /0 change
Summary: Broken AU from editor.indent/1 -> /0 change
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-10-30 18:43 UTC by Jesse Glick
Modified: 2007-11-15 18:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-10-30 18:43:58 UTC
See test results, e.g.

Problems found for module org.netbeans.modules.java.source: [The module named org.netbeans.modules.editor.indent/1 was
needed and not found.]

The problem is that when you decremented editor.indent's major release version to 0, you broke compatibility for any
existing binary NBMs which might have depended on e.i/1. Updating their project.xml to ask for e.i/0 is not enough
because you have not pushed the new versions to potential AU clients. For every module with a former dep on e.i/1 you
must increment its specification version (whether OIDE-M-S-V in manifest.mf or spec.version.base in project.properties).
Comment 1 Vitezslav Stejskal 2007-10-30 19:26:54 UTC
Well, the reason for this change was to mark the module and its API as under development. But because we also removed
the API from the official packages and if I'm reading http://openide.netbeans.org/tutorial/api.html#stable correctly the
major version does not have to be /0 in this case. So, I'm going to change it to /2 to properly mark the incompatible
change. Please let me know if my understanding the API stabilization process is not right or if you see other problems.
Thanks
Comment 2 Jesse Glick 2007-10-30 21:58:32 UTC
Switching to /2 sounds fine to me. You will still need to incr spec versions on modules with a dep on it.
Comment 3 Jiri Rechtacek 2007-10-31 12:32:38 UTC
*** Issue 120466 has been marked as a duplicate of this issue. ***
Comment 4 Vitezslav Stejskal 2007-10-31 13:18:13 UTC
Should be fixed now. The versions are editor.indent/2 = 1.5. I updated the dependencies and increased spec version
numbers of all the dependent modules.

Checking in javadoc/nbproject/project.properties;
/cvs/javadoc/nbproject/project.properties,v  <--  project.properties
new revision: 1.11; previous revision: 1.10
done
Checking in javadoc/nbproject/project.xml;
/cvs/javadoc/nbproject/project.xml,v  <--  project.xml
new revision: 1.30; previous revision: 1.29
done
Checking in editor/indent/manifest.mf;
/cvs/editor/indent/manifest.mf,v  <--  manifest.mf
new revision: 1.5; previous revision: 1.4
done
Checking in editor/indent/apichanges.xml;
/cvs/editor/indent/apichanges.xml,v  <--  apichanges.xml
new revision: 1.8; previous revision: 1.7
done
Checking in apisupport/project/nbproject/project.xml;
/cvs/apisupport/project/nbproject/project.xml,v  <--  project.xml
new revision: 1.63; previous revision: 1.62
done
Checking in apisupport/project/nbproject/project.properties;
/cvs/apisupport/project/nbproject/project.properties,v  <--  project.properties
new revision: 1.42; previous revision: 1.41
done
Checking in languages/engine/nbproject/project.xml;
/cvs/languages/engine/nbproject/project.xml,v  <--  project.xml
new revision: 1.20; previous revision: 1.19
done
Checking in languages/engine/nbproject/project.properties;
/cvs/languages/engine/nbproject/project.properties,v  <--  project.properties
new revision: 1.7; previous revision: 1.6
done
Checking in html/manifest.mf;
/cvs/html/manifest.mf,v  <--  manifest.mf
new revision: 1.55; previous revision: 1.54
done
Checking in web/core/nbproject/project.xml;
/cvs/web/core/nbproject/project.xml,v  <--  project.xml
new revision: 1.32; previous revision: 1.31
done
Checking in web/core/nbproject/project.properties;
/cvs/web/core/nbproject/project.properties,v  <--  project.properties
new revision: 1.12; previous revision: 1.11
done
Checking in ruby/gsf/nbproject/project.properties;
/cvs/ruby/gsf/nbproject/project.properties,v  <--  project.properties
new revision: 1.12; previous revision: 1.11
done
Checking in ruby/gsf/nbproject/project.xml;
/cvs/ruby/gsf/nbproject/project.xml,v  <--  project.xml
new revision: 1.12; previous revision: 1.11
done
Checking in java/source/nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v  <--  project.properties
new revision: 1.38; previous revision: 1.37
done
Checking in java/source/nbproject/project.xml;
/cvs/java/source/nbproject/project.xml,v  <--  project.xml
new revision: 1.36; previous revision: 1.35
done
Checking in web/jspsyntax/nbproject/project.xml;
/cvs/web/jspsyntax/nbproject/project.xml,v  <--  project.xml
new revision: 1.37; previous revision: 1.36
done
Checking in web/jspsyntax/nbproject/project.properties;
/cvs/web/jspsyntax/nbproject/project.properties,v  <--  project.properties
new revision: 1.30; previous revision: 1.29
done
Checking in web/jsf/nbproject/project.xml;
/cvs/web/jsf/nbproject/project.xml,v  <--  project.xml
new revision: 1.28; previous revision: 1.27
done
Checking in web/jsf/nbproject/project.properties;
/cvs/web/jsf/nbproject/project.properties,v  <--  project.properties
new revision: 1.19; previous revision: 1.18
done
Checking in xml/tageditorsupport/nbproject/project.properties;
/cvs/xml/tageditorsupport/nbproject/project.properties,v  <--  project.properties
new revision: 1.16; previous revision: 1.15
done
Checking in xml/tageditorsupport/nbproject/project.xml;
/cvs/xml/tageditorsupport/nbproject/project.xml,v  <--  project.xml
new revision: 1.14; previous revision: 1.13
done
Checking in ruby/rhtml/nbproject/project.properties;
/cvs/ruby/rhtml/nbproject/project.properties,v  <--  project.properties
new revision: 1.5; previous revision: 1.4
done
Checking in ruby/rhtml/nbproject/project.xml;
/cvs/ruby/rhtml/nbproject/project.xml,v  <--  project.xml
new revision: 1.14; previous revision: 1.13
done
Checking in editor/indent/nbproject/project.properties;
/cvs/editor/indent/nbproject/project.properties,v  <--  project.properties
new revision: 1.7; previous revision: 1.6
done
Checking in html/nbproject/project.xml;
/cvs/html/nbproject/project.xml,v  <--  project.xml
new revision: 1.19; previous revision: 1.18
done
Checking in html/editor/nbproject/project.properties;
/cvs/html/editor/nbproject/project.properties,v  <--  project.properties
new revision: 1.15; previous revision: 1.14
done
Checking in html/editor/nbproject/project.xml;
/cvs/html/editor/nbproject/project.xml,v  <--  project.xml
new revision: 1.27; previous revision: 1.26
done
Checking in ide/kit/nbproject/project.xml;
/cvs/ide/kit/nbproject/project.xml,v  <--  project.xml
new revision: 1.6; previous revision: 1.5
done
Checking in ide/kit/manifest.mf;
/cvs/ide/kit/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Comment 5 err 2007-11-15 17:20:57 UTC
Seems strange that for RC1 (as opposed to dailies that had the RC1 label) the following is needed for jVi
-                        <specification-version>1.6.4</specification-version>
+                        <specification-version>1.5</specification-version>

Comment 6 Vitezslav Stejskal 2007-11-15 17:41:00 UTC
That looks strange, but I have absolutely no idea why the spec version would be changed for the final RC1??? Maybe
somebody from the release engineering could explain it.
Comment 7 Jesse Glick 2007-11-15 18:40:56 UTC
phrebejk did update spec versions of everything in trunk & release60, not sure if that is what you are referring to.