Looks like ant can not access "internal" JDK classes.


I'm using ant that comes bundled with NB 13.


Here is some output from ant debug logging:

Detected Java version: 11 in: C:\Dev\Apps\Java\zulu11.54.25-ca-jdk11.0.14.1-win_x64
Detected OS: Windows 11
ant.version -> Apache Ant(TM) version 1.10.8 compiled on May 10 2020
ant.home -> C:\Program Files\NetBeans\NetBeans-13\netbeans\extide\ant


D:\Java\netbeans\java\api.debugger.jpda\build.xml:27: Warning: Could not find resource javaresource "com/sun/jdi/AbsentInformationException.class" to copy.
        at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:531)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at jdk.internal.reflect.GeneratedMethodAccessor131.invoke(Unknown 
Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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:1391)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:573) at org.netbeans.core.execution.RunClassThread.doRun(RunClassThread.java:132) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
        at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:81)



Karl



Am 12.04.2022 um 23:05 schrieb antonio:
This is weird. Looks like and ant or java misconfiguration.

What does "ant -diagnostics" say? Double-check that ant and java are supported versions.

El 12/4/22 a las 20:57, Karl Tauber escribió:
I'm having problems to build NB master branch.
It fails always in project "JPDA Debugger API" (java/api.debugger.jpda).

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to