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: | "Java Hint" template: Javadoc must be updated - no manual addition of dependencies necessary? | ||
---|---|---|---|
Product: | apisupport | Reporter: | markiewb |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Shows the testexecution out of the box |
Description
markiewb
2012-12-21 22:28:07 UTC
Created attachment 129636 [details]
Shows the testexecution out of the box
@Martin: Any status here? Actually you are right. There is not necessary to add unit test dependencies so javadoc should be updated. There is only problem when you create such hint in module of NetBeans Platform Application, because it contains only platform cluster (in contrast with standalone module or module in suite, where all clusters are included) and when adding java hint to module of NetBeans Platform Application, there is a problem with adding dependencies from clusters not included in this application. I am going to fix both problems. In project.properties property "requires.nb.javac=true" should be kept in order to use IDE compiler. When adding hint to module of NetBeans Platform Application, platform does not include necessary modules and clusters, for that action. I developed routine, which adds those modules and clusters to target platform, so application can be build without any errors. I left in test hint java class 'add test dependency on Java Hints Test API (and JUnit 4)' TODO text, because I am unable to add it by this routine. For suite or standalone modules I've omitted this TODO text in test hint java class, because as you mentioned before, there is unnecessary. https://hg.netbeans.org/core-main/rev/5a4a4886e656 Integrated into 'main-golden', will be available in build *201305170640* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5a4a4886e656 User: Martin Kozeny <mkozeny@netbeans.org> Log: #224157: When adding hint to module of NetBeans Platform Application, platform does not include necessary modules and clusters, for that action. I developed routine, which adds those modules and clusters to target platform, so application can be build without any errors. I left in test hint java class 'add test dependency on Java Hints Test API (and JUnit 4)' TODO text, because I am unable to add it by this routine. For suite or standalone modules I've omitted this TODO text in test hint java class, because as you mentioned before, there is unnecessary. |