[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-15 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16952330#comment-16952330
 ] 

Geertjan Wielenga commented on NETBEANS-3185:
-

Completely off topic. 

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-15 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16952323#comment-16952323
 ] 

Christian Lenz commented on NETBEANS-3185:
--

I also can confirm, that the application will run with the changes that 
[~jtulach] mentioned. Thx.

Little offtopic here, but maybe not, because I have the same problem with my 
own plugin, which uses html4j stuff. [~jtulach] already knows the plugin, he 
rewrote some code months (maybe 1 year) ago to fit better with html4j and no 
direct dependency to the WebView of javafx. After I changed from building it 
wih JDK 1.8 and want to use JDK >= 9.0 I have the same problem with the 
warning, that you can see in my screenshot and that [~GeertjanWielenga] also 
mentioned.

So here is my plugin called NbScratchFile: 
https://github.com/Chris2011/NbScratchFile/tree/develop (Develop is the current 
branch which is up to date). I really tried my best to check everything from 
the created sample project "Java Frontend Application" to fix everything in my 
pom and removed unused files, etc. I also added the changes from jaroslav to my 
pom but still got the same issue as this was the initial problem.
See my pom here: 
https://github.com/Chris2011/NbScratchFile/blob/develop/pom.xml.

Some side infos here, it is really only a nbm so a plugin for NetBeans, no 
standalone nbm-application.
It works like a charme, with JDK 1.8 in NetBeans 8.2 but I want to be up to 
date and want to support Apache NetBeans >= 9.0 with the newest version.
The settings (JDK, platform to run) are the same as I mentioned in my 
description.

You see that I have an Installer.java and I also had a manifest.mf file, but I 
removed the file in case of finding the error. So the Installer.java class 
shouldn't be the problem nor the missing manfiest.mf file which registers the 
Installer class.

It would be very nice, if someone can have a look there what I did wrong. Maybe 
I missed smth or whatever. I tried my best until now and I thought it was only 
because of the initial problem but for my plugin it seems not.

Cheers

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-08 Thread Jaroslav Tulach (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16947378#comment-16947378
 ] 

Jaroslav Tulach commented on NETBEANS-3185:
---

Thanks Eric for preparing the 4.3 version of the plugin. With following changes 
to the pom the application starts:
{code:java}
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,12 @@
 nbm-application
 
 Client for NetBeans
-
+
+
+4.3
+
https://repository.apache.org/content/repositories/orgapachenetbeans-1043/
+
+
 
 RELEASE110
 none
@@ -95,9 +100,9 @@
 
 
 
-org.codehaus.mojo
+org.apache.netbeans.utilities
 nbm-maven-plugin
-3.14.1
+4.3
 true
 
 
@@ -293,5 +298,23 @@
 js
 ${project.version}
 
+
+org.netbeans.modules
+org-netbeans-libs-javafx-win
+${netbeans.version}
+runtime
+
+
+org.netbeans.modules
+org-netbeans-libs-javafx-macosx
+${netbeans.version}
+runtime
+
+
+org.netbeans.modules
+org-netbeans-libs-javafx-linux
+${netbeans.version}
+runtime
+
 
 
 {code}
[~monacotoni], consider updating your archetypes once 4.3 is out.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
>   

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-03 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16943589#comment-16943589
 ] 

Eric Barboni commented on NETBEANS-3185:


for harness:

vote Thread started at 
[https://lists.apache.org/thread.html/a38c01fa9a07efdc22d244be9e42c21a1297c117ecc8baea5be7c4be@%3Cdev.netbeans.apache.org%3E]

please vote :D

will need then to release nbm plugin 4.3

then should do a pr to use 4.3 plugin instead of 4.2

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-02 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942619#comment-16942619
 ] 

Eric Barboni commented on NETBEANS-3185:


Will prepare release for that. I'm forced to use RELEASE111 artefacts. I can't 
use snapshot or RELEASE112 (inexisting yet).

 

 

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-02 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942579#comment-16942579
 ] 

Eric Barboni commented on NETBEANS-3185:


It's possible also for the ant based on NetBeans 11.0.

Is there a technical way to get changes on particular folder in git, it may 
help later to cut release.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-02 Thread Jaroslav Tulach (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942571#comment-16942571
 ] 

Jaroslav Tulach commented on NETBEANS-3185:
---

Yes, the quotes are the problem of in the conf file. I know I can workaround it 
with , but I'd rather get a new version of the plugin with a fix. 
Btw. does this mean that people creating new "NetBeans Application" via 11.2 
wizard suffer from this problem? If so, I believe it is desirable to fix it 
before the release.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-02 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942553#comment-16942553
 ] 

Eric Barboni commented on NETBEANS-3185:


[https://github.com/apache/netbeans/blob/release110/harness/apisupport.harness/release/etc/app.conf]

double double quote line #57 may cause issue

on nbm plugin configuration it's possible to ovveride conf file. Maybe help to 
go step further

src/main/confile/test.conf

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-02 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942546#comment-16942546
 ] 

Eric Barboni commented on NETBEANS-3185:


hi [~jtulach] thanks for the fix, would it be possible to get the netbeans.conf 
you have at the end.

nbm plugin use harness from 11.0 (RELEASE110).

 

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-01 Thread Jaroslav Tulach (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942473#comment-16942473
 ] 

Jaroslav Tulach commented on NETBEANS-3185:
---

See [https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/3]

 

However even with that, I cannot start the application as the 4.3-SNAPSHOT 
plugin seems broken:


--- nbm-maven-plugin:4.3-SNAPSHOT:run-platform (default-cli) @ lenztest-nb ---
Executing: /bin/sh -c '/client-netbeans/target/netbeans/bin/netbeans' 
'--userdir' '/client-netbeans/target/userdir' 
'-J-Dnetbeans.logger.console=true' '-J-ea' '--branding' 'netbeans' '--jdkhome' 
'/home/devel/bin/jdk-13'
/client-netbeans/target/netbeans/bin/netbeans: 69: 
/client-netbeans/target/netbeans/bin/../etc/netbeans.conf: Syntax error: 
Unterminated quoted string

BUILD SUCCESS

The file that plugin copies by default into netbeans.conf is broken. Eric, now 
it is your turn.

 

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-java-frontend.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-10-01 Thread Jaroslav Tulach (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942464#comment-16942464
 ] 

Jaroslav Tulach commented on NETBEANS-3185:
---

Hello Eric,

the cause of the problem are missing OpenJFX libraries in the sample 
application. I tried to add them:

 


 org.netbeans.modules
 org-netbeans-libs-javafx-win
 ${netbeans.version}
 runtime
 

 

but then I get download error:

 

Cannot download m2:/org.openjfx:javafx-base:11:jar:win
java.net.MalformedURLException: unknown protocol: m2
 at java.base/java.net.URL.(URL.java:634)
 at java.base/java.net.URL.(URL.java:523)
 at java.base/java.net.URL.(URL.java:470)
 at 
org.codehaus.mojo.nbm.CreateClusterAppMojo.externalDownload(CreateClusterAppMojo.java:912)
 at 
org.codehaus.mojo.nbm.CreateClusterAppMojo.execute(CreateClusterAppMojo.java:277)
 at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Assignee: Eric Barboni
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941037#comment-16941037
 ] 

Christian Lenz commented on NETBEANS-3185:
--

Ok, good to know,

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb ---
> --- nbm-maven-plugin:3.14.1:manifest 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941031#comment-16941031
 ] 

Geertjan Wielenga commented on NETBEANS-3185:
-

That is not the point. The project should download the JavaFX required by the 
project. Toni or Jaroslav should be able to help.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941025#comment-16941025
 ] 

Christian Lenz commented on NETBEANS-3185:
--

I know that JavafX is not part of JDK > 9 anymore

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb ---
> --- 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941024#comment-16941024
 ] 

Christian Lenz commented on NETBEANS-3185:
--

Yes and that happens when I use JDK 11.0.2 as managed platform.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed just for information.
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project and click on properties
> * * Go to sources make sure that you have chosen 1.8 at "Source/Binary Format"
> * * Go to Build -> Compile and choose your Java platform, in my Case it is 
> 11.0.2 that I added.
> * * Go to Configurations and choose a target platform. I tried for ANB 10.0 
> and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon24.png
>  skipped because it already exists
> --- html4j-maven-plugin:1.6.1:process-js-annotations (js-classes) @ 
> mavenproject4-nb 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941019#comment-16941019
 ] 

Geertjan Wielenga commented on NETBEANS-3185:
-

So, is this the error that you see:

Warning - could not install some modules: JavaFX wrapper - No module providing 
the capability org.openide.modules.jre.JavaFX could be found. 2 further modules 
could not be installed due to the above problems.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed and I build the project with JDK 1.8
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project -> properties and go to sources
> * Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
> environment, because I have installed JDK 1.8 to build my plugins for the 
> minimal version as possible)
> * Build your project for your target platform. I tried for ANB 10.0 and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
> 

[jira] [Commented] (NETBEANS-3185) Java frontend application doesn't work

2019-09-30 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16941011#comment-16941011
 ] 

Christian Lenz commented on NETBEANS-3185:
--

With this project I saw, that I built with JDK 11. I didn't add JDK 1.8 to the 
new NetBeans 11.2 beta 1 yet, will do that now. So for this test, you need JDK 
11 installed and added it as the target platform.

> Java frontend application doesn't work
> --
>
> Key: NETBEANS-3185
> URL: https://issues.apache.org/jira/browse/NETBEANS-3185
> Project: NetBeans
>  Issue Type: Bug
>  Components: javafx - Project, platform - HTML4J
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Christian Lenz
>Priority: Major
> Attachments: netbeans-java-frontend.png
>
>
> When I create a Java with Maven -> Java Frontend Application and try to run 
> it as a NetBeans plugin, it doesn't work. It shows me, that some modules 
> can't be enabled. This happens for a project type, that already exists in 
> NetBeans w/o having a 3rd-party-plugin installed and a clean install (no user 
> dir, no cache, nothing). Just downloaded 11.2 beta 1 and started it fresh.
> As you can see, I'm running NetBeans 11.2 beta 1 on JDK 11.0.2 but I also 
> have JDK 1.8 installed and I build the project with JDK 1.8
> Steps to reproduce:
> * Create a new Project
> * Choose "Java with Maven" -> "Java Frontend Application"
> * Click on "Download & Activate" on the wizard for the project if needed.
> * Wait for nbjavac and javafx downloaded and activate the missing features
> * On wizard page "Name and Location" leave everything as it is and click next
> * On next wizard page "Choose Platform" choose "Run as a NetBeans plugin" and 
> click next
> * On next wizard page "Select a template" leave everything as it is and click 
> next
> * On next wzard page "What will be created?" click finish
> * Wait for everything is created and opened and you see the multi module 
> project.
> * Right click on your multi module project -> properties and go to sources
> * Make sure that you have chosen 1.8 at "Source/Binary Format" (This is my 
> environment, because I have installed JDK 1.8 to build my plugins for the 
> minimal version as possible)
> * Build your project for your target platform. I tried for ANB 10.0 and 11.1
> * Open the submodule "YourProjectName Client for NetBeans"
> * Try to run your submodule "YourProjectName Client for NetBeans" in your 
> target platform
> * When NetBeans started the modules, you got the message that not all modules 
> can be enabled. See the screenshot for this.
> Here is the output when I run the submodule
> {code}
> cd 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans;
>  "JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.2" cmd /c 
> "\"\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven\\bin\\mvn.cmd\" -DskipTests=true -Dnetbeans.inspect.port=54481 
> -Dmaven.ext.class.path=\"C:\\Users\\Chrl\\Downloads\\netbeans 11.2 beta 
> 1\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 
> -Pnetbeans-ide-10 package nbm:cluster nbm:run-platform\""
> Scanning for projects...
> 
> 
> Building mavenproject4 Client for NetBeans 1.0-SNAPSHOT
> 
> --- maven-enforcer-plugin:1.3.1:enforce (enforce-versions) @ mavenproject4-nb 
> ---
> --- maven-dependency-plugin:2.9:unpack-dependencies (unpack) @ 
> mavenproject4-nb ---
> Unpacking 
> C:\Users\Chrl\.m2\repository\com\mycompany\mavenproject4\1.0-SNAPSHOT\mavenproject4-1.0-SNAPSHOT-webpages.zip
>  to 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4
>  with includes "*/**" and excludes ""
> --- maven-compiler-plugin:3.3:compile (default-compile) @ mavenproject4-nb ---
> Nothing to compile - all classes are up to date
> --- image-maven-plugin:1.1:scale (default) @ mavenproject4-nb ---
> Output file 
> C:\Users\Chrl\Documents\NetBeansProjects\mavenproject4\mavenproject4\client-netbeans\target\classes\com\mycompany\mavenproject4\icon.png
>  skipped because it already exists
> Output file 
>