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 72134 - AU Center wiz - must declare runtime dep on Auto Update module
Summary: AU Center wiz - must declare runtime dep on Auto Update module
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 18:57 UTC by Jesse Glick
Modified: 2006-02-02 13:25 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 2006-02-01 18:57:02 UTC
DataModel.regenerate() should
cmf.addModuleDependency("org.netbeans.modules.autoupdate", -1, null, false); to
ensure that the AU module is enabled in any app using this module.
Comment 1 Jiri Rechtacek 2006-02-02 09:16:27 UTC
Checking in
test/unit/src/org/netbeans/modules/apisupport/project/ui/wizard/updatecenter/DataModelTest.java;
/shared/data/ccvs/repository/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/wizard/updatecenter/DataModelTest.java,v
 <--  DataModelTest.java
new revision: 1.3; previous revision: 1.2
done
Checking in
src/org/netbeans/modules/apisupport/project/ui/wizard/updatecenter/DataModel.java;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/updatecenter/DataModel.java,v
 <--  DataModel.java
new revision: 1.4; previous revision: 1.3
done
Comment 2 Martin Krauskopf 2006-02-02 10:09:45 UTC
Note that addModuleDependency(codeNameBase) adds also adds <build-prerequisite/>
and <compile-dependency/>. You probably do need run-time dependency only? In
that case you should call the one supposed by Jesse.
Comment 3 Jiri Rechtacek 2006-02-02 13:23:49 UTC
IMHO it's good point, Martin. I have changed to generate only run-dependency. 
Comment 4 Jiri Rechtacek 2006-02-02 13:25:36 UTC
Only for record:
Checking in DataModel.java;
/shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/updatecenter/DataModel.java,v
 <--  DataModel.java
new revision: 1.5; previous revision: 1.4
done