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" <geert...@apache.org>
To: "Sterpu Victor" <vic...@caido.ro>
Cc: "NetBeans Mailing List" <users@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 <vic...@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" <geert...@apache.org>
To: "Sterpu Victor" <vic...@caido.ro>
Cc: "NetBeans Mailing List" <users@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 <vic...@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" <geert...@apache.org>
To: "Sterpu Victor" <vic...@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
<vic...@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" <geert...@apache.org>
To: "Sterpu Victor" <vic...@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
<vic...@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

Reply via email to