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: | Project Template wiz does not forbid self-add when using Browse... | ||
---|---|---|---|
Product: | apisupport | Reporter: | arvindd |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | i30817 |
Priority: | P4 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
arvindd
2012-02-21 09:25:09 UTC
User error: you cannot add a template of a project to itself, since the ZIP file would have to contain itself! It only makes sense to add a template of a _different_ project, which is why the _selected_ project is intentionally omitted from the list of open projects in the combo. However the wizard fails to prevent you from manually selecting the same project using Browse. You are right, and thanks for the quick response. I just followed: http://platform.netbeans.org/tutorials/60/nbm-projectsamples.html which seem to suggest self-add (where it talks of right-click project node), but I might be mistaken. (In reply to comment #2) > which seem to suggest self-add (where it talks of right-click project node) I do not think so. It discusses "the project that you want to bundle as a sample", and the screenshot shows a Java SE project, not an NBM project. BTW http://platform.netbeans.org/tutorials/70/nbm-projectsamples.html seems to be a newer version of the tutorial; not sure what the differences are. Already fixed for NBM. Feel free to reopen. *** Bug 216798 has been marked as a duplicate of this bug. *** |