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.
Summary: | Creating a new module under a parent | ||
---|---|---|---|
Product: | projects | Reporter: | mienamoo |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | apireviews |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
mienamoo
2012-08-20 08:59:04 UTC
there is no api to call the new project wizard right now (not to speak of configuring it) Ah yes indeed. I see for the Ant case the specific wizard for creating the new module is run directly and not via the larger project wizard. Which would not work in this case of course... Create new Module... action added on Modules node in maven projects. starts the project wizard with maven category preselected. https://hg.netbeans.org/core-main/rev/021157efa98e adds a new constant that can be used to initialize the new project wizard with a custom parent project directory path. only the constant introduced in CommonProjectActions class is the new API. https://hg.netbeans.org/core-main/rev/5f7ee42dd898 introduces a private contract to inject yet more properties, like parent project's groupId or version. Not advertized as API Integrated into 'main-golden', will be available in build *201301250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/021157efa98e User: Milos Kleint <mkleint@netbeans.org> Log: #217087 new wizard able to pick up the parent directory from Action's properties as initial value Works like a charm! Thanks! :D |