Hi, NetBeans devs!

While trying to reproduce an old bug [1], I found myself needing to build 
NetBeans 12.1, which was released 4 years ago.

When running "ant" on NetBeans 12.1 with OpenJDK 8 on WSL Ubuntu, I get the 
following error once the build gets to the enterprise/javaee.wildfly module:

========================================================
-do-compile:
[nb-javac] Compiling 134 source files to 
/home/ebakke/nbwsl/netbeans/enterprise/javaee.wildfly/build/classes
[nb-javac] [Fatal Error] web-app_3_0.xsd:1:1: Premature end of file.
[nb-javac] [Fatal Error] web-app_3_0.xsd:1:1: Premature end of file.
[nb-javac] [Fatal Error] web-app_4_0.xsd:1:1: Premature end of file.
[nb-javac] [Fatal Error] web-app_4_0.xsd:1:1: Premature end of file.
[nb-javac] 
/home/ebakke/nbwsl/netbeans/enterprise/javaee.wildfly/src/org/netbeans/modules/javaee/wildfly/config/WarDeploymentConfiguration.java:38:
 error: cannot find symbol
[nb-javac] import org.netbeans.modules.javaee.wildfly.config.gen.EjbRefType;
[nb-javac]                                                      ^
[nb-javac]   symbol:   class EjbRefType
[nb-javac]   location: package org.netbeans.modules.javaee.wildfly.config.gen
(...more errors...)
========================================================

Does anyone know what might cause this, and how to fix it?

-- Eirik

[1] https://issues.apache.org/jira/browse/NETBEANS-4754 , which I am trying to 
reproduce in order to see if it will be fixed by PR 
https://github.com/apache/netbeans/pull/652 .

Reply via email to