rc1 of 9.0-rc1 release
[NETBEANS-497] Fix for 'var' compound declaration error hints (#521)

* Netbeans-497 issue

* [NETBEANS-497] JDK10-LVTI: Fix for 'var' compound declaration error hints

* [Netbeans-497] Fix for 'var' compound declaration error hints

* [NETBEANS-497] Add isTreeEndsWithComma() API method

*  [NETBEANS-497] Update API version

* [Netbeans-497] Change API name

* [NETBEANS-759] Fix Hints of Split into declaration and assignment

* [NETBEANS-497] JDK10-LVTI: Changes method location

* [NETBEANS-497] Add test cases for CasualDiff changes
13 files changed
tree: af1230bd71bb201cbcfaf9e37a5f6d9a678def00
  1. .github/
  2. ant.browsetask/
  3. ant.debugger/
  4. ant.freeform/
  5. ant.grammar/
  6. ant.kit/
  7. api.annotations.common/
  8. api.debugger/
  9. api.debugger.jpda/
  10. api.htmlui/
  11. api.intent/
  12. api.io/
  13. api.java/
  14. api.java.classpath/
  15. api.maven/
  16. api.progress/
  17. api.progress.compat8/
  18. api.progress.nb/
  19. api.search/
  20. api.templates/
  21. api.visual/
  22. api.xml/
  23. api.xml.ui/
  24. apisupport.ant/
  25. apisupport.harness/
  26. apisupport.installer/
  27. apisupport.installer.maven/
  28. apisupport.kit/
  29. apisupport.project/
  30. apisupport.refactoring/
  31. apisupport.wizards/
  32. applemenu/
  33. autoupdate.cli/
  34. autoupdate.pluginimporter/
  35. autoupdate.services/
  36. autoupdate.ui/
  37. beans/
  38. bugtracking/
  39. bugtracking.bridge/
  40. bugtracking.commons/
  41. bugzilla/
  42. bugzilla.exceptionreporter/
  43. c.google.guava/
  44. c.googlecode.javaewah.JavaEWAH/
  45. c.jcraft.jsch/
  46. c.jcraft.jzlib/
  47. classfile/
  48. code.analysis/
  49. core.browser/
  50. core.browser.webview/
  51. core.execution/
  52. core.ide/
  53. core.io.ui/
  54. core.kit/
  55. core.multitabs/
  56. core.multitabs.project/
  57. core.multiview/
  58. core.nativeaccess/
  59. core.netigso/
  60. core.network/
  61. core.osgi/
  62. core.output2/
  63. core.startup/
  64. core.startup.base/
  65. core.ui/
  66. core.windows/
  67. csl.api/
  68. csl.types/
  69. css.editor/
  70. css.lib/
  71. css.model/
  72. css.prep/
  73. css.visual/
  74. db/
  75. db.core/
  76. db.dataview/
  77. db.drivers/
  78. db.kit/
  79. db.metadata.model/
  80. db.mysql/
  81. db.sql.editor/
  82. db.sql.visualeditor/
  83. dbapi/
  84. dbschema/
  85. deadlock.detector/
  86. debugger.jpda/
  87. debugger.jpda.ant/
  88. debugger.jpda.heapwalk/
  89. debugger.jpda.js/
  90. debugger.jpda.jsui/
  91. debugger.jpda.kit/
  92. debugger.jpda.projects/
  93. debugger.jpda.projectsui/
  94. debugger.jpda.ui/
  95. debugger.jpda.visual/
  96. defaults/
  97. derby/
  98. diff/
  99. dlight.nativeexecution/
  100. dlight.nativeexecution.nb/
  101. dlight.terminal/
  102. docker.api/
  103. docker.editor/
  104. docker.ui/
  105. editor/
  106. editor.actions/
  107. editor.bookmarks/
  108. editor.bracesmatching/
  109. editor.breadcrumbs/
  110. editor.codetemplates/
  111. editor.completion/
  112. editor.deprecated.pre65formatting/
  113. editor.document/
  114. editor.errorstripe/
  115. editor.errorstripe.api/
  116. editor.fold/
  117. editor.fold.nbui/
  118. editor.global.format/
  119. editor.guards/
  120. editor.htmlui/
  121. editor.indent/
  122. editor.indent.project/
  123. editor.indent.support/
  124. editor.kit/
  125. editor.lib/
  126. editor.lib2/
  127. editor.macros/
  128. editor.mimelookup/
  129. editor.mimelookup.impl/
  130. editor.plain/
  131. editor.plain.lib/
  132. editor.search/
  133. editor.settings/
  134. editor.settings.lib/
  135. editor.settings.storage/
  136. editor.structure/
  137. editor.tools.storage/
  138. editor.util/
  139. extbrowser/
  140. extexecution/
  141. extexecution.base/
  142. extexecution.impl/
  143. extexecution.process/
  144. extexecution.process.jdk9/
  145. favorites/
  146. findbugs.installer/
  147. form/
  148. form.j2ee/
  149. form.kit/
  150. form.nb/
  151. form.refactoring/
  152. git/
  153. gototest/
  154. gsf.codecoverage/
  155. gsf.testrunner/
  156. gsf.testrunner.ui/
  157. html/
  158. html.custom/
  159. html.editor/
  160. html.editor.lib/
  161. html.lexer/
  162. html.parser/
  163. html.validation/
  164. httpserver/
  165. hudson/
  166. hudson.ant/
  167. hudson.git/
  168. hudson.maven/
  169. hudson.mercurial/
  170. hudson.subversion/
  171. hudson.tasklist/
  172. hudson.ui/
  173. i18n/
  174. i18n.form/
  175. ide/
  176. ide.branding/
  177. ide.branding.kit/
  178. ide.kit/
  179. image/
  180. j2ee.core.utilities/
  181. j2ee.eclipselink/
  182. j2ee.eclipselinkmodelgen/
  183. j2ee.jpa.refactoring/
  184. j2ee.jpa.verification/
  185. j2ee.metadata/
  186. j2ee.metadata.model.support/
  187. j2ee.persistence/
  188. j2ee.persistence.kit/
  189. j2ee.persistenceapi/
  190. java.api.common/
  191. java.completion/
  192. java.debug/
  193. java.editor/
  194. java.editor.base/
  195. java.editor.lib/
  196. java.examples/
  197. java.freeform/
  198. java.graph/
  199. java.guards/
  200. java.hints/
  201. java.hints.declarative/
  202. java.hints.declarative.test/
  203. java.hints.legacy.spi/
  204. java.hints.test/
  205. java.hints.ui/
  206. java.j2sedeploy/
  207. java.j2seembedded/
  208. java.j2semodule/
  209. java.j2seplatform/
  210. java.j2seprofiles/
  211. java.j2seproject/
  212. java.kit/
  213. java.lexer/
  214. java.metrics/
  215. java.module.graph/
  216. java.navigation/
  217. java.platform/
  218. java.platform.ui/
  219. java.preprocessorbridge/
  220. java.project/
  221. java.project.ui/
  222. java.source/
  223. java.source.ant/
  224. java.source.base/
  225. java.source.compat8/
  226. java.source.nbjavac/
  227. java.source.queries/
  228. java.source.queriesimpl/
  229. java.sourceui/
  230. java.testrunner/
  231. java.testrunner.ant/
  232. java.testrunner.ui/
  233. javadoc/
  234. javaee.injection/
  235. javafx2.editor/
  236. javafx2.kit/
  237. javafx2.platform/
  238. javafx2.project/
  239. javafx2.samples/
  240. javafx2.scenebuilder/
  241. javahelp/
  242. javascript2.debug/
  243. javascript2.debug.ui/
  244. javawebstart/
  245. jellytools.ide/
  246. jellytools.java/
  247. jellytools.platform/
  248. jemmy/
  249. jshell.support/
  250. jumpto/
  251. junit/
  252. junit.ant/
  253. junit.ant.ui/
  254. junit.ui/
  255. junitlib/
  256. keyring/
  257. keyring.fallback/
  258. keyring.impl/
  259. languages/
  260. languages.diff/
  261. languages.manifest/
  262. languages.yaml/
  263. lexer/
  264. lexer.nbbridge/
  265. lib.jshell.agent/
  266. lib.nbjavac/
  267. lib.nbjshell/
  268. lib.nbjshell9/
  269. lib.profiler/
  270. lib.profiler.charts/
  271. lib.profiler.common/
  272. lib.profiler.ui/
  273. lib.terminalemulator/
  274. lib.uihandler/
  275. libs.antlr3.runtime/
  276. libs.antlr4.runtime/
  277. libs.asm/
  278. libs.bytelist/
  279. libs.cglib/
  280. libs.commons_compress/
  281. libs.commons_net/
  282. libs.felix/
  283. libs.freemarker/
  284. libs.git/
  285. libs.ini4j/
  286. libs.javacapi/
  287. libs.javacimpl/
  288. libs.javafx/
  289. libs.jaxb/
  290. libs.jna/
  291. libs.jna.platform/
  292. libs.jsch.agentproxy/
  293. libs.jshell.compile/
  294. libs.json_simple/
  295. libs.jsr223/
  296. libs.junit4/
  297. libs.jvyamlb/
  298. libs.lucene/
  299. libs.nbi.ant/
  300. libs.nbi.engine/
  301. libs.osgi/
  302. libs.smack/
  303. libs.springframework/
  304. libs.svnClientAdapter/
  305. libs.svnClientAdapter.javahl/
  306. libs.svnClientAdapter.svnkit/
  307. libs.testng/
  308. libs.xerces/
  309. localhistory/
  310. localtasks/
  311. masterfs/
  312. masterfs.linux/
  313. masterfs.macosx/
  314. masterfs.nio2/
  315. masterfs.ui/
  316. masterfs.windows/
  317. maven/
  318. maven.apisupport/
  319. maven.checkstyle/
  320. maven.coverage/
  321. maven.embedder/
  322. maven.grammar/
  323. maven.graph/
  324. maven.hints/
  325. maven.htmlui/
  326. maven.indexer/
  327. maven.indexer.ui/
  328. maven.junit/
  329. maven.junit.ui/
  330. maven.kit/
  331. maven.model/
  332. maven.osgi/
  333. maven.persistence/
  334. maven.profiler/
  335. maven.refactoring/
  336. maven.repository/
  337. maven.search/
  338. maven.spring/
  339. mercurial/
  340. mylyn.util/
  341. nashorn.execution/
  342. nbbuild/
  343. nbi/
  344. nbjunit/
  345. net.java.html/
  346. net.java.html.boot/
  347. net.java.html.boot.fx/
  348. net.java.html.boot.script/
  349. net.java.html.geo/
  350. net.java.html.json/
  351. net.java.html.sound/
  352. netbinox/
  353. notifications/
  354. o.apache.commons.codec/
  355. o.apache.commons.httpclient/
  356. o.apache.commons.io/
  357. o.apache.commons.lang/
  358. o.apache.commons.logging/
  359. o.apache.tools.ant.module/
  360. o.apache.ws.commons.util/
  361. o.apache.xml.resolver/
  362. o.apache.xmlrpc/
  363. o.eclipse.core.contenttype/
  364. o.eclipse.core.jobs/
  365. o.eclipse.core.net/
  366. o.eclipse.core.runtime/
  367. o.eclipse.core.runtime.compatibility.auth/
  368. o.eclipse.equinox.app/
  369. o.eclipse.equinox.common/
  370. o.eclipse.equinox.preferences/
  371. o.eclipse.equinox.registry/
  372. o.eclipse.equinox.security/
  373. o.eclipse.jgit/
  374. o.eclipse.jgit.java7/
  375. o.eclipse.mylyn.bugzilla.core/
  376. o.eclipse.mylyn.commons.core/
  377. o.eclipse.mylyn.commons.net/
  378. o.eclipse.mylyn.commons.repositories.core/
  379. o.eclipse.mylyn.commons.xmlrpc/
  380. o.eclipse.mylyn.tasks.core/
  381. o.eclipse.mylyn.wikitext.confluence.core/
  382. o.eclipse.mylyn.wikitext.core/
  383. o.eclipse.mylyn.wikitext.markdown.core/
  384. o.eclipse.mylyn.wikitext.textile.core/
  385. o.n.bootstrap/
  386. o.n.core/
  387. o.n.html.ko4j/
  388. o.n.html.xhr4j/
  389. o.n.insane/
  390. o.n.swing.dirchooser/
  391. o.n.swing.outline/
  392. o.n.swing.plaf/
  393. o.n.swing.tabcontrol/
  394. o.n.upgrader/
  395. o.openidex.util/
  396. openide.actions/
  397. openide.awt/
  398. openide.compat/
  399. openide.dialogs/
  400. openide.execution/
  401. openide.execution.compat8/
  402. openide.explorer/
  403. openide.filesystems/
  404. openide.filesystems.compat8/
  405. openide.filesystems.nb/
  406. openide.io/
  407. openide.loaders/
  408. openide.modules/
  409. openide.nodes/
  410. openide.options/
  411. openide.text/
  412. openide.util/
  413. openide.util.enumerations/
  414. openide.util.lookup/
  415. openide.util.ui/
  416. openide.windows/
  417. options.api/
  418. options.editor/
  419. options.java/
  420. options.keymap/
  421. parsing.api/
  422. parsing.indexing/
  423. parsing.lucene/
  424. parsing.nb/
  425. parsing.ui/
  426. performance/
  427. performance.java/
  428. print/
  429. print.editor/
  430. profiler/
  431. profiler.api/
  432. profiler.attach/
  433. profiler.freeform/
  434. profiler.heapwalker/
  435. profiler.j2se/
  436. profiler.kit/
  437. profiler.nbimpl/
  438. profiler.nbmodule/
  439. profiler.options/
  440. profiler.oql/
  441. profiler.oql.language/
  442. profiler.ppoints/
  443. profiler.projectsupport/
  444. profiler.snaptracer/
  445. profiler.utilities/
  446. progress.ui/
  447. project.ant/
  448. project.ant.compat8/
  449. project.ant.ui/
  450. project.indexingbridge/
  451. project.libraries/
  452. project.libraries.ui/
  453. project.spi.intern/
  454. project.spi.intern.impl/
  455. projectapi/
  456. projectapi.nb/
  457. projectimport.eclipse.core/
  458. projectimport.eclipse.j2se/
  459. projectui/
  460. projectui.buildmenu/
  461. projectuiapi/
  462. projectuiapi.base/
  463. properties/
  464. properties.syntax/
  465. queries/
  466. refactoring.api/
  467. refactoring.java/
  468. sampler/
  469. schema2beans/
  470. selenium2/
  471. selenium2.java/
  472. selenium2.maven/
  473. selenium2.server/
  474. sendopts/
  475. server/
  476. servletapi/
  477. settings/
  478. spellchecker/
  479. spellchecker.apimodule/
  480. spellchecker.bindings.htmlxml/
  481. spellchecker.bindings.java/
  482. spellchecker.bindings.properties/
  483. spellchecker.dictionary_en/
  484. spellchecker.kit/
  485. spi.actions/
  486. spi.debugger.jpda.ui/
  487. spi.debugger.ui/
  488. spi.editor.hints/
  489. spi.editor.hints.projects/
  490. spi.java.hints/
  491. spi.navigator/
  492. spi.palette/
  493. spi.quicksearch/
  494. spi.tasklist/
  495. spi.viewmodel/
  496. spring.beans/
  497. subversion/
  498. swing.validation/
  499. target.iterator/
  500. tasklist.kit/
  501. tasklist.projectint/
  502. tasklist.todo/
  503. tasklist.ui/
  504. team.commons/
  505. team.ide/
  506. templates/
  507. templatesui/
  508. terminal/
  509. terminal.nb/
  510. testng/
  511. testng.ant/
  512. testng.maven/
  513. testng.ui/
  514. timers/
  515. uihandler/
  516. uihandler.exceptionreporter/
  517. updatecenters/
  518. usersguide/
  519. utilities/
  520. utilities.project/
  521. versioning/
  522. versioning.core/
  523. versioning.indexingbridge/
  524. versioning.masterfs/
  525. versioning.system.cvss.installer/
  526. versioning.ui/
  527. versioning.util/
  528. web.browser.api/
  529. web.common/
  530. web.common.ui/
  531. web.indent/
  532. web.webkit.debugging/
  533. websvc.jaxws21/
  534. websvc.jaxws21api/
  535. websvc.jaxwsmodelapi/
  536. websvc.saas.api/
  537. websvc.saas.codegen/
  538. websvc.saas.codegen.java/
  539. websvc.saas.kit/
  540. websvc.saas.ui/
  541. welcome/
  542. whitelist/
  543. xml/
  544. xml.axi/
  545. xml.catalog/
  546. xml.catalog.ui/
  547. xml.core/
  548. xml.jaxb/
  549. xml.jaxb.api/
  550. xml.lexer/
  551. xml.multiview/
  552. xml.retriever/
  553. xml.schema.completion/
  554. xml.schema.model/
  555. xml.tax/
  556. xml.text/
  557. xml.text.obsolete90/
  558. xml.tools/
  559. xml.tools.java/
  560. xml.wsdl.model/
  561. xml.xam/
  562. xml.xdm/
  563. xsl/
  564. .gitattributes
  565. .gitignore
  566. .travis.yml
  567. build.xml
  568. DISCLAIMER
  569. LICENSE
  570. NOTICE
  571. README.md
  572. travis-check-line-endings.sh
README.md

Apache NetBeans

Apache NetBeans is an open source development environment, tooling platform, and application framework.

Build status

  • TravisCI:
    • Build Status
  • Apache Jenkins:
    • Linux: Build Status
    • Windows: Build Status

Requirements

  • Git
  • Ant 1.9.9 or above
  • Oracle JDK 8 or OpenJDK 8 (to build NetBeans)
  • Oracle JDK 9 or OpenJDK 9 (to run NetBeans)

Note: NetBeans also runs with JDK 8, although then it will not include tools for the JDK 9 Shell.

Note: NetBeans license violation checks are managed via the rat-exclusions.txt file.

Building NetBeans

Build the full project:

$ ant

Build the NetBeans Platform:

$ ant -Dcluster.config=platform

Running NetBeans

Run the build:

$ ant tryme

Note: Look in nbbuild/netbeans for the NetBeans installation created by the build process.

Get In Touch

Subscribe or mail the users@netbeans.incubator.apache.org list - Ask questions, find answers, and also help other users.

Subscribe or mail the dev@netbeans.incubator.apache.org list - Join developement discussions, propose new ideas and connect with contributors.

Download

Developer builds can be downloaded from https://builds.apache.org/job/incubator-netbeans-release/

Reporting Bugs

Bugs should be reported to https://issues.apache.org/jira/projects/NETBEANS/issues/

Full History

The origins of the code in this repository are older than its Apache existence. As such significant part of the history (before the code was donated to Apache) is kept in an independent repository. To fully understand the code you may want to merge the modern and ancient versions together:

$ git clone https://github.com/apache/incubator-netbeans.git
$ cd incubator-netbeans
$ git log uihandler/arch.xml

This gives you just few log entries including the initial checkin and change of the file headers to Apache. But then the magic comes:

$ git remote add emilian https://github.com/emilianbold/netbeans-releases.git
$ git fetch emilian # this takes a while, the history is huge!
$ git replace 6daa72c98 32042637

When you search the log, or use the blame tool, the full history is available:

$ git log uihandler/arch.xml
$ git blame uihandler/arch.xml

Many thanks to Emilian Bold who converted the ancient history to his Git repository and made the magic possible!