Re: WildFly plug-in for NetBeans 11.1?

2019-10-31 Thread James Ostrowick
No, not at the moment.

You can however download the 8.2 plugin and use that (I currently do) it works 
perfectly even with WF 17 (18 is now most recent version)
http://plugins.netbeans.org/plugin/5/wildfly-application-server 


Download the above and manually add it via the plugins manager

> On 01 Nov 2019, at 02:00, Jorge Campins  wrote:
> 
> Is there a WildFly plug-in for NetBeans 11.1? If so, how can I get it?
> 
> Saludos cordiales,
> 
> Jorge Campins



WildFly plug-in for NetBeans 11.1?

2019-10-31 Thread Jorge Campins
Is there a WildFly plug-in for NetBeans 11.1? If so, how can I get it?

Saludos cordiales,

Jorge Campins


log4j messages missing in GlassFish server log of NetBeans 11.1

2019-10-31 Thread Jorge Campins
I have a web application running in GlassFish 5.1.0. The application uses
log4j. Messages are properly written to GlassFish's server.log file and to
a log4j rolling file appender. But I cannot see those messages in the
GlassFish server log of NetBeans 11.1. I can see them in NetBeans 8.2.

Saludos cordiales,

Jorge Campins


Some problems with maven-archetype projects

2019-10-31 Thread Jorge Campins
NetBeans is validating and reporting errors in java resources of maven
archetypes (files in src/main/resources/archetype-resources) as it does for
java files in a standard project.
Additionally, *archetype-resources* is shown in *Projects* window only if *Show
Resources as Packages* of *Other Sources* is turned off. Perhaps the hyphen
in its name is causing this behavior.

Saludos cordiales,

Jorge Campins


Why tests aren't executing?

2019-10-31 Thread Greenberg, Gary
Still having problems with the project that I have inherited from the 
contractor.
I want to execute unit test, but when I select 'Test' from the project context 
menu I am getting:

--- maven-resources-plugin:3.1.0:testResources (default-testResources) @ 
mnsbatch ---
Not copying test resources

--- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mnsbatch ---
Not compiling test sources

--- maven-surefire-plugin:2.22.2:test (default-test) @ mnsbatch ---
Tests are skipped.

BUILD SUCCESS


I did check project properties and there is no skip-tests = true anywhere in 
the actions.
If I try to run a particular test file, I am getting the same thing.
I am not blaming it on Netbeans, as I am getting the same result if I run "mvn 
test" from the command line, but will appreciate any help.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]



Platform Installer Generation on JDK 11/Maven

2019-10-31 Thread Steven Yi
Hi All,

I ran into this today when I switched to JDK 11:

[INFO] Compiling 6 source files to
C:\projects\blue\application\target\installerbuild\nbi_all\ext\infra\build\engine\build\ext\engine\build\classes
error: Source option 5 is no longer supported. Use 6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 

[INFO] BUILD FAILURE

I haven't quite figured out where the nbi template code is being copied
from but that seems to need an update.  (The code copied into nbi_all has
references to Java 1.5 everywhere.)

Anyone have pointers on where to look?  This seems like something that
requires an update in nbm-maven-plugin as well as in nbi code.

Thanks!
Steven


Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
Dear Neil,

Oh well. I've looked at some old NB8 projects and they have the comments.

I don't think it's the dependencies, though, as in my original project all I 
had to do was edit the Java file and it worked fine without touching the 
project properties, which had the same libraries as the cut-down example I 
posted with the exception of an additional private library.

I don't think I'd have edited the comments out with Wordpad myself, as there's 
no reason to. I use the NB editor when changing my programs. All very odd but 
at least solved by yourself so I can continue work. Thanks again.

Best regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

-
Thursday, October 31, 2019, 5:05:02 PM, you wrote:

> On Thu, 31 Oct 2019 at 16:53, Peter Toye
>  wrote:
>> Thanks a million. That did the trick.

> Great!

>> I suspect that the conversion from NB 8 to 11 has some bugs in this area - 
>> it probably doesn't add the comments in properly. But now I don't have a 
>> working NB 8 so can't test it out.

> In general there isn't - I've done a lot of
> that update over the last
> couple of months - in fact, checked against some of mine to see
> exactly what was missing.  There is no comment to add in.  Something
> in your process has resulted in them being removed.  Not sure if
> broken dependencies could cause that problem?!

> Best wishes,

> Neil

> -
> To unsubscribe, e-mail:
> users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail:
> users-h...@netbeans.apache.org

> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: GUI builder cannot find generated code

2019-10-31 Thread Neil C Smith
On Thu, 31 Oct 2019 at 16:53, Peter Toye  wrote:
> Thanks a million. That did the trick.

Great!

> I suspect that the conversion from NB 8 to 11 has some bugs in this area - it 
> probably doesn't add the comments in properly. But now I don't have a working 
> NB 8 so can't test it out.

In general there isn't - I've done a lot of that update over the last
couple of months - in fact, checked against some of mine to see
exactly what was missing.  There is no comment to add in.  Something
in your process has resulted in them being removed.  Not sure if
broken dependencies could cause that problem?!

Best wishes,

Neil

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Platform App, JavaFX, and Java 11

2019-10-31 Thread Steven Yi
Yes, this might be a nice thing to have in a page.  I was thinking of doing
a write-up sometime from all of this as there were some interesting hurdles
(and still more to work through). Is the Confluence page linked anywhere on
netbeans.apache.org? I didn't see it mentioned.

I've switched my tool chain now to Java 11 JDK and it's bringing up other
issues now.  (Some oddities compiling with source=11 and invalid class
format at runtime ring a bell for anyone?) Will be some more days before
this is ironed out.

For now though, if anyone is interested, the JavaFX part seems to be
working well.  I have a maven module that wraps OpenJFX:

https://github.com/kunstmusik/blue/tree/feature/maven/blue-ext-openjfx

and I had to add some exclusions when importing ControlsFX in another
module:

https://github.com/kunstmusik/blue/blob/feature/maven/blue-ui-core/pom.xml#L277-L303

Seems to be working on Linux and MacOS (testing on Windows coming), but if
others have any particular tips I'd love to hear them. :)

On Thu, Oct 31, 2019 at 8:47 AM Eric Barboni  wrote:

> Happy you sort this out.
>
>
>
> I did this kind of migration a long time ago, it may be nice to share
> workflow on migration or tips in a web or confluence page.
>
>
>
> Best Regards
>
> Eric
>
>
>
>
>
> *De :* Steven Yi 
> *Envoyé :* jeudi 31 octobre 2019 04:36
> *À :* users@netbeans.apache.org
> *Objet :* Re: Platform App, JavaFX, and Java 11
>
>
>
> Following up, I dug into this a lot today with the debugger and stepping
> though the platform startup process. I found that the issue wasn't related
> to JavaFX at all but rather a native library I use via SWIG bindings. I'm
> exploring a JNA-based solution now for that.  Happy to say, that aside,
> JavaFX+Swing did run on Java 11 for me in the end, which was a big relief.
> I'll follow up one last time on this thread when there is a fixed up
> solution in case anyone is interested in the maven wrapper module I put
> together to get JavaFX integrated.
>
>
>
> All best,
>
> Steven
>
>
>
>
>
> On Tue, Oct 29, 2019 at 9:53 PM Steven Yi  wrote:
>
> Hi All,
>
>
>
> I've been working on migrating my platform application Blue to Maven.  I
> have this working with RELEASE111 and Java 8.  However, when I move to Java
> 11, my app starts up, show the splash screen, shows messages about loading
> modules, then disappears and nothing happens.  My application uses both
> Swing and JavaFX and for Java 11 I've added OpenJFX into an NBM module and
> had all of my modules that use JavaFX depend upon that module.
>
>
>
> The problem I have right now is that even if I add
> netbeans.logger.console=true to the .conf file, I don't see any useful
> information that helps me to debug what is going on. I'm also not getting a
> segfault as I do not see any dump files.
>
>
>
> I do get a warning about "WARNING: Illegal reflective access by
> org.netbeans.ProxyURLStreamHandlerFactory to field java.net.URL.handler" in
> the startup.  I do not know if that is related to the early exit or not
> (the only reports of related messages came up with Netbeans and Java 9 in
> the past).  I am able to run Netbeans 11.1 on this machine.
>
>
>
> For information, I am using openjdk-11 and this is on Xubuntu 18.04. This
> is also my first foray into Java > 8 and using JavaFX. Log is printed at
> end of this email. (It is the complete set of messages before the
> application exits.)
>
>
>
> Questions:
>
>
>
> 1. Is anyone using Swing+JavaFX in their platform apps on Java 11 and
> could give any pointers as to how they did so?
>
> 2. Anyone run into a situation where their platform app just dies silently
> have suggestions on how to diagnose?
>
>
>
> For reference, this branch contains ongoing work with maven changes for
> JavaFX and Java11:
>
>
>
> https://github.com/kunstmusik/blue/commits/mvn-java11
>
>
>
> and there are CI builds if anyone wants to reproduce the silent quit:
>
>
>
> https://ci.appveyor.com/project/kunstmusik/blue/build/artifacts
>
>
>
> Any help appreciated!
>
> Steven
>
>
>
>
>
> steven@ubuntu:~/blue/application/target/blue/bin$ ./blue
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.netbeans.ProxyURLStreamHandlerFactory
> (file:/home/steven/blue/application/target/blue/platform/lib/boot.jar) to
> field java.net.URL.handler
> WARNING: Please consider reporting this to the maintainers of
> org.netbeans.ProxyURLStreamHandlerFactory
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
>
> ---
> >Log Session: Tuesday, October 29, 2019 at 5:39:36 PM Pacific Daylight Time
> >System Info:
>   Product Version = Blue
> 11.2-d04fb24027334c4b6fd8397b5d0cdd33187a8f54
>   Operating System= Linux version 5.0.0-32-generic running on amd64
>   Java; VM; Vendor

Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
Dear Neil,

Thanks a million. That did the trick.

I had no idea what the GUI editor was looking for, and for some reason the NB 
editor suppresses the GEN-BEGIN/END comments, so it's not so easy to work out 
by looking at the text. I'd worked out the bit round the initcomponents method, 
but not the variables.

I suspect that the conversion from NB 8 to 11 has some bugs in this area - it 
probably doesn't add the comments in properly. But now I don't have a working 
NB 8 so can't test it out.

Best regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

-
Thursday, October 31, 2019, 11:59:34 AM, you wrote:

> On Thu, 31 Oct 2019 at 11:46, Peter Toye
>  wrote:
>> You should get an error message saying the file is corrupt. If you don't, 
>> your system is different from mine.

> Yep!  Probably because it is.  Open the
> OuterPane.java file in a text
> editor outside NetBeans and make sure the comments around the
> variables section are

>   // Variables declaration - do not
> modify//GEN-BEGIN:variables
>   private javax.swing.ButtonGroup bgColours;
> 
>   // End of variables
> declaration//GEN-END:variables

> And in the project properties, remove all external libraries.

> Opens fine for me then.

> Best wishes,

> Neil

> -
> To unsubscribe, e-mail:
> users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail:
> users-h...@netbeans.apache.org

> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


RE: Platform App, JavaFX, and Java 11

2019-10-31 Thread Eric Barboni
Happy you sort this out.

 

I did this kind of migration a long time ago, it may be nice to share workflow 
on migration or tips in a web or confluence page.

 

Best Regards

Eric

 

 

De : Steven Yi  
Envoyé : jeudi 31 octobre 2019 04:36
À : users@netbeans.apache.org
Objet : Re: Platform App, JavaFX, and Java 11

 

Following up, I dug into this a lot today with the debugger and stepping though 
the platform startup process. I found that the issue wasn't related to JavaFX 
at all but rather a native library I use via SWIG bindings. I'm exploring a 
JNA-based solution now for that.  Happy to say, that aside, JavaFX+Swing did 
run on Java 11 for me in the end, which was a big relief. I'll follow up one 
last time on this thread when there is a fixed up solution in case anyone is 
interested in the maven wrapper module I put together to get JavaFX integrated. 

 

All best,

Steven

 

 

On Tue, Oct 29, 2019 at 9:53 PM Steven Yi mailto:steve...@gmail.com> > wrote:

Hi All,

 

I've been working on migrating my platform application Blue to Maven.  I have 
this working with RELEASE111 and Java 8.  However, when I move to Java 11, my 
app starts up, show the splash screen, shows messages about loading modules, 
then disappears and nothing happens.  My application uses both Swing and JavaFX 
and for Java 11 I've added OpenJFX into an NBM module and had all of my modules 
that use JavaFX depend upon that module.

 

The problem I have right now is that even if I add netbeans.logger.console=true 
to the .conf file, I don't see any useful information that helps me to debug 
what is going on. I'm also not getting a segfault as I do not see any dump 
files.  

 

I do get a warning about "WARNING: Illegal reflective access by 
org.netbeans.ProxyURLStreamHandlerFactory to field java.net.URL.handler" in the 
startup.  I do not know if that is related to the early exit or not (the only 
reports of related messages came up with Netbeans and Java 9 in the past).  I 
am able to run Netbeans 11.1 on this machine.

 

For information, I am using openjdk-11 and this is on Xubuntu 18.04. This is 
also my first foray into Java > 8 and using JavaFX. Log is printed at end of 
this email. (It is the complete set of messages before the application exits.) 

 

Questions:

 

1. Is anyone using Swing+JavaFX in their platform apps on Java 11 and could 
give any pointers as to how they did so?

2. Anyone run into a situation where their platform app just dies silently have 
suggestions on how to diagnose?

 

For reference, this branch contains ongoing work with maven changes for JavaFX 
and Java11:

 

https://github.com/kunstmusik/blue/commits/mvn-java11

 

and there are CI builds if anyone wants to reproduce the silent quit:

 

https://ci.appveyor.com/project/kunstmusik/blue/build/artifacts

 

Any help appreciated!

Steven

 

 

steven@ubuntu:~/blue/application/target/blue/bin$ ./blue
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory 
(file:/home/steven/blue/application/target/blue/platform/lib/boot.jar) to field 
java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of 
org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
---
>Log Session: Tuesday, October 29, 2019 at 5:39:36 PM Pacific Daylight Time
>System Info: 
  Product Version = Blue 11.2-d04fb24027334c4b6fd8397b5d0cdd33187a8f54
  Operating System= Linux version 5.0.0-32-generic running on amd64
  Java; VM; Vendor= 11.0.4; OpenJDK 64-Bit Server VM 
11.0.4+11-post-Ubuntu-1ubuntu218.04.3; Ubuntu
  Runtime = OpenJDK Runtime Environment 
11.0.4+11-post-Ubuntu-1ubuntu218.04.3
  Java Home   = /usr/lib/jvm/java-11-openjdk-amd64
  System Locale; Encoding = en_US (blue); UTF-8
  Home Directory  = /home/steven
  Current Directory   = /home/steven/blue/application/target/blue/bin
  User Directory  = /home/steven/.blue/dev
  Cache Directory = /home/steven/.blue/dev/var/cache
  Installation= /home/steven/blue/application/target/blue/manual
/home/steven/blue/application/target/blue/etc
/home/steven/blue/application/target/blue/blue
/home/steven/blue/application/target/blue/platform
/home/steven/blue/application/target/blue/bin
/home/steven/blue/application/target/blue/ide
/home/steven/blue/application/target/blue/examples
/home/steven/blue/application/target/blue/extra

Re: ISO-8859-1

2019-10-31 Thread Glenn Holmer
On 10/30/19 1:25 AM, Juan Algaba wrote:
>> You can use the default option in the netbeans.conf
>>
>> -J-Dfile.encoding=UTF8 // change encoding

Thanks to everyone for all the suggestions. As it happens, upstream
edited all the German comments in the code to transliterate them (e.g. ö
--> oe), so there's no more need for a hack and I can continue to enjoy
NetBeans' superb git support while working on an obscure piece of 6502
code :)

For those who just have to know:
https://www.lyonlabs.org/commodore/onrequest/geckos-analysis.html

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."
<>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re: Select Web Project Run ??

2019-10-31 Thread Don
That's what crossed my mind early this morning as I was waking up.  When 
I unchecked the Deploy on Save box, that problem went away. I hadn't 
noticed the existence of an automatic deploy folder in Tomcat.


It's only a problem because the 2 apps are not intended to run in the 
same memory space and when they do, they fight over port assignments and 
it brings everything down.



Don

On 10/30/19 3:01 PM, Geertjan Wielenga wrote:
Maybe remove them from the Tomcat automatic deploy folder, could solve 
it. But this is default behavior, should be default behavior on the 
command line too.


Gj

On Wed, Oct 30, 2019 at 7:46 PM Don > wrote:


In only happens when run from NetBeans.  Command line startup.sh
is acting normally.  In addition, if I use Debug instead of Run,
the problem is not apparent.

Don

On 10/30/19 2:38 PM, Geertjan Wielenga wrote:

Best to ask on the Tomcat mailing lists.

Gj

On Wed, Oct 30, 2019 at 7:37 PM Don mailto:don.albert...@gmail.com>> wrote:

Where does it keep track of them? On the production server,
they are in the webapps folder but when this is running,
there is nothing in the local server's webapps folder.  Is
there any way to NOT keep track of them and run them when
they are not wanted?

Don

On 10/30/19 2:22 PM, Geertjan Wielenga wrote:

So those projects were deployed before to Tomcat and Tomcat
keeps tracks of them and redeploys them when Tomcat restarts.

Find out more about Tomcat here: https://tomcat.apache.org/

Gj


On Wed, Oct 30, 2019 at 6:57 PM Don mailto:don.albert...@gmail.com>> wrote:

When I select a project and right-click and select Run,
it prints

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting Tomcat process...
Waiting for Tomcat...

In the Tomcat output window I can see that it is
starting projects that
are not open in NetBeans and that I do not want to run
(because they
have issues).

Right after 'Startup sequence completed in 327ms'  it
starts to print
output from a .class file for an app listener followed
from another
.class file for a different app listener in a different
project neither
of which is the one I want to run.

Why is it executing code in other projects?


Don



-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org

For additional commands, e-mail:
users-h...@netbeans.apache.org


For further information about the NetBeans mailing
lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: GUI builder cannot find generated code

2019-10-31 Thread Neil C Smith
On Thu, 31 Oct 2019 at 11:46, Peter Toye  wrote:
> You should get an error message saying the file is corrupt. If you don't, 
> your system is different from mine.

Yep!  Probably because it is.  Open the OuterPane.java file in a text
editor outside NetBeans and make sure the comments around the
variables section are

  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.ButtonGroup bgColours;

  // End of variables declaration//GEN-END:variables

And in the project properties, remove all external libraries.

Opens fine for me then.

Best wishes,

Neil

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: GUI builder cannot find generated code

2019-10-31 Thread Peter Toye
Dear Geertjan,

Sorry for the delay - urgent project took up too much time.

I'm not sure what you mean by a "Stack trace" - there's no dump available as it 
didn't crash.

I've now put the example onto GitHub at https://github.com/ptoye/TestFormBug

Here's as small an example as I can manage.

Steps to reproduce:

Open TestFormBug in NB 11.1 (I'm on Windows - don't know if the OS is relevant).
If not already open, in package com.ptoye.testFormBug, open OuterPane.Java.
Click on "Design" tab
You should get an error message saying the file is corrupt. If you don't, your 
system is different from mine.


Best regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

-
Wednesday, October 23, 2019, 3:33:49 PM, you wrote:


Unless we can reproduce it or get a stack trace, you?ll get no responses.

Gj

On Wed, 23 Oct 2019 at 16:09, Peter Toye  wrote:

More information on this. When I open the .java file in a text editor, the 
editor-fold lines have extra information

  // //GEN-BEGIN:initComponents
and
  } // //GEN-END:initComponents

But these don't appear when I look at the file in NetBeans. I've done the same 
for a very simple project which I started from scratch and the same happens.

Is the editor performing some sort of censorship on auto-generated comments? It 
doesn't make looking for problems any easier. Or is it a bug, in which case 
I'll report it?

But I still can't develop my project until I can sort this. I'm attaching the 
error that I get in case it helps.

Does anyone know exactly what the GUI editor is looking for, so that I can edit 
the file to satisfy it? Various attempts by me to try that have all failed.

-

Tuesday, October 22, 2019, 11:55:09 AM, you wrote:


Another issue moving from NB 8 to 11.1

I moved a Java with Ant project from NB version 8 to 11.1, and everything 
seemed fine until I decided to modify a form within the project. I got an error 
message saying that the GUI builder couldn't find the generated code. The 
message directed me to the wiki page 
http://wiki.netbeans.org/FormGuardedBlockError which describes the issue, but 
the generated code sections of my project seem OK - I reproduce them below. 
These are identical to code generated on a new project which of course doesn't 
give the error.

  // 
  private void initComponents() {
...
add(pnlButtons, java.awt.BorderLayout.NORTH);
??  } // 

  // Variables declaration - do not modify
  private javax.swing.ButtonGroup bgColours;
...
  private javax.swing.JRadioButton rbtTemp;
  // End of variables declaration
??

Any ideas on how I can recover from this, as the code looks fine?

 
Regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

Re: Problem third party as module in depedency of netbeans 11.2

2019-10-31 Thread Geertjan Wielenga
I'd recommend just using the standard animation from JavaFX:

https://openjfx.io/javadoc/13/javafx.graphics/javafx/animation/package-summary.html

Gj

On Thu, Oct 31, 2019 at 8:39 AM dony kisworo  wrote:

> Hi All,
>
> I use netbeans 11.2 vc1 where I start with a new project in the category
> "java with maven" and choose the project "FXML JavaFX Maven Archetype
> (Gluon), after the project formed with the sample file, which I run
> successfully.
> I try to do the following steps:
>
> 1. I lost the button, I added a letter with frame 1 as a splash where
> after a few
> seconds will change to the second frame I add a thread and it works
> fine.
> 2. I want to add animation to the text before switching frames to 2. I took
> animatexFX dependencies from the central repository and when I built
> it
> appeared that animateFX dependencies had to be made
> automatic module don't publish folders in the project.
> 3. I try to make a way by manually downloading animateFX and adding the
> automatic-module information in its manifest then I make a jar and I
> try to
> install dependencies manually by the way, I right-click on animateFX
> dependencies from the central then I choose install artifact manually
> by
> entering the animatefx library that I have filled in automatic-module,
> now
> another problem arises, when I build it runs successfully but when I
> run the
> statement appears that the main class is not found, let me check the
> netbeans output (terminal):
>there is a description that the javafx runtime componet is missing and
> the component is requested. I try to check the dependency javafx runtime is
> still there. My question:
>
>A. is it because I installed animateFX artifact manually to make other
>components, especially javafx no longer related to dependencies even
>though they still appear in project dependencies
>B. How to make libraries that are in dependencies can be made into
> automatic
>modules, especially third parties.
>
>
> Best regards
>
>
> Dony
>
>
> 
>  Virus-free.
> www.avg.com
> 
> <#m_-5913577502008389592_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


Problem third party as module in depedency of netbeans 11.2

2019-10-31 Thread dony kisworo
Hi All,

I use netbeans 11.2 vc1 where I start with a new project in the category
"java with maven" and choose the project "FXML JavaFX Maven Archetype
(Gluon), after the project formed with the sample file, which I run
successfully.
I try to do the following steps:

1. I lost the button, I added a letter with frame 1 as a splash where after
a few
seconds will change to the second frame I add a thread and it works
fine.
2. I want to add animation to the text before switching frames to 2. I took
animatexFX dependencies from the central repository and when I built it
appeared that animateFX dependencies had to be made
automatic module don't publish folders in the project.
3. I try to make a way by manually downloading animateFX and adding the
automatic-module information in its manifest then I make a jar and I
try to
install dependencies manually by the way, I right-click on animateFX
dependencies from the central then I choose install artifact manually by
entering the animatefx library that I have filled in automatic-module,
now
another problem arises, when I build it runs successfully but when I
run the
statement appears that the main class is not found, let me check the
netbeans output (terminal):
   there is a description that the javafx runtime componet is missing and
the component is requested. I try to check the dependency javafx runtime is
still there. My question:

   A. is it because I installed animateFX artifact manually to make other
   components, especially javafx no longer related to dependencies even
   though they still appear in project dependencies
   B. How to make libraries that are in dependencies can be made into
automatic
   modules, especially third parties.


Best regards


Dony


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>