Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-04 Thread Geertjan Wielenga
Yes, done.

Gj

On Thu, 5 Dec 2019 at 07:25, Emilian Bold  wrote:

> Should be easy for the NetBeans PMC to contact Apache Legal and mention
> this.
>
> --emi
>
> On Wed, Dec 4, 2019 at 9:45 PM Eric J. Schwarzenbach
>  wrote:
> >
> > So that suggests that this mispelling of apache.org is being used
> maliciously. I seem to recall reading that this is illegal and there are
> actions Apache could take to have this domain shut down.
> >
> >
> > On 12/3/19 10:19 AM, Jens Zurawski wrote:
> >
> > I know, it's just a typo. But I accidentally clicked on it and after
> that my browser went nuts in trying to open some very suspicious stuff on
> and on again, so that I had to stop my browser the hard way by killing the
> process. Of course I didn't try the link again, so maybe it's gone by now.
> >
> > Best is: Just don't use the original address with the typo.
> >
> > cu
> > Jens
> >
> >
> > Am 03.12.2019 um 16:15 schrieb Neil C Smith:
> >
> >
> >
> > On Tue, 3 Dec 2019, 14:53 Chuck Davis,  wrote:
> >>
> >> If you hover on the link google created it indicates it's going to
> maven but then goes anyplace else.
> >
> >
> > It's just a typo, not malicious. Spell Apache right and you're fine.
> >
> > Best wishes,
> >
> > Neil
> >
> >
> >
> > --
> > jens zurawski
> > diegurus - zurawski zurawski poppl rohland GbR
> > juister straße 3
> > 65199 wiesbaden
> >
> > kaspersweg 7b
> > 26131 oldenburg
> >
> > internet http://www.diegurus.de
> >
> > tel +49(0)611 72437966
> >
> >
> > CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
> > person or entity to which it is addressed and may contain confidential
> > and/or privileged material. Any unauthorized review, use, disclosure or
> > distribution is prohibited. If you are not the intended recipient,
> > please contact the sender by reply e-mail and destroy all copies of the
> > original message.  If you are the intended recipient but do not wish to
> > receive communications through this medium, please so advise the sender
> > immediately.
>
> -
> 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: WARNING: INFECTED: Re: deployable javafx app

2019-12-04 Thread Emilian Bold
Should be easy for the NetBeans PMC to contact Apache Legal and mention this.

--emi

On Wed, Dec 4, 2019 at 9:45 PM Eric J. Schwarzenbach
 wrote:
>
> So that suggests that this mispelling of apache.org is being used 
> maliciously. I seem to recall reading that this is illegal and there are 
> actions Apache could take to have this domain shut down.
>
>
> On 12/3/19 10:19 AM, Jens Zurawski wrote:
>
> I know, it's just a typo. But I accidentally clicked on it and after that my 
> browser went nuts in trying to open some very suspicious stuff on and on 
> again, so that I had to stop my browser the hard way by killing the process. 
> Of course I didn't try the link again, so maybe it's gone by now.
>
> Best is: Just don't use the original address with the typo.
>
> cu
> Jens
>
>
> Am 03.12.2019 um 16:15 schrieb Neil C Smith:
>
>
>
> On Tue, 3 Dec 2019, 14:53 Chuck Davis,  wrote:
>>
>> If you hover on the link google created it indicates it's going to maven but 
>> then goes anyplace else.
>
>
> It's just a typo, not malicious. Spell Apache right and you're fine.
>
> Best wishes,
>
> Neil
>
>
>
> --
> jens zurawski
> diegurus - zurawski zurawski poppl rohland GbR
> juister straße 3
> 65199 wiesbaden
>
> kaspersweg 7b
> 26131 oldenburg
>
> internet http://www.diegurus.de
>
> tel +49(0)611 72437966
>
>
> CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
> person or entity to which it is addressed and may contain confidential
> and/or privileged material. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply e-mail and destroy all copies of the
> original message.  If you are the intended recipient but do not wish to
> receive communications through this medium, please so advise the sender
> immediately.

-
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: WARNING: INFECTED: Re: deployable javafx app

2019-12-04 Thread Eric J. Schwarzenbach
So that suggests that this mispelling of apache.org is being used 
maliciously. I seem to recall reading that this is illegal and there are 
actions Apache could take to have this domain shut down.



On 12/3/19 10:19 AM, Jens Zurawski wrote:
I know, it's just a typo. But I accidentally clicked on it and after 
that my browser went nuts in trying to open some very suspicious stuff 
on and on again, so that I had to stop my browser the hard way by 
killing the process. Of course I didn't try the link again, so maybe 
it's gone by now.


Best is: Just don't use the original address with the typo.

cu
Jens


Am 03.12.2019 um 16:15 schrieb Neil C Smith:



On Tue, 3 Dec 2019, 14:53 Chuck Davis, > wrote:


If you hover on the link google created it indicates it's going
to maven but then goes anyplace else.


It's just a typo, not malicious. Spell Apache right and you're fine.

Best wishes,

Neil




--
jens zurawski
diegurus - zurawski zurawski poppl rohland GbR
juister straße 3
65199 wiesbaden

kaspersweg 7b
26131 oldenburg

internethttp://www.diegurus.de

tel +49(0)611 72437966


CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies of the
original message.  If you are the intended recipient but do not wish to
receive communications through this medium, please so advise the sender
immediately.


Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-03 Thread Jens Zurawski
I know, it's just a typo. But I accidentally clicked on it and after 
that my browser went nuts in trying to open some very suspicious stuff 
on and on again, so that I had to stop my browser the hard way by 
killing the process. Of course I didn't try the link again, so maybe 
it's gone by now.


Best is: Just don't use the original address with the typo.

cu
Jens


Am 03.12.2019 um 16:15 schrieb Neil C Smith:



On Tue, 3 Dec 2019, 14:53 Chuck Davis, > wrote:


If you hover on the link google created it indicates it's going to
maven but then goes anyplace else.


It's just a typo, not malicious. Spell Apache right and you're fine.

Best wishes,

Neil




--
jens zurawski
diegurus - zurawski zurawski poppl rohland GbR
juister straße 3
65199 wiesbaden

kaspersweg 7b
26131 oldenburg

internet http://www.diegurus.de

tel +49(0)611 72437966


CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies of the
original message.  If you are the intended recipient but do not wish to
receive communications through this medium, please so advise the sender
immediately.



Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-03 Thread Neil C Smith
On Tue, 3 Dec 2019, 14:53 Chuck Davis,  wrote:

> If you hover on the link google created it indicates it's going to maven
> but then goes anyplace else.
>

It's just a typo, not malicious. Spell Apache right and you're fine.

Best wishes,

Neil


Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-03 Thread Chuck Davis
It wasn't intended to be a link gmail did that.  It was just a message
where to find the maven documentation.

If you hover on the link google created it indicates it's going to maven
but then goes anyplace else.

Correctdo not use the link.  Put the address in the browser manually.

On Tue, Dec 3, 2019 at 2:29 AM Jens Zurawski  wrote:

> Warning, this is a malicious link in this mail. Do not click on it!
>
> Am 03.12.2019 um 03:54 schrieb Chuck Davis:
>
> Chris, the documentation @ maven.apahce.org is getting better all the
> time.  It's even gotten understandable lately.  Certainly enough to get you
> started.  Start in the "User Center".
>
> On Mon, Dec 2, 2019 at 6:22 PM Chris Olsen  wrote:
>
>> Hello, Everyone --
>>
>>   I have a (possibly) related question.  I am also writing JavaFX
>> programs and I am thinking of moving from Ant to Maven (and Java 8 to Java
>> ??).   Is there a good resource about Maven that non-developers would
>> benefit from?  Java is about my 5th language so I'm OK with reading
>> technical stuff, but I' would want something that holds my hand in the
>> beginning.
>>
>>Thanks in advance!
>>
>>   -- Chris
>>
>>
>> -
>> 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
>>
>>
> --
> jens zurawski
> diegurus - zurawski zurawski poppl rohland GbR
> juister straße 3
> 65199 wiesbaden
>
> kaspersweg 7b
> 26131 oldenburg
>
> internet http://www.diegurus.de
>
> tel +49(0)611 72437966
>
>
> CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
> person or entity to which it is addressed and may contain confidential
> and/or privileged material. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient,
> please contact the sender by reply e-mail and destroy all copies of the
> original message.  If you are the intended recipient but do not wish to
> receive communications through this medium, please so advise the sender
> immediately.
>
>


WARNING: INFECTED: Re: deployable javafx app

2019-12-03 Thread Jens Zurawski

Warning, this is a malicious link in this mail. Do not click on it!

Am 03.12.2019 um 03:54 schrieb Chuck Davis:
Chris, the documentation @ maven.apahce.org  
is getting better all the time.  It's even gotten understandable 
lately.  Certainly enough to get you started.  Start in the "User Center".


On Mon, Dec 2, 2019 at 6:22 PM Chris Olsen > wrote:


Hello, Everyone --

  I have a (possibly) related question.  I am also writing JavaFX
programs and I am thinking of moving from Ant to Maven (and Java 8
to Java ??).   Is there a good resource about Maven that
non-developers would benefit from?  Java is about my 5th language
so I'm OK with reading technical stuff, but I' would want
something that holds my hand in the beginning.

   Thanks in advance!

  -- Chris


-
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



--
jens zurawski
diegurus - zurawski zurawski poppl rohland GbR
juister straße 3
65199 wiesbaden

kaspersweg 7b
26131 oldenburg

internet http://www.diegurus.de

tel +49(0)611 72437966


CONFIDENTIALITY NOTICE: This e-mail message is intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply e-mail and destroy all copies of the
original message.  If you are the intended recipient but do not wish to
receive communications through this medium, please so advise the sender
immediately.



Re: deployable javafx app

2019-12-02 Thread Chuck Davis
Chris, the documentation @ maven.apahce.org is getting better all the
time.  It's even gotten understandable lately.  Certainly enough to get you
started.  Start in the "User Center".

On Mon, Dec 2, 2019 at 6:22 PM Chris Olsen  wrote:

> Hello, Everyone --
>
>   I have a (possibly) related question.  I am also writing JavaFX programs
> and I am thinking of moving from Ant to Maven (and Java 8 to Java ??).   Is
> there a good resource about Maven that non-developers would benefit from?
> Java is about my 5th language so I'm OK with reading technical stuff, but
> I' would want something that holds my hand in the beginning.
>
>Thanks in advance!
>
>   -- Chris
>
>
> -
> 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: deployable javafx app

2019-12-02 Thread Chris Olsen
Hello, Everyone --

  I have a (possibly) related question.  I am also writing JavaFX programs and 
I am thinking of moving from Ant to Maven (and Java 8 to Java ??).   Is there a 
good resource about Maven that non-developers would benefit from?  Java is 
about my 5th language so I'm OK with reading technical stuff, but I' would want 
something that holds my hand in the beginning.

   Thanks in advance! 

  -- Chris


-
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: deployable javafx app

2019-12-02 Thread Luff,Chris
Right, it depends on if you want modular or non-modular and that is generally 
predicated by what kind of dependencies you include that you cannot influence.

If you want a non-modular binary you can use a shaded JAR with a launcher class 
that literally calls the main method of the main that extends the JavaFX 
Application. and Jlink. You’ll obviously need to include all the JavaFX 
dependencies.




org.apache.maven.plugins
maven-compiler-plugin
3.8.1

${maven.compiler.version}



org.openjfx
javafx-maven-plugin
0.0.3

${mainClass}



org.apache.maven.plugins
maven-shade-plugin
3.2.1


package

shade



true

project-classifier

${project.build.directory}/jar/${project.artifactId}.jar


${launcherClass}









Simply run this and you’ll get an executable binary for the platform you are 
running.
mvn org.openjfx:javafx-maven-plugin:0.0.3:jlink

If however, you want a modular project it’s somewhat more complex but 
nonetheless doable; you could follow my tutorial on DZone[1]. It does need 
updating a little - in that you can use the JDK 14ea JPackage to do the 
packaging now but it is generally all still applicable.

Hope this helps!

On 1 Dec 2019, at 11:03, joe schmo 
mailto:geekyguy...@hotmail.com>> wrote:

I have created a javafx application using Netbeans 11.1, it is a maven based 
project.  I want to create a deployable executable jar file.  Is there a good 
tutorial or documentation on how to do this with Netbeans/maven?

Thanks



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: deployable javafx app

2019-12-01 Thread William Reynolds

I sent this out a couple of weeks ago:



For my application, I've had need of some reliable, reusable NBI installer 
scripts, so I've implemented some:

https://github.com/wnreynoldsWork/InstallersWithEmbeddedJVM.git

Here is the README:

This is a demonstration of a Netbeans Rich Client Platform (RCP)
application that shows how to embed a JRE into the installer that will
be used by the application.  The package works around numerous bugs in
the current Netbeans Installer (NBI) harness. See the JIRA issues:

https://issues.apache.org/jira/browse/NETBEANS-1157
https://issues.apache.org/jira/browse/NETBEANS-1145
https://issues.apache.org/jira/browse/NETBEANS-3332

The application consists of a trivial window (module HiMom), a branding
module, and an application module, where all of the action happens. The
objective is for the application module to be droppable into any RCP
application, providing robust NBI installers for Windows and Linux.

The application package enables Windows installers to work on modern
versions of Java.  The application is built using Maven and the
nbm-maven-plugin, however, the modified harness files should be usable
with an ant build, with some modification of the embedded properties.

All of the custom NBI files are found in
application/src/main/resources/dist.  The package includes two binary
JREs, one for windows (jre.exe) and one for linux (jre-linux). It would
have been nice to download and build these from the package, but that was
sufficiently complex with Maven/Ant that it destroyed any educational
benefit. Bot files are self-extracting zips, so if you rename them to
"jre.zip" or "jre-linux.zip", you will be able to examine their contents.

Much of this was guided by an old post of Geertjan Wielenga at
https://blogs.oracle.com/geertjan/installing-the-jre-via-an-applications-installer-via-windows
and the article at https://dzone.com/articles/including-jre-in-nbi. These
posts provide instructions on how to construct the sfx JRE files. Note
that the linux JRE is expected to have the jre under a directory called
"jre", while the windows JRE is expected the directories bin/, conf/,
lib/ and legal/ to be top level directories in the zip.

Currently only linux and windows have been tested. MacOS might work.

The pom provides several configuration variables, in the application pom under 
the nbm-maven-plugin configuration:



true

true

true

true

true

false

The package works around bugs in the NBI in several ways. If the
configuration variable hackEngineJar is set to "true" in the pom,
the NBI engine will be modified during the installation.  The package
includes modifications of the NBI engine classes CommonLauncher and
CreateNativeLauncherAction. These will be compiled and put in the engine
jar during the install process. CreateNativeLauncherAction supports
a property specifying information on a "compatible" Java that will be
embedded in the installer and used to validate the JRE being used.

The other trick is that the test file TestJDK is replaced in the engine
jar. This version returns a java version string that is compatible with
the one embedded in the installer, and will not be rejected by the buggy
NBI code.

In addition, the package corrects numerous textual errors in the various
ant scripts and config files in the harness. See the pom to enable/disable
these fixes.

Finally, the package provides a means to test new windows installer
"launchers". Place the candidate launcher, called "nlw.exe" in
main/src/resources/installers, set testWindowLauncher to true and
hackEngineJar to false. If this yields a working installer, the nlw.exe
is good.

A useful trick when diagnosing a windows installer is to run it
"installerName --verbose --output installLog". installLog will have a full
transcript of the install process.  If you have set hackEngineJar, you
will see the "fake" version numbers that are generated by the installer.

I hope this is helpful.

--
William Reynolds, Ph.D.
Stellar Science, LLC
wnreyno...@stellarscience.com
www.stellarscience.com
877-763-8268 x710 (v)






On 12/1/2019 4:03 AM, joe schmo wrote:
I have created a javafx application using Netbeans 11.1, it is a maven 
based project.  I want to create a deployable executable jar file.  Is 
there a good tutorial or documentation on how to do this with 
Netbeans/maven?


Thanks


--
William Reynolds, Ph.D.
Stellar Science, LLC
wnreyno...@stellarscience.com
www.stellarscience.com
877-763-8268 x710 (v)



smime.p7s
Description: S/MIME Cryptographic Signature


deployable javafx app

2019-12-01 Thread joe schmo
I have created a javafx application using Netbeans 11.1, it is a maven based 
project.  I want to create a deployable executable jar file.  Is there a good 
tutorial or documentation on how to do this with Netbeans/maven?

Thanks