You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Sterpu Victor <vi...@caido.ro.INVALID> on 2019/09/30 11:53:06 UTC

Apache 11.1 - build failed

Hello

I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1. 
I use JDK 13.
The project works in Netbeans 8 but when I try to compile the project in 
Netbeans 11.1 I receive a build failed without any other error messages, 
like this:
"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
-Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: 
E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
clean:
init:
deps-jar:
Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
Updating property file: 
E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
Created dir: 
E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
Compiling 723 source files to 
E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
BUILD FAILED (total time: 0 seconds)"

There is no new message in the Netbeans log file(messages.log) when I 
compile the project.

Thank you.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Java 8 still on Java.com

Posted by Scott Palmer <sw...@gmail.com>.
I would go with the jpackage EA build. That tool is going to be part of the JDK as of Java 14 after all. 

Scott

> On Sep 30, 2019, at 9:06 PM, Derik Devecchio <DD...@celestron.com> wrote:
> 
> 
> Emillian,
> 
> Thanks for getting back to me.    I am not trying to re-invent “write once run anywhere”.    I accept that everything is going to need an installer now.
> The question is, how do I get from “Clean and Build” to  .EXE file that includes a JRE?   

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

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


Re: Java 8 still on Java.com

Posted by Derik Devecchio <DD...@celestron.com>.
Thanks for the advice Jerome.     I would love to have a look at the bash script part if you don’t mind sending me a private email.



On Sep 30, 2019, at 11:15 PM, Jerome Lelasseux <le...@yahoo.com>> wrote:

If you search the mail archive I asked the same question just a few weeks ago...

Following advises here I ended up :
- creating an Ant target which depends on the built-in target that generate the standard NB zip installer,
- and calls a bash script which prepare the distribution packages: copy the files from the zip, include a jre, update etc/myapp.conf to point to the bundled jre, run innosetup compiler+code signing (for windows).

Look at praxislive code on github from Neil c Smith, it was a good starting point for me.

Jerome


Envoyé depuis Yahoo Mail pour iPhone<https://urldefense.proofpoint.com/v2/url?u=https-3A__overview.mail.yahoo.com_-3F.src-3DiOS&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=g-Ki_YceCeoNyy7uaE3ncLdY3DoZklLjI2aCp0q4nck&s=iGXeZfJR6cTMCUA_2e0RsxCoIaKc0YWTR52Ce7qmEmc&e=>


Le mardi, octobre 1, 2019, 3:05 AM, Derik Devecchio <DD...@celestron.com>> a écrit :

Emillian,

Thanks for getting back to me.    I am not trying to re-invent “write once run anywhere”.    I accept that everything is going to need an installer now.
The question is, how do I get from “Clean and Build” to  .EXE file that includes a JRE?


You said "For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), “

Do you mean the installer for Netbeans?  Or do you mean installers for OSX and Windows?

but you will run into the problem of digitally signing your app

That is a good point.  I had not thought of that.


—
derik






On Sep 30, 2019, at 12:20 PM, Emilian Bold <em...@gmail.com>> wrote:

Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=sRQt0MZb0dUUHASasyKDy5c_gUle6iLsp6tUkf-OpCc&e= ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like https://urldefense.proofpoint.com/v2/url?u=http-3A__snapcraft.io&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=tFOZsRRrzPuhzZW48XWAsduCgxI_R1hkW0Uot_qWGBU&e= or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dx64.sh&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=XwiporXmMd6KO0T77eE-8ebQmMoQ9ogI8_JwrnsYZ7M&e= file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<DD...@celestron.com>> wrote:


On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.


Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?

The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.


Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?

And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.





On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:


Java is no longer an user-facing product, it's middleware.

You are expected to provide Java bundled with your application in the future.

Users will not have any Java already available nor will they download
any new Java.

--emi

On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
<DD...@celestron.com>> wrote:

I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.

I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?


Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.

I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.


—
derik

P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:

https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=H9PLaYg0t2kVQOAce-9yC_ZLaixGSgkEg-DbhEg4tsc&e=





Re : Re: Java 8 still on Java.com

Posted by Jerome Lelasseux <le...@yahoo.com.INVALID>.
If you search the mail archive I asked the same question just a few weeks ago...  
Following advises here I ended up :- creating an Ant target which depends on the built-in target that generate the standard NB zip installer, - and calls a bash script which prepare the distribution packages: copy the files from the zip, include a jre, update etc/myapp.conf to point to the bundled jre, run innosetup compiler+code signing (for windows).
Look at praxislive code on github from Neil c Smith, it was a good starting point for me.
Jerome

Envoyé depuis Yahoo Mail pour iPhone


Le mardi, octobre 1, 2019, 3:05 AM, Derik Devecchio <DD...@celestron.com> a écrit :

Emillian,
Thanks for getting back to me.    I am not trying to re-invent “write once run anywhere”.    I accept that everything is going to need an installer now.The question is, how do I get from “Clean and Build” to  .EXE file that includes a JRE?   

You said "For Windows/macOS you probably can use something cross platform (seethe NetBeans installer), “  
Do you mean the installer for Netbeans?  Or do you mean installers for OSX and Windows?

but you will run into the problem of digitally signing your app

That is a good point.  I had not thought of that.

—derik






On Sep 30, 2019, at 12:20 PM, Emilian Bold <em...@gmail.com> wrote:
Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=sRQt0MZb0dUUHASasyKDy5c_gUle6iLsp6tUkf-OpCc&e= ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like https://urldefense.proofpoint.com/v2/url?u=http-3A__snapcraft.io&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=tFOZsRRrzPuhzZW48XWAsduCgxI_R1hkW0Uot_qWGBU&e= or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dx64.sh&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=XwiporXmMd6KO0T77eE-8ebQmMoQ9ogI8_JwrnsYZ7M&e= file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<DD...@celestron.com> wrote:




On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.



Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?

The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.


Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?

And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.






On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.

You are expected to provide Java bundled with your application in the future.

Users will not have any Java already available nor will they download
any new Java.

--emi

On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
<DD...@celestron.com> wrote:


I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.

I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?


Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place,https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.

I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.


—
derik

P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.




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

For further information about the NetBeans mailing lists, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=H9PLaYg0t2kVQOAce-9yC_ZLaixGSgkEg-DbhEg4tsc&e=








RE: Java 8 still on Java.com

Posted by Ed Sowell <ed...@efsowell.us>.
Derik,

I use Launch4J, then innoSetup to create an installer. Tricky part is the innoSetup for including the JRE. I can share mine, if that would help.

 

Ed

 

 

 

 

 

From: Derik Devecchio <DD...@celestron.com> 
Sent: Monday, September 30, 2019 6:06 PM
To: Emilian Bold <em...@gmail.com>
Cc: users@netbeans.apache.org
Subject: Re: Java 8 still on Java.com

 

Emillian,

 

Thanks for getting back to me.    I am not trying to re-invent “write once run anywhere”.    I accept that everything is going to need an installer now.

The question is, how do I get from “Clean and Build” to  .EXE file that includes a JRE?   

 

 

You said "For Windows/macOS you probably can use something cross platform (see

the NetBeans installer), “  

 

Do you mean the installer for Netbeans?  Or do you mean installers for OSX and Windows?

 

but you will run into the problem of digitally signing your app

 

That is a good point.  I had not thought of that.

 

 

—

derik

 

 

 

 

 





On Sep 30, 2019, at 12:20 PM, Emilian Bold <emilian.bold@gmail.com <ma...@gmail.com> > wrote:

 

Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=sRQt0MZb0dUUHASasyKDy5c_gUle6iLsp6tUkf-OpCc&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=sRQt0MZb0dUUHASasyKDy5c_gUle6iLsp6tUkf-OpCc&e= ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like https://urldefense.proofpoint.com/v2/url?u=http-3A__snapcraft.io <https://urldefense.proofpoint.com/v2/url?u=http-3A__snapcraft.io&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=tFOZsRRrzPuhzZW48XWAsduCgxI_R1hkW0Uot_qWGBU&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=tFOZsRRrzPuhzZW48XWAsduCgxI_R1hkW0Uot_qWGBU&e= or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dx64.sh <https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dx64.sh&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=XwiporXmMd6KO0T77eE-8ebQmMoQ9ogI8_JwrnsYZ7M&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=XwiporXmMd6KO0T77eE-8ebQmMoQ9ogI8_JwrnsYZ7M&e= file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<DDEVECCHIO@celestron.com <ma...@celestron.com> > wrote:








On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.


Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?

The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.


Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?

And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.








On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.

You are expected to provide Java bundled with your application in the future.

Users will not have any Java already available nor will they download
any new Java.

--emi

On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
<DDEVECCHIO@celestron.com <ma...@celestron.com> > wrote:




I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.

I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?


Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.

I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com <https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.


—
derik

P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> 
For additional commands, e-mail: users-help@netbeans.apache.org <ma...@netbeans.apache.org> 

For further information about the NetBeans mailing lists, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists <https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=H9PLaYg0t2kVQOAce-9yC_ZLaixGSgkEg-DbhEg4tsc&e=> &d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=H9PLaYg0t2kVQOAce-9yC_ZLaixGSgkEg-DbhEg4tsc&e=

 


Re: Java 8 still on Java.com

Posted by Derik Devecchio <DD...@celestron.com>.
Emillian,

Thanks for getting back to me.    I am not trying to re-invent “write once run anywhere”.    I accept that everything is going to need an installer now.
The question is, how do I get from “Clean and Build” to  .EXE file that includes a JRE?


You said "For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), “

Do you mean the installer for Netbeans?  Or do you mean installers for OSX and Windows?

but you will run into the problem of digitally signing your app

That is a good point.  I had not thought of that.


—
derik






On Sep 30, 2019, at 12:20 PM, Emilian Bold <em...@gmail.com>> wrote:

Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see https://urldefense.proofpoint.com/v2/url?u=http-3A__www.jchoice.eu&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=sRQt0MZb0dUUHASasyKDy5c_gUle6iLsp6tUkf-OpCc&e= ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like https://urldefense.proofpoint.com/v2/url?u=http-3A__snapcraft.io&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=tFOZsRRrzPuhzZW48XWAsduCgxI_R1hkW0Uot_qWGBU&e= or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a https://urldefense.proofpoint.com/v2/url?u=http-3A__linux-2Dx64.sh&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=XwiporXmMd6KO0T77eE-8ebQmMoQ9ogI8_JwrnsYZ7M&e= file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<DD...@celestron.com>> wrote:


On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.


Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?

The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.


Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?

And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.





On Sep 30, 2019, at 9:55 AM, Emilian Bold <https://urldefense.proofpoint.com/v2/url?u=http-3A__emilian.bold-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=PeJWpW-WawklL6gXN-IwSdeL3lDovxNlGU0b7tzjPV4&e=> wrote:

Java is no longer an user-facing product, it's middleware.

You are expected to provide Java bundled with your application in the future.

Users will not have any Java already available nor will they download
any new Java.

--emi

On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
<DD...@celestron.com>> wrote:

I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.

I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?


Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.

I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.


—
derik

P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org<ma...@netbeans.apache.org>
For additional commands, e-mail: users-help@netbeans.apache.org<ma...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=Yb4wDmGBHBYqGxz0n8bxogY7aRIQV-smcsBYgznELLY&s=H9PLaYg0t2kVQOAce-9yC_ZLaixGSgkEg-DbhEg4tsc&e=



Re: Java 8 still on Java.com

Posted by Emilian Bold <em...@gmail.com>.
Well, there is a public facing Java distribution such as AdoptOpenJDK
and many Linux distros provide their own (see http://www.jchoice.eu ).
So, at least on Linux, you will have some form of Java in their
repositories. Although even there there's nothing stopping you to ship
your own runtime (as part of something like snapcraft.io or manually).

But Java is no longer something users install / update.

Supporting all the Unix-like OSes seems like a non-trivial job in
itself. The NetBeans installer is just a linux-x64.sh file, not a
rpm/deb.

For Windows/macOS you probably can use something cross platform (see
the NetBeans installer), but you will run into the problem of
digitally signing your app. For that I don't know of a cross platform
solution.

So, for example, although I build CoolBeans on a Linux build server, I
still have to digitally sign the installer on a Mac and on a Windows
machine.

--emi

On Mon, Sep 30, 2019 at 9:15 PM Derik Devecchio
<DD...@celestron.com> wrote:
>
>
> > On Sep 30, 2019, at 9:55 AM, Emilian Bold <em...@gmail.com> wrote:
> >
> > Java is no longer an user-facing product, it's middleware.
> >
>
> Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?
>
> The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.
>
>
> Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?
>
> And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.
>
>
>
>
>
> > On Sep 30, 2019, at 9:55 AM, Emilian Bold <em...@gmail.com> wrote:
> >
> > Java is no longer an user-facing product, it's middleware.
> >
> > You are expected to provide Java bundled with your application in the future.
> >
> > Users will not have any Java already available nor will they download
> > any new Java.
> >
> > --emi
> >
> > On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
> > <DD...@celestron.com> wrote:
> >>
> >> I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.
> >>
> >> I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?
> >>
> >>
> >> Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.
> >>
> >> I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.
> >>
> >>
> >> —
> >> derik
> >>
> >> P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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


Re: Java 8 still on Java.com

Posted by Derik Devecchio <DD...@celestron.com>.
> On Sep 30, 2019, at 9:55 AM, Emilian Bold <em...@gmail.com> wrote:
> 
> Java is no longer an user-facing product, it's middleware.
> 

Okay, that sounds like an improvement from where I am standing, but…  Can Netbeans help me with that now?    

The last time I looked into bundling the JRE with my program, I think it was in the early release days of Java9 (Netbeans 8.2 was still the IDE of choice).     You could specify such a build, but it required linking the IDE to 3rd party software.   Also, at the time, it required that you have a development station for each OS.   You couldn’t make Windows apps on a Mac and visa versa, to say nothing of the dozen or so flavors of Linux out there.   To make matters worse, at the time, the required third party software was different for each OS.   There were many competing options for each OS, each with dozens different options that need to be (a) learned and (b) configured correctly for each of your development stations.   Finally, creating the installer was a multi-step process for each OS.   As I said, this was shortly after the release of Java9 - so it was years ago.


Has the state of the art advanced since that time?    I am thinking maybe a plugin for Netbeans that allows me to tick off the OS’s I want to support with a menu option to build all the installers when I am ready to distribute.   Maybe I need a separate installer plugin for each OS that includes binaries of the JRE for that OS?  

And what about the Unix-like OS’s?   I just assumed that if you used unix at all, then you were smart enough to install the JRE.  But if there /is/ no public facing JRE, and I need to provide that for them, then wouldn’t I need to provide a separate installer for each and every Unix-like OS on the market?   There must be close to a dozen by now.   And if I still need a separate development station for each OS, then it is going to be impractical.





> On Sep 30, 2019, at 9:55 AM, Emilian Bold <em...@gmail.com> wrote:
> 
> Java is no longer an user-facing product, it's middleware.
> 
> You are expected to provide Java bundled with your application in the future.
> 
> Users will not have any Java already available nor will they download
> any new Java.
> 
> --emi
> 
> On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
> <DD...@celestron.com> wrote:
>> 
>> I know that the Netbeans’s forum doesn’t maintain https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.   But I don’t know anyone else to ask off hand.
>> 
>> I went to https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?
>> 
>> 
>> Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e=.
>> 
>> I was just wondering if maybe https://urldefense.proofpoint.com/v2/url?u=http-3A__Java.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=mt2t1WwNtJBjlp5LQGfiEiv6qdbpWR_ERwkbetcx0U8&s=GfCmY_DSYBKhSppRNkyy0fWKCU3mqezARULiuYf-zbg&e= wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.
>> 
>> 
>> —
>> derik
>> 
>> P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.


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

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


Re: Java 8 still on Java.com

Posted by Emilian Bold <em...@gmail.com>.
Java is no longer an user-facing product, it's middleware.

You are expected to provide Java bundled with your application in the future.

Users will not have any Java already available nor will they download
any new Java.

--emi

On Mon, Sep 30, 2019 at 7:39 PM Derik Devecchio
<DD...@celestron.com> wrote:
>
> I know that the Netbeans’s forum doesn’t maintain Java.com.   But I don’t know anyone else to ask off hand.
>
> I went to Java.com to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?
>
>
> Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, Java.com.
>
> I was just wondering if maybe Java.com wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.
>
>
> —
> derik
>
> P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.

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

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


Re: Java 8 still on Java.com

Posted by Geertjan Wielenga <ge...@apache.org>.
Best to join the mailing lists here and discuss further there:

https://openjdk.java.net/

Gj

On Mon, Sep 30, 2019 at 6:40 PM Scott Palmer <sw...@gmail.com> wrote:

> There are no JRE downloads after Java 8.
>
> You are expected to bundle Java with your application.
>
> Scott
>
>
> On Sep 30, 2019, at 12:39 PM, Derik Devecchio <DD...@celestron.com>
> wrote:
>
> I know that the Netbeans’s forum doesn’t maintain Java.com
> <http://java.com/>.   But I don’t know anyone else to ask off hand.
>
> I went to Java.com <http://java.com/> to find out the “latest public
> stable release”.   I was expecting Java 9 point something.    But I was
> hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?
>
>
>
> Isn’t Java 9 stable enough for public?   As a person that writes software
> for the customers of my company, I am loath to write code using a version
> of Java that won’t be compatible with what most people already have
> installed on their machine.     And if they don’t have any version of Java
> installed on their computer, which is increasingly the case,  then my code
> should be compatible with the JRE they download from the most obvious
> place, Java.com <http://java.com/>.
>
> I was just wondering if maybe Java.com <http://java.com/> wasn’t the
> right place anymore.  It doesn’t seem like the site is stagnate.   8u221
> was released just a few months ago.  But why 8?     If anyone has a clue, I
> would appreciate some enlightenment.
>
>
> —
> derik
>
> P.S.   Great work bringing such a huge project over to the Apache
> framework.   I thought it would be a lot easier than it is.  I have watched
> some fo the videos of Gertjan discussing the mind bogglingly large amount
> of tedious work involved.   I applaud your efforts.
>
>
>

Re: Java 8 still on Java.com

Posted by Scott Palmer <sw...@gmail.com>.
There are no JRE downloads after Java 8.

You are expected to bundle Java with your application.

Scott


> On Sep 30, 2019, at 12:39 PM, Derik Devecchio <DD...@celestron.com> wrote:
> 
> I know that the Netbeans’s forum doesn’t maintain Java.com <http://java.com/>.   But I don’t know anyone else to ask off hand.
> 
> I went to Java.com <http://java.com/> to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?  
> 
> 
> Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, Java.com <http://java.com/>.
> 
> I was just wondering if maybe Java.com <http://java.com/> wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.
> 
> 
> —
> derik
> 
> P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.


Java 8 still on Java.com

Posted by Derik Devecchio <DD...@celestron.com>.
I know that the Netbeans’s forum doesn’t maintain Java.com<http://Java.com>.   But I don’t know anyone else to ask off hand.

I went to Java.com<http://Java.com> to find out the “latest public stable release”.   I was expecting Java 9 point something.    But I was hoping for 10, 11 or maybe 12.   Low and behold it is still on Java8 u 221?


Isn’t Java 9 stable enough for public?   As a person that writes software for the customers of my company, I am loath to write code using a version of Java that won’t be compatible with what most people already have installed on their machine.     And if they don’t have any version of Java installed on their computer, which is increasingly the case,  then my code should be compatible with the JRE they download from the most obvious place, Java.com<http://Java.com>.

I was just wondering if maybe Java.com<http://Java.com> wasn’t the right place anymore.  It doesn’t seem like the site is stagnate.   8u221 was released just a few months ago.  But why 8?     If anyone has a clue, I would appreciate some enlightenment.


—
derik

P.S.   Great work bringing such a huge project over to the Apache framework.   I thought it would be a lot easier than it is.  I have watched some fo the videos of Gertjan discussing the mind bogglingly large amount of tedious work involved.   I applaud your efforts.

RE: Apache 11.1 - build failed

Posted by Walter Oney <Wa...@oneylaw.com>.
I think I accurately described my experience and my limitations. I think that's a point of view that should not be suppressed.

-----Original Message-----
From: Geertjan Wielenga <ge...@apache.org> 
Sent: Monday, September 30, 2019 8:23 AM
To: Walter Oney <Wa...@oneylaw.com>
Cc: Sterpu Victor <vi...@caido.ro>; users@netbeans.apache.org
Subject: Re: Apache 11.1 - build failed

Walter,

You’ve seen in the responses you received that you appear to have configured multiple JDK’s on your path, JDK 8 being the first of these, which is why JDK 8 was picked up when you tried to run a JavaFX sample targeted for JDK 13.

Can you focus on configuring your environment correctly, please, and not advise people to revert to old releases?

Thanks,

Gj


On Mon, 30 Sep 2019 at 14:19, Walter Oney <Walter.Oney@oneylaw.com <ma...@oneylaw.com> > wrote:


	From: Sterpu Victor <vi...@caido.ro.INVALID> 
	> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1. I use JDK 13.
	
	First off, I am a highly unofficial interloper on this list -- a hobbyist and newbie user of Java and NetBeans. So take everything I say with a huge dose of skepticism.
	
	Second, I recently tried to do approximately what you're trying to do and had to give up because I kept running into problems with my configuration, the mix of versions I was using, and the way I had installed the tools. In the end, I reverted back to releases that are still available from Oracle -- NetBeans 8.2 and JDK 1.8. I'm far from the ideal user of new tools, because I don't have the patience to try to reproduce and document problems so that responsible people can investigate and solve them. I just wanted to get my code working. And I've succeeded in doing that by abandoning all thought of upgrading to more current releases.
	
	All of that said, there are very knowledgeable and helpful people hanging out on this list. If you decide to move ahead with your migration plans, you can rely on them to bail you out if you're patient enough to give them the help they need.
	
	--
	Walter Oney
	267 Pearl Hill Rd., Fitchburg, MA 01420
	978-343-3390
	
	
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org <ma...@netbeans.apache.org> 
	For additional commands, e-mail: users-help@netbeans.apache.org <ma...@netbeans.apache.org> 
	
	For further information about the NetBeans mailing lists, visit:
	https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
	
	



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

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


Re: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Walter,

You’ve seen in the responses you received that you appear to have
configured multiple JDK’s on your path, JDK 8 being the first of these,
which is why JDK 8 was picked up when you tried to run a JavaFX sample
targeted for JDK 13.

Can you focus on configuring your environment correctly, please, and not
advise people to revert to old releases?

Thanks,

Gj


On Mon, 30 Sep 2019 at 14:19, Walter Oney <Wa...@oneylaw.com> wrote:

> From: Sterpu Victor <vi...@caido.ro.INVALID>
> > I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1.
> I use JDK 13.
>
> First off, I am a highly unofficial interloper on this list -- a hobbyist
> and newbie user of Java and NetBeans. So take everything I say with a huge
> dose of skepticism.
>
> Second, I recently tried to do approximately what you're trying to do and
> had to give up because I kept running into problems with my configuration,
> the mix of versions I was using, and the way I had installed the tools. In
> the end, I reverted back to releases that are still available from Oracle
> -- NetBeans 8.2 and JDK 1.8. I'm far from the ideal user of new tools,
> because I don't have the patience to try to reproduce and document problems
> so that responsible people can investigate and solve them. I just wanted to
> get my code working. And I've succeeded in doing that by abandoning all
> thought of upgrading to more current releases.
>
> All of that said, there are very knowledgeable and helpful people hanging
> out on this list. If you decide to move ahead with your migration plans,
> you can rely on them to bail you out if you're patient enough to give them
> the help they need.
>
> --
> Walter Oney
> 267 Pearl Hill Rd., Fitchburg, MA 01420
> 978-343-3390
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

RE: Apache 11.1 - build failed

Posted by Walter Oney <Wa...@oneylaw.com>.
From: Sterpu Victor <vi...@caido.ro.INVALID> 
> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1. I use JDK 13.

First off, I am a highly unofficial interloper on this list -- a hobbyist and newbie user of Java and NetBeans. So take everything I say with a huge dose of skepticism.

Second, I recently tried to do approximately what you're trying to do and had to give up because I kept running into problems with my configuration, the mix of versions I was using, and the way I had installed the tools. In the end, I reverted back to releases that are still available from Oracle -- NetBeans 8.2 and JDK 1.8. I'm far from the ideal user of new tools, because I don't have the patience to try to reproduce and document problems so that responsible people can investigate and solve them. I just wanted to get my code working. And I've succeeded in doing that by abandoning all thought of upgrading to more current releases.

All of that said, there are very knowledgeable and helpful people hanging out on this list. If you decide to move ahead with your migration plans, you can rely on them to bail you out if you're patient enough to give them the help they need.

--
Walter Oney
267 Pearl Hill Rd., Fitchburg, MA 01420
978-343-3390




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

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


Re: Re[6]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Also, unless you have a special reason for not doing so, it would be best
to use a Maven project rather than Ant, which will help solve your
dependency issues and also help you to identify problems more easily.

Gj

On Mon, Sep 30, 2019 at 4:22 PM Geertjan Wielenga <ge...@apache.org>
wrote:

> Also, best not to have your class in the default package -- create a new
> package and put the source file there.
>
> Gj
>
> On Mon, Sep 30, 2019 at 4:21 PM Geertjan Wielenga <ge...@apache.org>
> wrote:
>
>> Indeed, the dependencies are not there so when I try to build, there are
>> many missing dependencies and the error messages shows them and then the
>> Output window ends with this:
>>
>> 50 errors
>> BUILD FAILED (total time: 5 seconds)
>>
>> Gj
>>
>> On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:
>>
>>> I made a minmal project with this problem, the project is here:
>>> http://cc123.caido.ro/caido-test2.zip
>>> The project starts to compile immediatly if I delete the folder
>>> lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any
>>> folder or file from the lib folder the problem disappears.
>>> The project should dispaly a lot of errors since I already deleted a lot
>>> of libraries and source files but in this form it only displays "BUILD
>>> FAILED"
>>>
>>> Thank you.
>>>
>>>
>>> ------ Original Message ------
>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>> To: "Sterpu Victor" <vi...@caido.ro>
>>> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>> Sent: 2019-09-30 4:46:21 PM
>>> Subject: Re: Re[4]: Apache 11.1 - build failed
>>>
>>> Great, though being Mavenized is not a requirement. Happy to take a look
>>> at the original project to see what the problem is/was.
>>>
>>> Gj
>>>
>>> On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>>>
>>>> Is not on GitHub.
>>>> My original project wasn't mavenized and I think this was the problem.
>>>> I tried to create a new maven project and copy the source files and it
>>>> seems that this was the problem, I can compile with a lot of errors right
>>>> now because I didn't linked all the libraries yet, but I think the problem
>>>> is solved. :)
>>>> Thank you.
>>>>
>>>>
>>>> ------ Original Message ------
>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>> Cc: users@netbeans.apache.org
>>>> Sent: 2019-09-30 3:25:15 PM
>>>> Subject: Re: Re[2]: Apache 11.1 - build failed
>>>>
>>>> Is the project available somewhere, e.g., on GitHub, so we can take a
>>>> look?
>>>>
>>>> Gj
>>>>
>>>> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
>>>> wrote:
>>>>
>>>>> Thank you for the quick answer.
>>>>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha
>>>>> same.
>>>>> I tried many things, all rezulting in the same error(BUILD FAILED
>>>>> without any specific message):
>>>>> - JDK 13 + Netbeans versions 11.2 beta 1
>>>>> - JDK 12 + Netbeans versions 11.2 beta 1
>>>>> - JDK 11 + Netbeans versions 11.2 beta 1
>>>>> - JDK 13 + Netbeans versions 11.1
>>>>> - JDK 12 + Netbeans versions 11.1
>>>>> - JDK 11 + Netbeans versions 11.1
>>>>>
>>>>> *As a interesting thing: if I run the project, without compiling it,
>>>>> no error appears and the project runs fine.*
>>>>>
>>>>>
>>>>> ------ Original Message ------
>>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>>> Cc: users@netbeans.apache.org
>>>>> Sent: 2019-09-30 2:55:37 PM
>>>>> Subject: Re: Apache 11.1 - build failed
>>>>>
>>>>> Well, 11.1 does not support JDK 13.
>>>>>
>>>>> Try reproduce the problem on 11.2 beta1:
>>>>>
>>>>> bit.ly/apache-netbeans-11-2-beta-1
>>>>>
>>>>> Gj
>>>>>
>>>>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>>>>> wrote:
>>>>>
>>>>>> Hello
>>>>>>
>>>>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans
>>>>>> 11.1. I use JDK 13.
>>>>>> The project works in Netbeans 8 but when I try to compile the
>>>>>> project in Netbeans 11.1 I receive a build failed without any other
>>>>>> error messages, like this:
>>>>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>>>>> Dnb.internal.action.name=rebuild clean jar
>>>>>> init:
>>>>>> deps-clean:
>>>>>> Updating property file:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>> clean:
>>>>>> init:
>>>>>> deps-jar:
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>> Updating property file:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>> Created dir:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>> Compiling 723 source files to
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>> *BUILD FAILED (total time: 0 seconds)*"
>>>>>>
>>>>>> There is no new message in the Netbeans log file(messages.log) when I
>>>>>> compile the project.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>>
>>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>>>>> www.avast.com
>>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>>>>> <#m_2610269443065438713_m_1526350993879026315_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>>
>>>>>

Re: Re[6]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Also, best not to have your class in the default package -- create a new
package and put the source file there.

Gj

On Mon, Sep 30, 2019 at 4:21 PM Geertjan Wielenga <ge...@apache.org>
wrote:

> Indeed, the dependencies are not there so when I try to build, there are
> many missing dependencies and the error messages shows them and then the
> Output window ends with this:
>
> 50 errors
> BUILD FAILED (total time: 5 seconds)
>
> Gj
>
> On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:
>
>> I made a minmal project with this problem, the project is here:
>> http://cc123.caido.ro/caido-test2.zip
>> The project starts to compile immediatly if I delete the folder
>> lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any
>> folder or file from the lib folder the problem disappears.
>> The project should dispaly a lot of errors since I already deleted a lot
>> of libraries and source files but in this form it only displays "BUILD
>> FAILED"
>>
>> Thank you.
>>
>>
>> ------ Original Message ------
>> From: "Geertjan Wielenga" <ge...@apache.org>
>> To: "Sterpu Victor" <vi...@caido.ro>
>> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>> Sent: 2019-09-30 4:46:21 PM
>> Subject: Re: Re[4]: Apache 11.1 - build failed
>>
>> Great, though being Mavenized is not a requirement. Happy to take a look
>> at the original project to see what the problem is/was.
>>
>> Gj
>>
>> On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>>
>>> Is not on GitHub.
>>> My original project wasn't mavenized and I think this was the problem.
>>> I tried to create a new maven project and copy the source files and it
>>> seems that this was the problem, I can compile with a lot of errors right
>>> now because I didn't linked all the libraries yet, but I think the problem
>>> is solved. :)
>>> Thank you.
>>>
>>>
>>> ------ Original Message ------
>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>> To: "Sterpu Victor" <vi...@caido.ro>
>>> Cc: users@netbeans.apache.org
>>> Sent: 2019-09-30 3:25:15 PM
>>> Subject: Re: Re[2]: Apache 11.1 - build failed
>>>
>>> Is the project available somewhere, e.g., on GitHub, so we can take a
>>> look?
>>>
>>> Gj
>>>
>>> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
>>> wrote:
>>>
>>>> Thank you for the quick answer.
>>>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
>>>> I tried many things, all rezulting in the same error(BUILD FAILED
>>>> without any specific message):
>>>> - JDK 13 + Netbeans versions 11.2 beta 1
>>>> - JDK 12 + Netbeans versions 11.2 beta 1
>>>> - JDK 11 + Netbeans versions 11.2 beta 1
>>>> - JDK 13 + Netbeans versions 11.1
>>>> - JDK 12 + Netbeans versions 11.1
>>>> - JDK 11 + Netbeans versions 11.1
>>>>
>>>> *As a interesting thing: if I run the project, without compiling it, no
>>>> error appears and the project runs fine.*
>>>>
>>>>
>>>> ------ Original Message ------
>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>> Cc: users@netbeans.apache.org
>>>> Sent: 2019-09-30 2:55:37 PM
>>>> Subject: Re: Apache 11.1 - build failed
>>>>
>>>> Well, 11.1 does not support JDK 13.
>>>>
>>>> Try reproduce the problem on 11.2 beta1:
>>>>
>>>> bit.ly/apache-netbeans-11-2-beta-1
>>>>
>>>> Gj
>>>>
>>>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>>>> wrote:
>>>>
>>>>> Hello
>>>>>
>>>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans
>>>>> 11.1. I use JDK 13.
>>>>> The project works in Netbeans 8 but when I try to compile the project
>>>>> in Netbeans 11.1 I receive a build failed without any other error
>>>>> messages, like this:
>>>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>>>> Dnb.internal.action.name=rebuild clean jar
>>>>> init:
>>>>> deps-clean:
>>>>> Updating property file:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>> clean:
>>>>> init:
>>>>> deps-jar:
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>> Updating property file:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>> Created dir:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>> Compiling 723 source files to
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>> *BUILD FAILED (total time: 0 seconds)*"
>>>>>
>>>>> There is no new message in the Netbeans log file(messages.log) when I
>>>>> compile the project.
>>>>>
>>>>> Thank you.
>>>>>
>>>>>
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>>>> www.avast.com
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>>>> <#m_1526350993879026315_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>
>>>>

Re[12]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
For the moment the solution was very simple: I copied the project in the 
root of a Windows drive and this shortened the classpath.
Netbeans 11 works extremly fast compared to older versions, I should of 
migrated a long time ago.
Thank you Geertjan for your support, I wouldn't made it without your 
help, this is my third attempt to migrate this year and I'm glad I wrote 
here.



------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
Sent: 2019-09-30 7:27:21 PM
Subject: Re: Re[10]: Apache 11.1 - build failed

>Different solutions, google around a bit, seems one advice is to do a 
>Clean first and then a Build, read other ideas here and elsewhere:
>
>https://stackoverflow.com/questions/10519558/createprocess-error-206-the-filename-or-extension-is-too-long-when-running-main/23299746
>
>Gj
>
>On Mon, Sep 30, 2019 at 6:21 PM Sterpu Victor <vi...@caido.ro.invalid> 
>wrote:
>>Yes, that helped a lot, we have an error now, but I don't understand 
>>what is to long(I attached the full log):
>>E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:1133: 
>>The following error occurred while executing this line:
>>E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:431: 
>>Error running E:\Users\victor\jdk-11\bin\javac compiler
>>	at 
>>org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:591)
>>	at 
>>org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:63)
>>	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1404)
>>	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1133)
>>	at 
>>org.netbeans.modules.java.source.ant.JavacTask.execute(JavacTask.java:120)
>>	at 
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>>	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
>>Source)
>>	at 
>>java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
>>	at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>	at org.apache.tools.ant.Task.perform(Task.java:350)
>>	at java.base/java.util.Vector.forEach(Vector.java:1387)
>>	at 
>>org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
>>	at 
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>>	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
>>Source)
>>	at 
>>java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
>>	at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>	at org.apache.tools.ant.Task.perform(Task.java:350)
>>	at 
>>org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
>>	at 
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>>	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
>>Source)
>>	at 
>>java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
>>	at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>>	at org.apache.tools.ant.Task.perform(Task.java:350)
>>	at org.apache.tools.ant.Target.execute(Target.java:449)
>>	at org.apache.tools.ant.Target.performTasks(Target.java:470)
>>	at 
>>org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
>>	at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
>>	at 
>>org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>>	at 
>>org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
>>	at 
>>org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
>>	at 
>>org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
>>Caused by: java.io.IOException: Cannot run program 
>>"E:\Users\victor\jdk-11\bin\javac" (in directory 
>>"E:\Users\victor\NetBeansProjects\caido-dev-java12"): CreateProcess 
>>error=206, The filename or extension is too long
>>	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>>	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>>	at java.base/java.lang.Runtime.exec(Runtime.java:589)
>>	at 
>>org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
>>	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424)
>>	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438)
>>	at 
>>org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:588)
>>	... 34 more
>>Caused by: java.io.IOException: CreateProcess error=206, The filename 
>>or extension is too long
>>	at java.base/java.lang.ProcessImpl.create(Native Method)
>>	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:420)
>>	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:151)
>>	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>>	... 40 more
>>BUILD FAILED (total time: 0 seconds)
>>
>>------ Original Message ------
>>From: "Geertjan Wielenga" <ge...@apache.org>
>>To: "Sterpu Victor" <vi...@caido.ro>
>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>Sent: 2019-09-30 6:56:51 PM
>>Subject: Re: Re[8]: Apache 11.1 - build failed
>>
>>>In the Options window, go to Java and then Ant and check the 
>>>verbosity Level, maybe increase the level.
>>>
>>>Gj
>>>
>>>On Mon, Sep 30, 2019 at 5:33 PM Sterpu Victor <vi...@caido.ro> 
>>>wrote:
>>>>That is weird because when I try to build the project from here: 
>>>>http://cc123.caido.ro/caido-test2.zip
>>>>Apache Netbeans 11.1 and 11.2-beta1 gives me no missing 
>>>>dependencies, just this message appears:
>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-test2 
>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>init:
>>>>deps-clean:
>>>>Updating property file: 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\built-clean.properties
>>>>Deleting directory 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build
>>>>clean:
>>>>init:
>>>>deps-jar:
>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build
>>>>Updating property file: 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\built-jar.properties
>>>>Created dir: 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>>>>Created dir: 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\empty
>>>>Created dir: 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\generated-sources\ap-source-output
>>>>Compiling 1 source file to 
>>>>E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>>>>BUILD FAILED (total time: 0 seconds)"
>>>>
>>>>It seems the problem is hard to reproduce, if I can help with other 
>>>>data please tell me.
>>>>Anyway, I'll follow your advice and try to mavenize the project and 
>>>>hope this will solve the problem.
>>>>
>>>>Thank you.
>>>>
>>>>
>>>>------ Original Message ------
>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>>>Sent: 2019-09-30 5:21:43 PM
>>>>Subject: Re: Re[6]: Apache 11.1 - build failed
>>>>
>>>>>Indeed, the dependencies are not there so when I try to build, 
>>>>>there are many missing dependencies and the error messages shows 
>>>>>them and then the Output window ends with this:
>>>>>
>>>>>50 errors
>>>>>BUILD FAILED (total time: 5 seconds)
>>>>>
>>>>>Gj
>>>>>
>>>>>On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> 
>>>>>wrote:
>>>>>>I made a minmal project with this problem, the project is here:  
>>>>>>http://cc123.caido.ro/caido-test2.zip
>>>>>>The project starts to compile immediatly if I delete the folder 
>>>>>>lib/jetty-distribution-9.3.9.v20160517, actually if I delete 
>>>>>>almost any folder or file from the lib folder the problem 
>>>>>>disappears.
>>>>>>The project should dispaly a lot of errors since I already deleted 
>>>>>>a lot of libraries and source files but in this form it only 
>>>>>>displays "BUILD FAILED"
>>>>>>
>>>>>>Thank you.
>>>>>>
>>>>>>
>>>>>>------ Original Message ------
>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>>>>>Sent: 2019-09-30 4:46:21 PM
>>>>>>Subject: Re: Re[4]: Apache 11.1 - build failed
>>>>>>
>>>>>>>Great, though being Mavenized is not a requirement. Happy to take 
>>>>>>>a look at the original project to see what the problem is/was.
>>>>>>>
>>>>>>>Gj
>>>>>>>
>>>>>>>On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> 
>>>>>>>wrote:
>>>>>>>>Is not on GitHub.
>>>>>>>>My original project wasn't mavenized and I think this was the 
>>>>>>>>problem.
>>>>>>>>I tried to create a new maven project and copy the source files 
>>>>>>>>and it seems that this was the problem, I can compile with a lot 
>>>>>>>>of errors right now because I didn't linked all the libraries 
>>>>>>>>yet, but I think the problem is solved. :)
>>>>>>>>Thank you.
>>>>>>>>
>>>>>>>>
>>>>>>>>------ Original Message ------
>>>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>>>Cc: users@netbeans.apache.org
>>>>>>>>Sent: 2019-09-30 3:25:15 PM
>>>>>>>>Subject: Re: Re[2]: Apache 11.1 - build failed
>>>>>>>>
>>>>>>>>>Is the project available somewhere, e.g., on GitHub, so we can 
>>>>>>>>>take a look?
>>>>>>>>>
>>>>>>>>>Gj
>>>>>>>>>
>>>>>>>>>On Mon, 30 Sep 2019 at 14:24, Sterpu Victor 
>>>>>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>>>>>Thank you for the quick answer.
>>>>>>>>>>I tried Apache Netbeans version 11.2 beta 1 but the result was 
>>>>>>>>>>tha same.
>>>>>>>>>>I tried many things, all rezulting in the same error(BUILD 
>>>>>>>>>>FAILED without any specific message):
>>>>>>>>>>- JDK 13 + Netbeans versions 11.2 beta 1
>>>>>>>>>>- JDK 12 + Netbeans versions 11.2 beta 1
>>>>>>>>>>- JDK 11 + Netbeans versions 11.2 beta 1
>>>>>>>>>>- JDK 13 + Netbeans versions 11.1
>>>>>>>>>>- JDK 12 + Netbeans versions 11.1
>>>>>>>>>>- JDK 11 + Netbeans versions 11.1
>>>>>>>>>>
>>>>>>>>>>As a interesting thing: if I run the project, without 
>>>>>>>>>>compiling it, no error appears and the project runs fine.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>------ Original Message ------
>>>>>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>>>>>Cc: users@netbeans.apache.org
>>>>>>>>>>Sent: 2019-09-30 2:55:37 PM
>>>>>>>>>>Subject: Re: Apache 11.1 - build failed
>>>>>>>>>>
>>>>>>>>>>>Well, 11.1 does not support JDK 13.
>>>>>>>>>>>
>>>>>>>>>>>Try reproduce the problem on 11.2 beta1:
>>>>>>>>>>>
>>>>>>>>>>>bit.ly/apache-netbeans-11-2-beta-1
>>>>>>>>>>>
>>>>>>>>>>>Gj
>>>>>>>>>>>
>>>>>>>>>>>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor 
>>>>>>>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>>>>>>>Hello
>>>>>>>>>>>>
>>>>>>>>>>>>I want to migrate from a old Netbeans 8 version to Apache 
>>>>>>>>>>>>Netbeans 11.1. I use JDK 13.
>>>>>>>>>>>>The project works in Netbeans 8 but when I try to compile 
>>>>>>>>>>>>the project in Netbeans 11.1 I receive a build failed 
>>>>>>>>>>>>without any other error messages, like this:
>>>>>>>>>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>>>>>>>>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>>>>>>>>>init:
>>>>>>>>>>>>deps-clean:
>>>>>>>>>>>>Updating property file: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>>>>>>>>Deleting directory 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>>>>>clean:
>>>>>>>>>>>>init:
>>>>>>>>>>>>deps-jar:
>>>>>>>>>>>>Created dir: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>>>>>Updating property file: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>>>>>>>>Created dir: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>>>>>Created dir: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>>>>>>>>Created dir: 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>>>>>>>>Compiling 723 source files to 
>>>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>>>>>BUILD FAILED (total time: 0 seconds)"
>>>>>>>>>>>>
>>>>>>>>>>>>There is no new message in the Netbeans log 
>>>>>>>>>>>>file(messages.log) when I compile the project.
>>>>>>>>>>>>
>>>>>>>>>>>>Thank you.
>>>>>>>>>>>>
>>>>>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>>>>>>>>>>>www.avast.com 
>>>>>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>>>>>>>>>>>><#m_-6053548144483533711_m_2204744032141618414_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>>For additional commands, e-mail: users-help@netbeans.apache.org
>>
>>For further information about the NetBeans mailing lists, visit:
>>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Re[10]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Different solutions, google around a bit, seems one advice is to do a Clean
first and then a Build, read other ideas here and elsewhere:

https://stackoverflow.com/questions/10519558/createprocess-error-206-the-filename-or-extension-is-too-long-when-running-main/23299746

Gj

On Mon, Sep 30, 2019 at 6:21 PM Sterpu Victor <vi...@caido.ro.invalid>
wrote:

> Yes, that helped a lot, we have an error now, but I don't understand what
> is to long(I attached the full log):
> E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:1133:
> The following error occurred while executing this line:
> E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:431:
> Error running E:\Users\victor\jdk-11\bin\javac compiler
> at
> org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:591)
> at
> org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:63)
> at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1404)
> at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1133)
> at
> org.netbeans.modules.java.source.ant.JavacTask.execute(JavacTask.java:120)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> at org.apache.tools.ant.Task.perform(Task.java:350)
> at java.base/java.util.Vector.forEach(Vector.java:1387)
> at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> at org.apache.tools.ant.Task.perform(Task.java:350)
> at
> org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:567)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
> at org.apache.tools.ant.Task.perform(Task.java:350)
> at org.apache.tools.ant.Target.execute(Target.java:449)
> at org.apache.tools.ant.Target.performTasks(Target.java:470)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
> at
> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
> at
> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
> at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
>
> *Caused by: java.io.IOException: Cannot run program
> "E:\Users\victor\jdk-11\bin\javac" (in directory
> "E:\Users\victor\NetBeansProjects\caido-dev-java12"): CreateProcess
> error=206, The filename or extension is too long* at
> java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
> at java.base/java.lang.Runtime.exec(Runtime.java:589)
> at
> org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
> at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424)
> at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438)
> at
> org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:588)
> ... 34 more
>
> *Caused by: java.io.IOException: CreateProcess error=206, The filename or
> extension is too long* at java.base/java.lang.ProcessImpl.create(Native
> Method)
> at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:420)
> at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:151)
> at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
> ... 40 more
> BUILD FAILED (total time: 0 seconds)
>
> ------ Original Message ------
> From: "Geertjan Wielenga" <ge...@apache.org>
> To: "Sterpu Victor" <vi...@caido.ro>
> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
> Sent: 2019-09-30 6:56:51 PM
> Subject: Re: Re[8]: Apache 11.1 - build failed
>
> In the Options window, go to Java and then Ant and check the verbosity
> Level, maybe increase the level.
>
> Gj
>
> On Mon, Sep 30, 2019 at 5:33 PM Sterpu Victor <vi...@caido.ro> wrote:
>
>> That is weird because when I try to build the project from here:
>> http://cc123.caido.ro/caido-test2.zip
>> Apache Netbeans 11.1 and 11.2-beta1 gives me no missing dependencies,
>> just this message appears:
>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-test2 -
>> Dnb.internal.action.name=rebuild clean jar
>> init:
>> deps-clean:
>> Updating property file:
>> E:\Users\victor\NetBeansProjects\caido-test2\build\built-clean.properties
>> Deleting directory E:\Users\victor\NetBeansProjects\caido-test2\build
>> clean:
>> init:
>> deps-jar:
>> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build
>> Updating property file:
>> E:\Users\victor\NetBeansProjects\caido-test2\build\built-jar.properties
>> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\empty
>> Created dir:
>> E:\Users\victor\NetBeansProjects\caido-test2\build\generated-sources\ap-source-output
>> Compiling 1 source file to
>> E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>> BUILD FAILED (total time: 0 seconds)"
>>
>> It seems the problem is hard to reproduce, if I can help with other data
>> please tell me.
>> Anyway, I'll follow your advice and try to mavenize the project and hope
>> this will solve the problem.
>>
>> Thank you.
>>
>>
>> ------ Original Message ------
>> From: "Geertjan Wielenga" <ge...@apache.org>
>> To: "Sterpu Victor" <vi...@caido.ro>
>> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>> Sent: 2019-09-30 5:21:43 PM
>> Subject: Re: Re[6]: Apache 11.1 - build failed
>>
>> Indeed, the dependencies are not there so when I try to build, there are
>> many missing dependencies and the error messages shows them and then the
>> Output window ends with this:
>>
>> 50 errors
>> BUILD FAILED (total time: 5 seconds)
>>
>> Gj
>>
>> On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:
>>
>>> I made a minmal project with this problem, the project is here:
>>> http://cc123.caido.ro/caido-test2.zip
>>> The project starts to compile immediatly if I delete the folder
>>> lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any
>>> folder or file from the lib folder the problem disappears.
>>> The project should dispaly a lot of errors since I already deleted a lot
>>> of libraries and source files but in this form it only displays "BUILD
>>> FAILED"
>>>
>>> Thank you.
>>>
>>>
>>> ------ Original Message ------
>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>> To: "Sterpu Victor" <vi...@caido.ro>
>>> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>> Sent: 2019-09-30 4:46:21 PM
>>> Subject: Re: Re[4]: Apache 11.1 - build failed
>>>
>>> Great, though being Mavenized is not a requirement. Happy to take a look
>>> at the original project to see what the problem is/was.
>>>
>>> Gj
>>>
>>> On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>>>
>>>> Is not on GitHub.
>>>> My original project wasn't mavenized and I think this was the problem.
>>>> I tried to create a new maven project and copy the source files and it
>>>> seems that this was the problem, I can compile with a lot of errors right
>>>> now because I didn't linked all the libraries yet, but I think the problem
>>>> is solved. :)
>>>> Thank you.
>>>>
>>>>
>>>> ------ Original Message ------
>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>> Cc: users@netbeans.apache.org
>>>> Sent: 2019-09-30 3:25:15 PM
>>>> Subject: Re: Re[2]: Apache 11.1 - build failed
>>>>
>>>> Is the project available somewhere, e.g., on GitHub, so we can take a
>>>> look?
>>>>
>>>> Gj
>>>>
>>>> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
>>>> wrote:
>>>>
>>>>> Thank you for the quick answer.
>>>>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha
>>>>> same.
>>>>> I tried many things, all rezulting in the same error(BUILD FAILED
>>>>> without any specific message):
>>>>> - JDK 13 + Netbeans versions 11.2 beta 1
>>>>> - JDK 12 + Netbeans versions 11.2 beta 1
>>>>> - JDK 11 + Netbeans versions 11.2 beta 1
>>>>> - JDK 13 + Netbeans versions 11.1
>>>>> - JDK 12 + Netbeans versions 11.1
>>>>> - JDK 11 + Netbeans versions 11.1
>>>>>
>>>>> *As a interesting thing: if I run the project, without compiling it,
>>>>> no error appears and the project runs fine.*
>>>>>
>>>>>
>>>>> ------ Original Message ------
>>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>>> Cc: users@netbeans.apache.org
>>>>> Sent: 2019-09-30 2:55:37 PM
>>>>> Subject: Re: Apache 11.1 - build failed
>>>>>
>>>>> Well, 11.1 does not support JDK 13.
>>>>>
>>>>> Try reproduce the problem on 11.2 beta1:
>>>>>
>>>>> bit.ly/apache-netbeans-11-2-beta-1
>>>>>
>>>>> Gj
>>>>>
>>>>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>>>>> wrote:
>>>>>
>>>>>> Hello
>>>>>>
>>>>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans
>>>>>> 11.1. I use JDK 13.
>>>>>> The project works in Netbeans 8 but when I try to compile the
>>>>>> project in Netbeans 11.1 I receive a build failed without any other
>>>>>> error messages, like this:
>>>>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>>>>> Dnb.internal.action.name=rebuild clean jar
>>>>>> init:
>>>>>> deps-clean:
>>>>>> Updating property file:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>> clean:
>>>>>> init:
>>>>>> deps-jar:
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>> Updating property file:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>> Created dir:
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>> Compiling 723 source files to
>>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>> *BUILD FAILED (total time: 0 seconds)*"
>>>>>>
>>>>>> There is no new message in the Netbeans log file(messages.log) when I
>>>>>> compile the project.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>>
>>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>>>>> www.avast.com
>>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>>>>> <#m_-6053548144483533711_m_2204744032141618414_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>>
>>>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Re[10]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
Yes, that helped a lot, we have an error now, but I don't understand 
what is to long(I attached the full log):
E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:1133: 
The following error occurred while executing this line:
E:\Users\victor\NetBeansProjects\caido-dev-java12\nbproject\build-impl.xml:431: 
Error running E:\Users\victor\jdk-11\bin\javac compiler
	at 
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:591)
	at 
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:63)
	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1404)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1133)
	at 
org.netbeans.modules.java.source.ant.JavacTask.execute(JavacTask.java:120)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
Source)
	at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at java.base/java.util.Vector.forEach(Vector.java:1387)
	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
Source)
	at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at 
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown 
Source)
	at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
	at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
	at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
	at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
Caused by: java.io.IOException: Cannot run program 
"E:\Users\victor\jdk-11\bin\javac" (in directory 
"E:\Users\victor\NetBeansProjects\caido-dev-java12"): CreateProcess 
error=206, The filename or extension is too long
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
	at java.base/java.lang.Runtime.exec(Runtime.java:589)
	at 
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438)
	at 
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:588)
	... 34 more
Caused by: java.io.IOException: CreateProcess error=206, The filename or 
extension is too long
	at java.base/java.lang.ProcessImpl.create(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:420)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:151)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
	... 40 more
BUILD FAILED (total time: 0 seconds)

------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
Sent: 2019-09-30 6:56:51 PM
Subject: Re: Re[8]: Apache 11.1 - build failed

>In the Options window, go to Java and then Ant and check the verbosity 
>Level, maybe increase the level.
>
>Gj
>
>On Mon, Sep 30, 2019 at 5:33 PM Sterpu Victor <vi...@caido.ro> wrote:
>>That is weird because when I try to build the project from here: 
>>http://cc123.caido.ro/caido-test2.zip
>>Apache Netbeans 11.1 and 11.2-beta1 gives me no missing dependencies, 
>>just this message appears:
>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-test2 
>>-Dnb.internal.action.name=rebuild clean jar
>>init:
>>deps-clean:
>>Updating property file: 
>>E:\Users\victor\NetBeansProjects\caido-test2\build\built-clean.properties
>>Deleting directory E:\Users\victor\NetBeansProjects\caido-test2\build
>>clean:
>>init:
>>deps-jar:
>>Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build
>>Updating property file: 
>>E:\Users\victor\NetBeansProjects\caido-test2\build\built-jar.properties
>>Created dir: 
>>E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>>Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\empty
>>Created dir: 
>>E:\Users\victor\NetBeansProjects\caido-test2\build\generated-sources\ap-source-output
>>Compiling 1 source file to 
>>E:\Users\victor\NetBeansProjects\caido-test2\build\classes
>>BUILD FAILED (total time: 0 seconds)"
>>
>>It seems the problem is hard to reproduce, if I can help with other 
>>data please tell me.
>>Anyway, I'll follow your advice and try to mavenize the project and 
>>hope this will solve the problem.
>>
>>Thank you.
>>
>>
>>------ Original Message ------
>>From: "Geertjan Wielenga" <ge...@apache.org>
>>To: "Sterpu Victor" <vi...@caido.ro>
>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>Sent: 2019-09-30 5:21:43 PM
>>Subject: Re: Re[6]: Apache 11.1 - build failed
>>
>>>Indeed, the dependencies are not there so when I try to build, there 
>>>are many missing dependencies and the error messages shows them and 
>>>then the Output window ends with this:
>>>
>>>50 errors
>>>BUILD FAILED (total time: 5 seconds)
>>>
>>>Gj
>>>
>>>On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> 
>>>wrote:
>>>>I made a minmal project with this problem, the project is here:  
>>>>http://cc123.caido.ro/caido-test2.zip
>>>>The project starts to compile immediatly if I delete the folder 
>>>>lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost 
>>>>any folder or file from the lib folder the problem disappears.
>>>>The project should dispaly a lot of errors since I already deleted a 
>>>>lot of libraries and source files but in this form it only displays 
>>>>"BUILD FAILED"
>>>>
>>>>Thank you.
>>>>
>>>>
>>>>------ Original Message ------
>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>>>Sent: 2019-09-30 4:46:21 PM
>>>>Subject: Re: Re[4]: Apache 11.1 - build failed
>>>>
>>>>>Great, though being Mavenized is not a requirement. Happy to take a 
>>>>>look at the original project to see what the problem is/was.
>>>>>
>>>>>Gj
>>>>>
>>>>>On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> 
>>>>>wrote:
>>>>>>Is not on GitHub.
>>>>>>My original project wasn't mavenized and I think this was the 
>>>>>>problem.
>>>>>>I tried to create a new maven project and copy the source files 
>>>>>>and it seems that this was the problem, I can compile with a lot 
>>>>>>of errors right now because I didn't linked all the libraries yet, 
>>>>>>but I think the problem is solved. :)
>>>>>>Thank you.
>>>>>>
>>>>>>
>>>>>>------ Original Message ------
>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>Cc: users@netbeans.apache.org
>>>>>>Sent: 2019-09-30 3:25:15 PM
>>>>>>Subject: Re: Re[2]: Apache 11.1 - build failed
>>>>>>
>>>>>>>Is the project available somewhere, e.g., on GitHub, so we can 
>>>>>>>take a look?
>>>>>>>
>>>>>>>Gj
>>>>>>>
>>>>>>>On Mon, 30 Sep 2019 at 14:24, Sterpu Victor 
>>>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>>>Thank you for the quick answer.
>>>>>>>>I tried Apache Netbeans version 11.2 beta 1 but the result was 
>>>>>>>>tha same.
>>>>>>>>I tried many things, all rezulting in the same error(BUILD 
>>>>>>>>FAILED without any specific message):
>>>>>>>>- JDK 13 + Netbeans versions 11.2 beta 1
>>>>>>>>- JDK 12 + Netbeans versions 11.2 beta 1
>>>>>>>>- JDK 11 + Netbeans versions 11.2 beta 1
>>>>>>>>- JDK 13 + Netbeans versions 11.1
>>>>>>>>- JDK 12 + Netbeans versions 11.1
>>>>>>>>- JDK 11 + Netbeans versions 11.1
>>>>>>>>
>>>>>>>>As a interesting thing: if I run the project, without compiling 
>>>>>>>>it, no error appears and the project runs fine.
>>>>>>>>
>>>>>>>>
>>>>>>>>------ Original Message ------
>>>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>>>Cc: users@netbeans.apache.org
>>>>>>>>Sent: 2019-09-30 2:55:37 PM
>>>>>>>>Subject: Re: Apache 11.1 - build failed
>>>>>>>>
>>>>>>>>>Well, 11.1 does not support JDK 13.
>>>>>>>>>
>>>>>>>>>Try reproduce the problem on 11.2 beta1:
>>>>>>>>>
>>>>>>>>>bit.ly/apache-netbeans-11-2-beta-1
>>>>>>>>>
>>>>>>>>>Gj
>>>>>>>>>
>>>>>>>>>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor 
>>>>>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>>>>>Hello
>>>>>>>>>>
>>>>>>>>>>I want to migrate from a old Netbeans 8 version to Apache 
>>>>>>>>>>Netbeans 11.1. I use JDK 13.
>>>>>>>>>>The project works in Netbeans 8 but when I try to compile the 
>>>>>>>>>>project in Netbeans 11.1 I receive a build failed without any 
>>>>>>>>>>other error messages, like this:
>>>>>>>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>>>>>>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>>>>>>>init:
>>>>>>>>>>deps-clean:
>>>>>>>>>>Updating property file: 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>>>>>>Deleting directory 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>>>clean:
>>>>>>>>>>init:
>>>>>>>>>>deps-jar:
>>>>>>>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>>>Updating property file: 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>>>>>>Created dir: 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>>>Created dir: 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>>>>>>Created dir: 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>>>>>>Compiling 723 source files to 
>>>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>>>BUILD FAILED (total time: 0 seconds)"
>>>>>>>>>>
>>>>>>>>>>There is no new message in the Netbeans log file(messages.log) 
>>>>>>>>>>when I compile the project.
>>>>>>>>>>
>>>>>>>>>>Thank you.
>>>>>>>>>>
>>>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>>>>>>>>>www.avast.com 
>>>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>>>>>>>>>><#m_2204744032141618414_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Re[8]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
In the Options window, go to Java and then Ant and check the verbosity
Level, maybe increase the level.

Gj

On Mon, Sep 30, 2019 at 5:33 PM Sterpu Victor <vi...@caido.ro> wrote:

> That is weird because when I try to build the project from here:
> http://cc123.caido.ro/caido-test2.zip
> Apache Netbeans 11.1 and 11.2-beta1 gives me no missing dependencies, just
> this message appears:
> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-test2 -
> Dnb.internal.action.name=rebuild clean jar
> init:
> deps-clean:
> Updating property file:
> E:\Users\victor\NetBeansProjects\caido-test2\build\built-clean.properties
> Deleting directory E:\Users\victor\NetBeansProjects\caido-test2\build
> clean:
> init:
> deps-jar:
> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build
> Updating property file:
> E:\Users\victor\NetBeansProjects\caido-test2\build\built-jar.properties
> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\classes
> Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\empty
> Created dir:
> E:\Users\victor\NetBeansProjects\caido-test2\build\generated-sources\ap-source-output
> Compiling 1 source file to
> E:\Users\victor\NetBeansProjects\caido-test2\build\classes
> BUILD FAILED (total time: 0 seconds)"
>
> It seems the problem is hard to reproduce, if I can help with other data
> please tell me.
> Anyway, I'll follow your advice and try to mavenize the project and hope
> this will solve the problem.
>
> Thank you.
>
>
> ------ Original Message ------
> From: "Geertjan Wielenga" <ge...@apache.org>
> To: "Sterpu Victor" <vi...@caido.ro>
> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
> Sent: 2019-09-30 5:21:43 PM
> Subject: Re: Re[6]: Apache 11.1 - build failed
>
> Indeed, the dependencies are not there so when I try to build, there are
> many missing dependencies and the error messages shows them and then the
> Output window ends with this:
>
> 50 errors
> BUILD FAILED (total time: 5 seconds)
>
> Gj
>
> On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:
>
>> I made a minmal project with this problem, the project is here:
>> http://cc123.caido.ro/caido-test2.zip
>> The project starts to compile immediatly if I delete the folder
>> lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any
>> folder or file from the lib folder the problem disappears.
>> The project should dispaly a lot of errors since I already deleted a lot
>> of libraries and source files but in this form it only displays "BUILD
>> FAILED"
>>
>> Thank you.
>>
>>
>> ------ Original Message ------
>> From: "Geertjan Wielenga" <ge...@apache.org>
>> To: "Sterpu Victor" <vi...@caido.ro>
>> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>> Sent: 2019-09-30 4:46:21 PM
>> Subject: Re: Re[4]: Apache 11.1 - build failed
>>
>> Great, though being Mavenized is not a requirement. Happy to take a look
>> at the original project to see what the problem is/was.
>>
>> Gj
>>
>> On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>>
>>> Is not on GitHub.
>>> My original project wasn't mavenized and I think this was the problem.
>>> I tried to create a new maven project and copy the source files and it
>>> seems that this was the problem, I can compile with a lot of errors right
>>> now because I didn't linked all the libraries yet, but I think the problem
>>> is solved. :)
>>> Thank you.
>>>
>>>
>>> ------ Original Message ------
>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>> To: "Sterpu Victor" <vi...@caido.ro>
>>> Cc: users@netbeans.apache.org
>>> Sent: 2019-09-30 3:25:15 PM
>>> Subject: Re: Re[2]: Apache 11.1 - build failed
>>>
>>> Is the project available somewhere, e.g., on GitHub, so we can take a
>>> look?
>>>
>>> Gj
>>>
>>> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
>>> wrote:
>>>
>>>> Thank you for the quick answer.
>>>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
>>>> I tried many things, all rezulting in the same error(BUILD FAILED
>>>> without any specific message):
>>>> - JDK 13 + Netbeans versions 11.2 beta 1
>>>> - JDK 12 + Netbeans versions 11.2 beta 1
>>>> - JDK 11 + Netbeans versions 11.2 beta 1
>>>> - JDK 13 + Netbeans versions 11.1
>>>> - JDK 12 + Netbeans versions 11.1
>>>> - JDK 11 + Netbeans versions 11.1
>>>>
>>>> *As a interesting thing: if I run the project, without compiling it, no
>>>> error appears and the project runs fine.*
>>>>
>>>>
>>>> ------ Original Message ------
>>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>>> To: "Sterpu Victor" <vi...@caido.ro>
>>>> Cc: users@netbeans.apache.org
>>>> Sent: 2019-09-30 2:55:37 PM
>>>> Subject: Re: Apache 11.1 - build failed
>>>>
>>>> Well, 11.1 does not support JDK 13.
>>>>
>>>> Try reproduce the problem on 11.2 beta1:
>>>>
>>>> bit.ly/apache-netbeans-11-2-beta-1
>>>>
>>>> Gj
>>>>
>>>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>>>> wrote:
>>>>
>>>>> Hello
>>>>>
>>>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans
>>>>> 11.1. I use JDK 13.
>>>>> The project works in Netbeans 8 but when I try to compile the project
>>>>> in Netbeans 11.1 I receive a build failed without any other error
>>>>> messages, like this:
>>>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>>>> Dnb.internal.action.name=rebuild clean jar
>>>>> init:
>>>>> deps-clean:
>>>>> Updating property file:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>> clean:
>>>>> init:
>>>>> deps-jar:
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>> Updating property file:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>> Created dir:
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>> Compiling 723 source files to
>>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>> *BUILD FAILED (total time: 0 seconds)*"
>>>>>
>>>>> There is no new message in the Netbeans log file(messages.log) when I
>>>>> compile the project.
>>>>>
>>>>> Thank you.
>>>>>
>>>>>
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>>>> www.avast.com
>>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>>>> <#m_2204744032141618414_m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>
>>>>

Re[8]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
That is weird because when I try to build the project from here: 
http://cc123.caido.ro/caido-test2.zip
Apache Netbeans 11.1 and 11.2-beta1 gives me no missing dependencies, 
just this message appears:
"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-test2 
-Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: 
E:\Users\victor\NetBeansProjects\caido-test2\build\built-clean.properties
Deleting directory E:\Users\victor\NetBeansProjects\caido-test2\build
clean:
init:
deps-jar:
Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build
Updating property file: 
E:\Users\victor\NetBeansProjects\caido-test2\build\built-jar.properties
Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\classes
Created dir: E:\Users\victor\NetBeansProjects\caido-test2\build\empty
Created dir: 
E:\Users\victor\NetBeansProjects\caido-test2\build\generated-sources\ap-source-output
Compiling 1 source file to 
E:\Users\victor\NetBeansProjects\caido-test2\build\classes
BUILD FAILED (total time: 0 seconds)"

It seems the problem is hard to reproduce, if I can help with other data 
please tell me.
Anyway, I'll follow your advice and try to mavenize the project and hope 
this will solve the problem.

Thank you.


------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
Sent: 2019-09-30 5:21:43 PM
Subject: Re: Re[6]: Apache 11.1 - build failed

>Indeed, the dependencies are not there so when I try to build, there 
>are many missing dependencies and the error messages shows them and 
>then the Output window ends with this:
>
>50 errors
>BUILD FAILED (total time: 5 seconds)
>
>Gj
>
>On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:
>>I made a minmal project with this problem, the project is here:  
>>http://cc123.caido.ro/caido-test2.zip
>>The project starts to compile immediatly if I delete the folder 
>>lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost 
>>any folder or file from the lib folder the problem disappears.
>>The project should dispaly a lot of errors since I already deleted a 
>>lot of libraries and source files but in this form it only displays 
>>"BUILD FAILED"
>>
>>Thank you.
>>
>>
>>------ Original Message ------
>>From: "Geertjan Wielenga" <ge...@apache.org>
>>To: "Sterpu Victor" <vi...@caido.ro>
>>Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
>>Sent: 2019-09-30 4:46:21 PM
>>Subject: Re: Re[4]: Apache 11.1 - build failed
>>
>>>Great, though being Mavenized is not a requirement. Happy to take a 
>>>look at the original project to see what the problem is/was.
>>>
>>>Gj
>>>
>>>On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> 
>>>wrote:
>>>>Is not on GitHub.
>>>>My original project wasn't mavenized and I think this was the 
>>>>problem.
>>>>I tried to create a new maven project and copy the source files and 
>>>>it seems that this was the problem, I can compile with a lot of 
>>>>errors right now because I didn't linked all the libraries yet, but 
>>>>I think the problem is solved. :)
>>>>Thank you.
>>>>
>>>>
>>>>------ Original Message ------
>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>Cc: users@netbeans.apache.org
>>>>Sent: 2019-09-30 3:25:15 PM
>>>>Subject: Re: Re[2]: Apache 11.1 - build failed
>>>>
>>>>>Is the project available somewhere, e.g., on GitHub, so we can take 
>>>>>a look?
>>>>>
>>>>>Gj
>>>>>
>>>>>On Mon, 30 Sep 2019 at 14:24, Sterpu Victor 
>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>Thank you for the quick answer.
>>>>>>I tried Apache Netbeans version 11.2 beta 1 but the result was tha 
>>>>>>same.
>>>>>>I tried many things, all rezulting in the same error(BUILD FAILED 
>>>>>>without any specific message):
>>>>>>- JDK 13 + Netbeans versions 11.2 beta 1
>>>>>>- JDK 12 + Netbeans versions 11.2 beta 1
>>>>>>- JDK 11 + Netbeans versions 11.2 beta 1
>>>>>>- JDK 13 + Netbeans versions 11.1
>>>>>>- JDK 12 + Netbeans versions 11.1
>>>>>>- JDK 11 + Netbeans versions 11.1
>>>>>>
>>>>>>As a interesting thing: if I run the project, without compiling 
>>>>>>it, no error appears and the project runs fine.
>>>>>>
>>>>>>
>>>>>>------ Original Message ------
>>>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>>>Cc: users@netbeans.apache.org
>>>>>>Sent: 2019-09-30 2:55:37 PM
>>>>>>Subject: Re: Apache 11.1 - build failed
>>>>>>
>>>>>>>Well, 11.1 does not support JDK 13.
>>>>>>>
>>>>>>>Try reproduce the problem on 11.2 beta1:
>>>>>>>
>>>>>>>bit.ly/apache-netbeans-11-2-beta-1
>>>>>>>
>>>>>>>Gj
>>>>>>>
>>>>>>>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor 
>>>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>>>Hello
>>>>>>>>
>>>>>>>>I want to migrate from a old Netbeans 8 version to Apache 
>>>>>>>>Netbeans 11.1. I use JDK 13.
>>>>>>>>The project works in Netbeans 8 but when I try to compile the 
>>>>>>>>project in Netbeans 11.1 I receive a build failed without any 
>>>>>>>>other error messages, like this:
>>>>>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>>>>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>>>>>init:
>>>>>>>>deps-clean:
>>>>>>>>Updating property file: 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>>>>Deleting directory 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>clean:
>>>>>>>>init:
>>>>>>>>deps-jar:
>>>>>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>>>Updating property file: 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>>>>Created dir: 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>Created dir: 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>>>>Created dir: 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>>>>Compiling 723 source files to 
>>>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>>>BUILD FAILED (total time: 0 seconds)"
>>>>>>>>
>>>>>>>>There is no new message in the Netbeans log file(messages.log) 
>>>>>>>>when I compile the project.
>>>>>>>>
>>>>>>>>Thank you.
>>>>>>>>
>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>>>>>>>www.avast.com 
>>>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>>>>>>>><#m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Re[6]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Indeed, the dependencies are not there so when I try to build, there are
many missing dependencies and the error messages shows them and then the
Output window ends with this:

50 errors
BUILD FAILED (total time: 5 seconds)

Gj

On Mon, Sep 30, 2019 at 4:12 PM Sterpu Victor <vi...@caido.ro> wrote:

> I made a minmal project with this problem, the project is here:
> http://cc123.caido.ro/caido-test2.zip
> The project starts to compile immediatly if I delete the folder
> lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any
> folder or file from the lib folder the problem disappears.
> The project should dispaly a lot of errors since I already deleted a lot
> of libraries and source files but in this form it only displays "BUILD
> FAILED"
>
> Thank you.
>
>
> ------ Original Message ------
> From: "Geertjan Wielenga" <ge...@apache.org>
> To: "Sterpu Victor" <vi...@caido.ro>
> Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
> Sent: 2019-09-30 4:46:21 PM
> Subject: Re: Re[4]: Apache 11.1 - build failed
>
> Great, though being Mavenized is not a requirement. Happy to take a look
> at the original project to see what the problem is/was.
>
> Gj
>
> On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>
>> Is not on GitHub.
>> My original project wasn't mavenized and I think this was the problem.
>> I tried to create a new maven project and copy the source files and it
>> seems that this was the problem, I can compile with a lot of errors right
>> now because I didn't linked all the libraries yet, but I think the problem
>> is solved. :)
>> Thank you.
>>
>>
>> ------ Original Message ------
>> From: "Geertjan Wielenga" <ge...@apache.org>
>> To: "Sterpu Victor" <vi...@caido.ro>
>> Cc: users@netbeans.apache.org
>> Sent: 2019-09-30 3:25:15 PM
>> Subject: Re: Re[2]: Apache 11.1 - build failed
>>
>> Is the project available somewhere, e.g., on GitHub, so we can take a
>> look?
>>
>> Gj
>>
>> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
>> wrote:
>>
>>> Thank you for the quick answer.
>>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
>>> I tried many things, all rezulting in the same error(BUILD FAILED
>>> without any specific message):
>>> - JDK 13 + Netbeans versions 11.2 beta 1
>>> - JDK 12 + Netbeans versions 11.2 beta 1
>>> - JDK 11 + Netbeans versions 11.2 beta 1
>>> - JDK 13 + Netbeans versions 11.1
>>> - JDK 12 + Netbeans versions 11.1
>>> - JDK 11 + Netbeans versions 11.1
>>>
>>> *As a interesting thing: if I run the project, without compiling it, no
>>> error appears and the project runs fine.*
>>>
>>>
>>> ------ Original Message ------
>>> From: "Geertjan Wielenga" <ge...@apache.org>
>>> To: "Sterpu Victor" <vi...@caido.ro>
>>> Cc: users@netbeans.apache.org
>>> Sent: 2019-09-30 2:55:37 PM
>>> Subject: Re: Apache 11.1 - build failed
>>>
>>> Well, 11.1 does not support JDK 13.
>>>
>>> Try reproduce the problem on 11.2 beta1:
>>>
>>> bit.ly/apache-netbeans-11-2-beta-1
>>>
>>> Gj
>>>
>>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>>> wrote:
>>>
>>>> Hello
>>>>
>>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans
>>>> 11.1. I use JDK 13.
>>>> The project works in Netbeans 8 but when I try to compile the project
>>>> in Netbeans 11.1 I receive a build failed without any other error
>>>> messages, like this:
>>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>>> Dnb.internal.action.name=rebuild clean jar
>>>> init:
>>>> deps-clean:
>>>> Updating property file:
>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>> clean:
>>>> init:
>>>> deps-jar:
>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>> Updating property file:
>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>> Created dir:
>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>> Compiling 723 source files to
>>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>> *BUILD FAILED (total time: 0 seconds)*"
>>>>
>>>> There is no new message in the Netbeans log file(messages.log) when I
>>>> compile the project.
>>>>
>>>> Thank you.
>>>>
>>>>
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>>> www.avast.com
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>>> <#m_-3313742116939074804_m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>

Re[6]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
I made a minmal project with this problem, the project is here:  
http://cc123.caido.ro/caido-test2.zip
The project starts to compile immediatly if I delete the folder 
lib/jetty-distribution-9.3.9.v20160517, actually if I delete almost any 
folder or file from the lib folder the problem disappears.
The project should dispaly a lot of errors since I already deleted a lot 
of libraries and source files but in this form it only displays "BUILD 
FAILED"

Thank you.


------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: "NetBeans Mailing List" <us...@netbeans.apache.org>
Sent: 2019-09-30 4:46:21 PM
Subject: Re: Re[4]: Apache 11.1 - build failed

>Great, though being Mavenized is not a requirement. Happy to take a 
>look at the original project to see what the problem is/was.
>
>Gj
>
>On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:
>>Is not on GitHub.
>>My original project wasn't mavenized and I think this was the problem.
>>I tried to create a new maven project and copy the source files and it 
>>seems that this was the problem, I can compile with a lot of errors 
>>right now because I didn't linked all the libraries yet, but I think 
>>the problem is solved. :)
>>Thank you.
>>
>>
>>------ Original Message ------
>>From: "Geertjan Wielenga" <ge...@apache.org>
>>To: "Sterpu Victor" <vi...@caido.ro>
>>Cc: users@netbeans.apache.org
>>Sent: 2019-09-30 3:25:15 PM
>>Subject: Re: Re[2]: Apache 11.1 - build failed
>>
>>>Is the project available somewhere, e.g., on GitHub, so we can take a 
>>>look?
>>>
>>>Gj
>>>
>>>On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid> 
>>>wrote:
>>>>Thank you for the quick answer.
>>>>I tried Apache Netbeans version 11.2 beta 1 but the result was tha 
>>>>same.
>>>>I tried many things, all rezulting in the same error(BUILD FAILED 
>>>>without any specific message):
>>>>- JDK 13 + Netbeans versions 11.2 beta 1
>>>>- JDK 12 + Netbeans versions 11.2 beta 1
>>>>- JDK 11 + Netbeans versions 11.2 beta 1
>>>>- JDK 13 + Netbeans versions 11.1
>>>>- JDK 12 + Netbeans versions 11.1
>>>>- JDK 11 + Netbeans versions 11.1
>>>>
>>>>As a interesting thing: if I run the project, without compiling it, 
>>>>no error appears and the project runs fine.
>>>>
>>>>
>>>>------ Original Message ------
>>>>From: "Geertjan Wielenga" <ge...@apache.org>
>>>>To: "Sterpu Victor" <vi...@caido.ro>
>>>>Cc: users@netbeans.apache.org
>>>>Sent: 2019-09-30 2:55:37 PM
>>>>Subject: Re: Apache 11.1 - build failed
>>>>
>>>>>Well, 11.1 does not support JDK 13.
>>>>>
>>>>>Try reproduce the problem on 11.2 beta1:
>>>>>
>>>>>bit.ly/apache-netbeans-11-2-beta-1
>>>>>
>>>>>Gj
>>>>>
>>>>>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor 
>>>>><vi...@caido.ro.invalid> wrote:
>>>>>>Hello
>>>>>>
>>>>>>I want to migrate from a old Netbeans 8 version to Apache Netbeans 
>>>>>>11.1. I use JDK 13.
>>>>>>The project works in Netbeans 8 but when I try to compile the 
>>>>>>project in Netbeans 11.1 I receive a build failed without any 
>>>>>>other error messages, like this:
>>>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>>>init:
>>>>>>deps-clean:
>>>>>>Updating property file: 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>>>Deleting directory 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>clean:
>>>>>>init:
>>>>>>deps-jar:
>>>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>>>Updating property file: 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>>>Created dir: 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>Created dir: 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>>>Created dir: 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>>>Compiling 723 source files to 
>>>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>>>BUILD FAILED (total time: 0 seconds)"
>>>>>>
>>>>>>There is no new message in the Netbeans log file(messages.log) 
>>>>>>when I compile the project.
>>>>>>
>>>>>>Thank you.
>>>>>>
>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>>>>>www.avast.com 
>>>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>>>>>><#m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Re[4]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Great, though being Mavenized is not a requirement. Happy to take a look at
the original project to see what the problem is/was.

Gj

On Mon, Sep 30, 2019 at 3:44 PM Sterpu Victor <vi...@caido.ro> wrote:

> Is not on GitHub.
> My original project wasn't mavenized and I think this was the problem.
> I tried to create a new maven project and copy the source files and it
> seems that this was the problem, I can compile with a lot of errors right
> now because I didn't linked all the libraries yet, but I think the problem
> is solved. :)
> Thank you.
>
>
> ------ Original Message ------
> From: "Geertjan Wielenga" <ge...@apache.org>
> To: "Sterpu Victor" <vi...@caido.ro>
> Cc: users@netbeans.apache.org
> Sent: 2019-09-30 3:25:15 PM
> Subject: Re: Re[2]: Apache 11.1 - build failed
>
> Is the project available somewhere, e.g., on GitHub, so we can take a look?
>
> Gj
>
> On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid>
> wrote:
>
>> Thank you for the quick answer.
>> I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
>> I tried many things, all rezulting in the same error(BUILD FAILED without
>> any specific message):
>> - JDK 13 + Netbeans versions 11.2 beta 1
>> - JDK 12 + Netbeans versions 11.2 beta 1
>> - JDK 11 + Netbeans versions 11.2 beta 1
>> - JDK 13 + Netbeans versions 11.1
>> - JDK 12 + Netbeans versions 11.1
>> - JDK 11 + Netbeans versions 11.1
>>
>> *As a interesting thing: if I run the project, without compiling it, no
>> error appears and the project runs fine.*
>>
>>
>> ------ Original Message ------
>> From: "Geertjan Wielenga" <ge...@apache.org>
>> To: "Sterpu Victor" <vi...@caido.ro>
>> Cc: users@netbeans.apache.org
>> Sent: 2019-09-30 2:55:37 PM
>> Subject: Re: Apache 11.1 - build failed
>>
>> Well, 11.1 does not support JDK 13.
>>
>> Try reproduce the problem on 11.2 beta1:
>>
>> bit.ly/apache-netbeans-11-2-beta-1
>>
>> Gj
>>
>> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
>> wrote:
>>
>>> Hello
>>>
>>> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1.
>>> I use JDK 13.
>>> The project works in Netbeans 8 but when I try to compile the project
>>> in Netbeans 11.1 I receive a build failed without any other error
>>> messages, like this:
>>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>>> Dnb.internal.action.name=rebuild clean jar
>>> init:
>>> deps-clean:
>>> Updating property file:
>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>> clean:
>>> init:
>>> deps-jar:
>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>> Updating property file:
>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>> Created dir:
>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>> Compiling 723 source files to
>>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>> *BUILD FAILED (total time: 0 seconds)*"
>>>
>>> There is no new message in the Netbeans log file(messages.log) when I
>>> compile the project.
>>>
>>> Thank you.
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>>> www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>>> <#m_6684797760685656039_m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>

Re[4]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
Is not on GitHub.
My original project wasn't mavenized and I think this was the problem.
I tried to create a new maven project and copy the source files and it 
seems that this was the problem, I can compile with a lot of errors 
right now because I didn't linked all the libraries yet, but I think the 
problem is solved. :)
Thank you.


------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: users@netbeans.apache.org
Sent: 2019-09-30 3:25:15 PM
Subject: Re: Re[2]: Apache 11.1 - build failed

>Is the project available somewhere, e.g., on GitHub, so we can take a 
>look?
>
>Gj
>
>On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid> 
>wrote:
>>Thank you for the quick answer.
>>I tried Apache Netbeans version 11.2 beta 1 but the result was tha 
>>same.
>>I tried many things, all rezulting in the same error(BUILD FAILED 
>>without any specific message):
>>- JDK 13 + Netbeans versions 11.2 beta 1
>>- JDK 12 + Netbeans versions 11.2 beta 1
>>- JDK 11 + Netbeans versions 11.2 beta 1
>>- JDK 13 + Netbeans versions 11.1
>>- JDK 12 + Netbeans versions 11.1
>>- JDK 11 + Netbeans versions 11.1
>>
>>As a interesting thing: if I run the project, without compiling it, no 
>>error appears and the project runs fine.
>>
>>
>>------ Original Message ------
>>From: "Geertjan Wielenga" <ge...@apache.org>
>>To: "Sterpu Victor" <vi...@caido.ro>
>>Cc: users@netbeans.apache.org
>>Sent: 2019-09-30 2:55:37 PM
>>Subject: Re: Apache 11.1 - build failed
>>
>>>Well, 11.1 does not support JDK 13.
>>>
>>>Try reproduce the problem on 11.2 beta1:
>>>
>>>bit.ly/apache-netbeans-11-2-beta-1
>>>
>>>Gj
>>>
>>>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid> 
>>>wrote:
>>>>Hello
>>>>
>>>>I want to migrate from a old Netbeans 8 version to Apache Netbeans 
>>>>11.1. I use JDK 13.
>>>>The project works in Netbeans 8 but when I try to compile the 
>>>>project in Netbeans 11.1 I receive a build failed without any other 
>>>>error messages, like this:
>>>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>>>-Dnb.internal.action.name=rebuild clean jar
>>>>init:
>>>>deps-clean:
>>>>Updating property file: 
>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>>>Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>clean:
>>>>init:
>>>>deps-jar:
>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>>>Updating property file: 
>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>>>Created dir: 
>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>>>Created dir: 
>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>>>Compiling 723 source files to 
>>>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>>>BUILD FAILED (total time: 0 seconds)"
>>>>
>>>>There is no new message in the Netbeans log file(messages.log) when 
>>>>I compile the project.
>>>>
>>>>Thank you.
>>>>
>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>>>www.avast.com 
>>>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>>>><#m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Re[2]: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Is the project available somewhere, e.g., on GitHub, so we can take a look?

Gj

On Mon, 30 Sep 2019 at 14:24, Sterpu Victor <vi...@caido.ro.invalid> wrote:

> Thank you for the quick answer.
> I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
> I tried many things, all rezulting in the same error(BUILD FAILED without
> any specific message):
> - JDK 13 + Netbeans versions 11.2 beta 1
> - JDK 12 + Netbeans versions 11.2 beta 1
> - JDK 11 + Netbeans versions 11.2 beta 1
> - JDK 13 + Netbeans versions 11.1
> - JDK 12 + Netbeans versions 11.1
> - JDK 11 + Netbeans versions 11.1
>
> *As a interesting thing: if I run the project, without compiling it, no
> error appears and the project runs fine.*
>
>
> ------ Original Message ------
> From: "Geertjan Wielenga" <ge...@apache.org>
> To: "Sterpu Victor" <vi...@caido.ro>
> Cc: users@netbeans.apache.org
> Sent: 2019-09-30 2:55:37 PM
> Subject: Re: Apache 11.1 - build failed
>
> Well, 11.1 does not support JDK 13.
>
> Try reproduce the problem on 11.2 beta1:
>
> bit.ly/apache-netbeans-11-2-beta-1
>
> Gj
>
> On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid>
> wrote:
>
>> Hello
>>
>> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1.
>> I use JDK 13.
>> The project works in Netbeans 8 but when I try to compile the project in Netbeans
>> 11.1 I receive a build failed without any other error messages, like this:
>> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
>> Dnb.internal.action.name=rebuild clean jar
>> init:
>> deps-clean:
>> Updating property file:
>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>> clean:
>> init:
>> deps-jar:
>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>> Updating property file:
>> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>> Created dir:
>> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>> Compiling 723 source files to
>> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>> *BUILD FAILED (total time: 0 seconds)*"
>>
>> There is no new message in the Netbeans log file(messages.log) when I
>> compile the project.
>>
>> Thank you.
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
>> www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
>> <#m_-9127859841774417905_m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>

Re[2]: Apache 11.1 - build failed

Posted by Sterpu Victor <vi...@caido.ro.INVALID>.
Thank you for the quick answer.
I tried Apache Netbeans version 11.2 beta 1 but the result was tha same.
I tried many things, all rezulting in the same error(BUILD FAILED 
without any specific message):
- JDK 13 + Netbeans versions 11.2 beta 1
- JDK 12 + Netbeans versions 11.2 beta 1
- JDK 11 + Netbeans versions 11.2 beta 1
- JDK 13 + Netbeans versions 11.1
- JDK 12 + Netbeans versions 11.1
- JDK 11 + Netbeans versions 11.1

As a interesting thing: if I run the project, without compiling it, no 
error appears and the project runs fine.


------ Original Message ------
From: "Geertjan Wielenga" <ge...@apache.org>
To: "Sterpu Victor" <vi...@caido.ro>
Cc: users@netbeans.apache.org
Sent: 2019-09-30 2:55:37 PM
Subject: Re: Apache 11.1 - build failed

>Well, 11.1 does not support JDK 13.
>
>Try reproduce the problem on 11.2 beta1:
>
>bit.ly/apache-netbeans-11-2-beta-1
>
>Gj
>
>On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid> 
>wrote:
>>Hello
>>
>>I want to migrate from a old Netbeans 8 version to Apache Netbeans 
>>11.1. I use JDK 13.
>>The project works in Netbeans 8 but when I try to compile the project 
>>in Netbeans 11.1 I receive a build failed without any other error 
>>messages, like this:
>>"ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 
>>-Dnb.internal.action.name=rebuild clean jar
>>init:
>>deps-clean:
>>Updating property file: 
>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
>>Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
>>clean:
>>init:
>>deps-jar:
>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
>>Updating property file: 
>>E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
>>Created dir: 
>>E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
>>Compiling 723 source files to 
>>E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
>>BUILD FAILED (total time: 0 seconds)"
>>
>>There is no new message in the Netbeans log file(messages.log) when I 
>>compile the project.
>>
>>Thank you.
>>
>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>Virus-free. 
>>www.avast.com 
>><https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link> 
>><#m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Re: Apache 11.1 - build failed

Posted by Geertjan Wielenga <ge...@apache.org>.
Well, 11.1 does not support JDK 13.

Try reproduce the problem on 11.2 beta1:

bit.ly/apache-netbeans-11-2-beta-1

Gj

On Mon, 30 Sep 2019 at 13:53, Sterpu Victor <vi...@caido.ro.invalid> wrote:

> Hello
>
> I want to migrate from a old Netbeans 8 version to Apache Netbeans 11.1. I
> use JDK 13.
> The project works in Netbeans 8 but when I try to compile the project in Netbeans
> 11.1 I receive a build failed without any other error messages, like this:
> "ant -f E:\\Users\\victor\\NetBeansProjects\\caido-dev4 -
> Dnb.internal.action.name=rebuild clean jar
> init:
> deps-clean:
> Updating property file:
> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-clean.properties
> Deleting directory E:\Users\victor\NetBeansProjects\caido-dev4\build
> clean:
> init:
> deps-jar:
> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build
> Updating property file:
> E:\Users\victor\NetBeansProjects\caido-dev4\build\built-jar.properties
> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
> Created dir: E:\Users\victor\NetBeansProjects\caido-dev4\build\empty
> Created dir:
> E:\Users\victor\NetBeansProjects\caido-dev4\build\generated-sources\ap-source-output
> Compiling 723 source files to
> E:\Users\victor\NetBeansProjects\caido-dev4\build\classes
> *BUILD FAILED (total time: 0 seconds)*"
>
> There is no new message in the Netbeans log file(messages.log) when I
> compile the project.
>
> Thank you.
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
> <#m_-775861939352283645_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>