Re: JavaFX 11 run problem

2018-09-22 Thread Dragan Bjedov
Hello,
I manage to make that *Compile on Save* feature working. It still needs to
be modular app.
This my nbactions.xml:



run

jar


process-classes
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec


--module-path %classpath --module
${project.groupId}/${mainClass}
java



Regards

суб, 22. сеп 2018. у 20:11 Dragan Bjedov  је
написао/ла:

> Hello Mathew,
>
> Thanks. This works, but it has disadvantage that I need to do Clean
> (which is mvn clean install) when I make any change in order to see
> change in run app. With this, Compile on Save feature is not working.
>
> Also is there way make this working in plain Java app, without modules.
>
> Thanks
>
> суб, 22. сеп 2018. у 19:19 Mathew Dusome  је
> написао/ла:
>
>> To fix JavaFX in Java 11 I did the following:
>>
>> *Under Project Files -> pom.xml*
>>
>> You change everything *under * To this:
>>
>> 
>>
>> 
>>
>> org.openjfx
>>
>> javafx-fxml
>>
>> 11-ea+25
>>
>> 
>>
>> 
>>
>> org.openjfx
>>
>> javafx-media
>>
>> 11-ea+25
>>
>> 
>>
>> 
>>
>>
>>
>> 
>>
>> 
>>
>>
>>
>> 
>>
>> 
>>
>> org.apache.maven.plugins
>>
>> maven-compiler-plugin
>>
>> 3.8.0
>>
>> 
>>
>> 11
>>
>> 
>>
>> 
>>
>> 
>>
>> org.ow2.asm
>>
>> asm
>>
>> 6.2.1
>>
>> 
>>
>> 
>>
>> 
>>
>>
>>
>> 
>>
>>
>>
>>  
>>
>> org.codehaus.mojo
>>
>> exec-maven-plugin
>>
>> 1.6.0
>>
>> 
>>
>> 
>>
>> 
>>
>> exec
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> ${mainClass}
>>
>> 
>>
>> 
>>
>>
>>
>>
>>
>> 
>>
>>   
>>
>> maven-jar-plugin
>>
>> 3.1.0
>>
>> 
>>
>> 
>>
>> 
>>
>> ${mainClass}
>>
>> 
>>
>> 
>>
>> 
>>
>> ${project.build.directory}/modules
>>
>> 
>>
>> 
>>
>> 
>>
>>
>>
>>  
>>
>> 
>>
>> org.apache.maven.plugins
>>
>> maven-dependency-plugin
>>
>> 3.1.1
>>
>>
>>
>> 
>>
>> copy-dependencies
>>
>> prepare-package
>>
>> 
>>
>> copy-dependencies
>>
>> 
>>
>> 
>>
>>
>> ${project.build.directory}/modules
>>
>> runtime
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>
>>
>> *Change to nbactions.xml*
>>
>> In this file you are going to replace the whole thing with:
>>
>> 
>> 
>> 
>> run
>> 
>> jar
>> 
>> 
>> process-classes
>> package
>> org.codehaus.mojo:exec-maven-plugin:exec
>> 
>> 
>> --module-path
>> "${project.build.directory}/modules" --module
>> "${project.groupId}/${mainClass}"
>> java
>> 
>> 
>> 
>> debug
>> 
>> jar
>> 
>> 
>> process-classes
>> package
>> org.codehaus.mojo:exec-maven-plugin:exec
>> 
>> 
>>
>> -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
>> --module-path "${project.build.directory}/modules" --module
>> "${project.groupId}/${mainClass}"
>> java
>> true
>> 
>> 
>> 
>>
>>
>>
>> And don’t forgot you need to make the module-info.java in the default
>> sources package:
>>
>> module **Your groupId ** {
>> requires javafx.fxml;
>> requires javafx.controls;
>> requires javafx.graphics;
>> requires javafx.base;
>> requires javafx.media;
>> opens **Your groupId . your battleship ** ;
>> }
>>
>>
>>
>>
>>
>> *From:* Dragan Bjedov 
>> *Sent:* Saturday, September 22, 2018 1:10 PM
>> *To:* users@netbeans.apache.org
>> *Subject:* JavaFX 11 run problem
>>
>>
>>
>> Hello,
>>
>>
>>
>> I have problem with running JavaFx Maven application.
>>
>> I created 

Re: JavaFX 11 run problem

2018-09-22 Thread Dragan Bjedov
Hello Mathew,

Thanks. This works, but it has disadvantage that I need to do Clean
(which is mvn clean install) when I make any change in order to see
change in run app. With this, Compile on Save feature is not working.

Also is there way make this working in plain Java app, without modules.

Thanks

суб, 22. сеп 2018. у 19:19 Mathew Dusome  је
написао/ла:

> To fix JavaFX in Java 11 I did the following:
>
> *Under Project Files -> pom.xml*
>
> You change everything *under * To this:
>
> 
>
> 
>
> org.openjfx
>
> javafx-fxml
>
> 11-ea+25
>
> 
>
> 
>
> org.openjfx
>
> javafx-media
>
> 11-ea+25
>
> 
>
> 
>
>
>
> 
>
> 
>
>
>
> 
>
> 
>
> org.apache.maven.plugins
>
> maven-compiler-plugin
>
> 3.8.0
>
> 
>
> 11
>
> 
>
> 
>
> 
>
> org.ow2.asm
>
> asm
>
> 6.2.1
>
> 
>
> 
>
> 
>
>
>
> 
>
>
>
>  
>
> org.codehaus.mojo
>
> exec-maven-plugin
>
> 1.6.0
>
> 
>
> 
>
> 
>
> exec
>
> 
>
> 
>
> 
>
> 
>
> ${mainClass}
>
> 
>
> 
>
>
>
>
>
> 
>
>   
>
> maven-jar-plugin
>
> 3.1.0
>
> 
>
> 
>
> 
>
> ${mainClass}
>
> 
>
> 
>
> 
>
> ${project.build.directory}/modules
>
> 
>
> 
>
> 
>
>
>
>  
>
> 
>
> org.apache.maven.plugins
>
> maven-dependency-plugin
>
> 3.1.1
>
>
>
> 
>
> copy-dependencies
>
> prepare-package
>
> 
>
> copy-dependencies
>
> 
>
> 
>
>
> ${project.build.directory}/modules
>
> runtime
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
> *Change to nbactions.xml*
>
> In this file you are going to replace the whole thing with:
>
> 
> 
> 
> run
> 
> jar
> 
> 
> process-classes
> package
> org.codehaus.mojo:exec-maven-plugin:exec
> 
> 
> --module-path
> "${project.build.directory}/modules" --module
> "${project.groupId}/${mainClass}"
> java
> 
> 
> 
> debug
> 
> jar
> 
> 
> process-classes
> package
> org.codehaus.mojo:exec-maven-plugin:exec
> 
> 
>
> -agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
> --module-path "${project.build.directory}/modules" --module
> "${project.groupId}/${mainClass}"
> java
> true
> 
> 
> 
>
>
>
> And don’t forgot you need to make the module-info.java in the default
> sources package:
>
> module **Your groupId ** {
> requires javafx.fxml;
> requires javafx.controls;
> requires javafx.graphics;
> requires javafx.base;
> requires javafx.media;
> opens **Your groupId . your battleship ** ;
> }
>
>
>
>
>
> *From:* Dragan Bjedov 
> *Sent:* Saturday, September 22, 2018 1:10 PM
> *To:* users@netbeans.apache.org
> *Subject:* JavaFX 11 run problem
>
>
>
> Hello,
>
>
>
> I have problem with running JavaFx Maven application.
>
> I created JavaFX Maven project using project wizard and updated pom as
> specified on
>
> this page: https://openjfx.io/openjfx-docs/#maven.
>
> I'm using JDK11 early access build 28 - http://jdk.java.net/11/. I tried
> both Open JDK and Oracle JDK, same issue.
>
> Operating System: Linux Mint 19 64-bit.
>
>
>
> Clean and build works correctly, but when I try to run I'm getting
> following error:
>
> cd /home/dragan/NetBeansProjects/JavaFxJDK11;
> JAVA_HOME=/home/dragan/Downloads/open-jdk-11
> /home/dragan/Programs/incubating-netbeans-java-9.0/netbeans/java/maven/bin/mvn
> -f /home/dragan/NetBeansProjects/JavaFxJDK11/pom.xml
> "-Dexec.args=-classpath %classpath db.javafx.jdk11.HelloFX"
> -Dexec.executable=/home/dragan/Downloads/open-jdk-11/bin/java
> 

Re: problem installing GUI Builder in netbeans9.0

2018-09-22 Thread Chuck Davis
As an alternative you might consider PDFBox.  I used iReport for a period
before it went private since at that time Java Print was unusable for
business reporting.  At that point I looked for alternatives and landed
with PDFBox.  Maybe it will work and maybe not.  It is, however, an Apache
project and further, I would like to see the day it is closely integrated
with NB -- along with ODFToolkit and James.  Then we would be getting very
close to having the kind of desktop development environment MS offers.

https://pdfbox.apache.org/
http://incubator.apache.org/odftoolkit/

Be aware that there has been talk on the dev list for ODFToolkit about
retiring it due to lack of interest.  But when that discussion came about
there was response that it would be premature because one of the developers
has been doing work which may be on the cusp of generating significant
corporate/government interest and would inject a boatload of new interest
in the project.  If that happens it would make exporting data from Java/NB
to spreadsheets/documents/graphs very easy -- like all the windows based
desktop apps currently export to excel & word.

Just some food for thought.  I use both projects.


On Sat, Sep 22, 2018 at 1:36 AM Sabintxo  wrote:

> Hi Geertjan,
>
> My target is to install ireport designer from jasper reports. But i have
> this error installing plugin:
>
> Thank you
>
>


Re: [Platform] Maven artefacts

2018-09-22 Thread Geertjan Wielenga
Since very recently the netbeans.org domain was officially donated to
Apache, the org.netbeans Maven id can be used by Apache for the very first
time. Howrver, somebody (maybe you?) needs to now actually take the steps
to put everything in the right place, put artifacts on Maven, etc.

It could all be done very quickly, if someone, maybe you, puts a proposal
together or starts a new mail thread on the dev list to discuss this or
provides a pulm request if applicable or simply does it and asks for
approval later.

The sky is the limit, but someone needs to take off and fly..,

Gj


On Saturday, September 22, 2018, Yann Dameron  wrote:

> Hi,
>
> I'm working on an application based on the Netbeans 8.2 platform. I'm
> currently using Maven (Netbeans RELEASE82 version) and I'm looking to
> upgrade it to the Netbeans 9 platform.
> Did you released Netbeans 9 artefacts on a Maven Repo ? Is it planed for
> Netbeans 10?
>
> Thanks,
> Yann
>


Re: problem installing GUI Builder in netbeans9.0

2018-09-22 Thread Sven Reimers
I think we got rid of org.jdesktop.layout for 9.0 due to licensing
constraints.

So either someone publishes a replacement module on the plugin portal or
the iReport plugin needs to be fixed to use the new packages from JDK.

Just my 2€cents

-Sven

Sabintxo  schrieb am Sa., 22. Sep. 2018, 11:25:

> Thank you
>
> El 22/09/18 a las 11:10, Geertjan Wielenga escribió:
>
> Don't be worried, instead, please point to where you're getting it from so
> that others can try and reproduce the problem.
>
> If it works in 8.2, then it should probably work in 9.0, or we can ask the
> provider of the plugin to recompile it for 9.0.
>
> Gj
>
>
> On Sat, Sep 22, 2018 at 11:05 AM, Sabintxo  wrote:
>
>> Thanks John,
>>
>> I will try with jasper studio built on eclipse. Jasper report plugin for
>> netbeans works fine in netbeans 8.2 and I use it for my projects integrated
>> with netbeans IDE. So I'm worried about the support of this plugin in
>> netbeans 9.0.
>>
>>
>> Thank you
>>
>>
>>
>> El 22/09/18 a las 10:56, John McDonnell escribió:
>>
>> Hi,
>>
>> Hate to promote another IDE, but if your working with Jasper Reports, I
>> would only use the supported Jasper Studio application(Built on Eclipse):
>> https://community.jaspersoft.com/project/jaspersoft-studio
>>
>> Done alot with Jasper Reports this year, and the Studio app is by far the
>> best app to use.
>>
>> Regards
>>
>> John
>>
>>
>>
>> On Sat, 22 Sep 2018 at 09:52, Geertjan Wielenga
>> 
>>  wrote:
>>
>>> Where does it say that iReport supports Apache NetBeans 9.0?
>>>
>>> Thanks,
>>>
>>> Gj
>>>
>>> On Sat, Sep 22, 2018 at 10:35 AM, Sabintxo  wrote:
>>>
 Hi Geertjan,

 My target is to install ireport designer from jasper reports. But i
 have this error installing plugin:

 And I thought that the required plugin org.jdesktop.layout was in GUI
 Builder.

 Any suggestion?


 Thank you

 El 22/09/18 a las 01:15, Geertjan Wielenga escribió:

 Why are you installing a GUI builder, NetBeans has one built in, no
 need for plugins for building GUIs.

 Gj

 On Saturday, September 22, 2018, Sabintxo  wrote:

> Hi,
>
> I am trying to install GUI Builder and iReport in netbeans 9.0 and I
> have this error
>
> Thanks a lot
>


>>>
>>
>
>


Re: problem installing GUI Builder in netbeans9.0

2018-09-22 Thread Geertjan Wielenga
Don't be worried, instead, please point to where you're getting it from so
that others can try and reproduce the problem.

If it works in 8.2, then it should probably work in 9.0, or we can ask the
provider of the plugin to recompile it for 9.0.

Gj


On Sat, Sep 22, 2018 at 11:05 AM, Sabintxo  wrote:

> Thanks John,
>
> I will try with jasper studio built on eclipse. Jasper report plugin for
> netbeans works fine in netbeans 8.2 and I use it for my projects integrated
> with netbeans IDE. So I'm worried about the support of this plugin in
> netbeans 9.0.
>
>
> Thank you
>
>
>
> El 22/09/18 a las 10:56, John McDonnell escribió:
>
> Hi,
>
> Hate to promote another IDE, but if your working with Jasper Reports, I
> would only use the supported Jasper Studio application(Built on Eclipse):
> https://community.jaspersoft.com/project/jaspersoft-studio
>
> Done alot with Jasper Reports this year, and the Studio app is by far the
> best app to use.
>
> Regards
>
> John
>
>
>
> On Sat, 22 Sep 2018 at 09:52, Geertjan Wielenga
> 
>  wrote:
>
>> Where does it say that iReport supports Apache NetBeans 9.0?
>>
>> Thanks,
>>
>> Gj
>>
>> On Sat, Sep 22, 2018 at 10:35 AM, Sabintxo  wrote:
>>
>>> Hi Geertjan,
>>>
>>> My target is to install ireport designer from jasper reports. But i have
>>> this error installing plugin:
>>>
>>> And I thought that the required plugin org.jdesktop.layout was in GUI
>>> Builder.
>>>
>>> Any suggestion?
>>>
>>>
>>> Thank you
>>>
>>> El 22/09/18 a las 01:15, Geertjan Wielenga escribió:
>>>
>>> Why are you installing a GUI builder, NetBeans has one built in, no need
>>> for plugins for building GUIs.
>>>
>>> Gj
>>>
>>> On Saturday, September 22, 2018, Sabintxo  wrote:
>>>
 Hi,

 I am trying to install GUI Builder and iReport in netbeans 9.0 and I
 have this error

 Thanks a lot

>>>
>>>
>>
>