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 60999 - Bad change to projectuiapi spec version
Summary: Bad change to projectuiapi spec version
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
Depends on:
Blocks: 58866
  Show dependency tree
 
Reported: 2005-07-14 19:10 UTC by Jesse Glick
Modified: 2005-09-05 10:10 UTC (History)
0 users

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 2005-07-14 19:10:26 UTC
projects/projectuiapi/manifest.mf rev. 1.8 added the line

  OpenIDE-Module-Specification-Version: 1.4

which it should not have. This actually backdated the spec version; it was
1.7.something before! Please instead updated spec.version.base in
project.properties, e.g. to:

  spec.version.base=1.8.0

and make sure that "1.8" is listed as the new spec version for any newly added
APIs (something to do with project deletion I guess).

BTW if you had used the project properties dialog, it should have changed the
spec version in the correct place automatically.
Comment 1 Jesse Glick 2005-07-14 19:12:05 UTC
By "make sure that "1.8" is listed as the new spec version for any newly added
APIs" I mean @since tags and apichanges.xml and also deps given from any other
modules which are using the new APIs.
Comment 2 Jesse Glick 2005-07-14 19:33:17 UTC
Some effects: some old Project UI API appears as an update in AU in dev builds;
modules made from recent dev builds using this API no longer install.
Comment 3 Jan Lahoda 2005-07-14 20:06:18 UTC
I am preparing fix.
Comment 4 Jan Lahoda 2005-07-14 21:34:18 UTC
I have hopefully fixed it:
Checking in projects/projectui/nbproject/project.xml;
/cvs/projects/projectui/nbproject/project.xml,v  <--  project.xml
new revision: 1.20; previous revision: 1.19
done
Checking in projects/projectuiapi/apichanges.xml;
/cvs/projects/projectuiapi/apichanges.xml,v  <--  apichanges.xml
new revision: 1.14; previous revision: 1.13
done
Checking in projects/projectuiapi/manifest.mf;
/cvs/projects/projectuiapi/manifest.mf,v  <--  manifest.mf
new revision: 1.9; previous revision: 1.8
done
Checking in projects/projectuiapi/nbproject/project.properties;
/cvs/projects/projectuiapi/nbproject/project.properties,v  <--  project.properties
new revision: 1.10; previous revision: 1.9
done
Checking in projects/projectuiapi/nbproject/project.xml;
/cvs/projects/projectuiapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.10; previous revision: 1.9
done
Checking in
projects/projectuiapi/src/org/netbeans/spi/project/ui/support/CommonProjectActions.java;
/cvs/projects/projectuiapi/src/org/netbeans/spi/project/ui/support/CommonProjectActions.java,v
 <--  CommonProjectActions.java
new revision: 1.12; previous revision: 1.11
done
Checking in ant/freeform/nbproject/project.xml;
/cvs/ant/freeform/nbproject/project.xml,v  <--  project.xml
new revision: 1.17; previous revision: 1.16
done
Checking in ant/project/nbproject/project.xml;
/cvs/ant/project/nbproject/project.xml,v  <--  project.xml
new revision: 1.15; previous revision: 1.14
done
Checking in java/j2seproject/nbproject/project.xml;
/cvs/java/j2seproject/nbproject/project.xml,v  <--  project.xml
new revision: 1.19; previous revision: 1.18
done
Comment 5 Jan Lahoda 2005-07-14 21:35:03 UTC
I am sorry for any problems.