[netbeans] branch master updated: Updates to better document the build of VSCode.
This is an automated email from the ASF dual-hosted git repository. jtulach pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 7368fc8 Updates to better document the build of VSCode. new 78070a8 Merge pull request #2782 from MartinBalin/vscode/build_md_update 7368fc8 is described below commit 7368fc8fe76b9c04ce0c622402908139ad2e740a Author: Martin Balin AuthorDate: Thu Feb 25 17:31:26 2021 +0100 Updates to better document the build of VSCode. --- java/java.lsp.server/vscode/BUILD.md | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/java/java.lsp.server/vscode/BUILD.md b/java/java.lsp.server/vscode/BUILD.md index fd6157b..553860e 100644 --- a/java/java.lsp.server/vscode/BUILD.md +++ b/java/java.lsp.server/vscode/BUILD.md @@ -20,6 +20,13 @@ under the License. --> +## Prerequisities +It is necessary to have installed: +- Ant, latest version +- Maven, latest version +- node.js, latest LTS (to build VSIX) + +It is recommended to build using JDK 8. ## Getting the Code @@ -35,11 +42,20 @@ To build the VS Code extension invoke: ```bash netbeans$ ant build netbeans$ cd java/java.lsp.server -java.lsp.server$ ant build-vscode-ext -D3rdparty.modules=.*nbjavac.* +java.lsp.server$ ant build-vscode-ext ``` - -The `3rdparty.modules` property doesn't have to be set at all. The resulting extension is then in the `build` directory, with the `.vsix` extension. + Build Options +- `-Dvsix.version=x.y.z`can be used to set release version. E.g. set this option to `12.3.0` to get proper NetBeans release version for extension. +- `-D3rdparty.modules=.*nbjavac.*` can be set to include nb-javac which allows extension to run out of the box on JDK8. For **zsh** it is necessary to wrap it: `-D3rdparty.modules='.*nbjavac.*'` + +The build of NetBeans VSCode extension with nb-javac included, for version 12.3.0 then looks like this: +```bash +netbeans$ ant build +netbeans$ cd java/java.lsp.server +java.lsp.server$ ant build-vscode-ext -D3rdparty.modules=.*nbjavac.* -Dvsix.version=12.3.0 +``` + ### Building for Development - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-5392) Maven EJB archeotype ends up creating a WAR
Roberto Cisternino created NETBEANS-5392: Summary: Maven EJB archeotype ends up creating a WAR Key: NETBEANS-5392 URL: https://issues.apache.org/jira/browse/NETBEANS-5392 Project: NetBeans Issue Type: Bug Components: apisupport - Maven Affects Versions: 12.0 Reporter: Roberto Cisternino The Maven EJB archeotype is wrong, it ends up creating a WAR project instead of an EJB project. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-5256) Disabling maven indexing is ignored
[ https://issues.apache.org/jira/browse/NETBEANS-5256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17292385#comment-17292385 ] Svatopluk Dedic commented on NETBEANS-5256: --- [~helper14] can you please explain why it is not a problem :) ? I've noticed something similar with LSP - though the indexing was not disabled, it continued (or was restarted again) even though the user has cancelled it. So I was planning to address this issue along my own. I wouldn't mind less work for myself ;) but would like to understand better the reasoning behind closing the bug. Thanks. > Disabling maven indexing is ignored > --- > > Key: NETBEANS-5256 > URL: https://issues.apache.org/jira/browse/NETBEANS-5256 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 12.2 > Environment: Netbeans 12.2 >Reporter: S. M. >Assignee: Svatopluk Dedic >Priority: Minor > > Though maven indexing is disabled in the Netbeans settings (Index Update > Frequency: Never) the IDE continues to fetch the index from maven central. > Supplement: After the index was downloaded once completely, there were no > more tries to download it again. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-5256) Disabling maven indexing is ignored
[ https://issues.apache.org/jira/browse/NETBEANS-5256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S. M. closed NETBEANS-5256. --- Resolution: Not A Problem > Disabling maven indexing is ignored > --- > > Key: NETBEANS-5256 > URL: https://issues.apache.org/jira/browse/NETBEANS-5256 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven >Affects Versions: 12.2 > Environment: Netbeans 12.2 >Reporter: S. M. >Assignee: Svatopluk Dedic >Priority: Minor > > Though maven indexing is disabled in the Netbeans settings (Index Update > Frequency: Never) the IDE continues to fetch the index from maven central. > Supplement: After the index was downloaded once completely, there were no > more tries to download it again. > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-5101) Cryptic popup dialog on deploy new EJB-Bean-Projekt
[ https://issues.apache.org/jira/browse/NETBEANS-5101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S. M. closed NETBEANS-5101. --- Resolution: Not A Problem > Cryptic popup dialog on deploy new EJB-Bean-Projekt > --- > > Key: NETBEANS-5101 > URL: https://issues.apache.org/jira/browse/NETBEANS-5101 > Project: NetBeans > Issue Type: Bug > Components: javaee - EJB Project >Affects Versions: 12.0, 12.1, 12.2 > Environment: Netbeans 12.2, jdk 14.01 >Reporter: S. M. >Priority: Minor > Attachments: screen-shot-Deplay-EJBModule.png > > > Make a new EBJ-Module-Project and compile the empty project: A cryptic dialog > pops up - see attached picture. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists