From 2124e4e3e772f19523f3673e9003e1d1593336fa Mon Sep 17 00:00:00 2001 From: openhands Date: Sun, 28 Jun 2026 14:41:08 +0000 Subject: [PATCH] Fix: Compile classlib annotations before core sources This fix ensures the org.jnode.annotation package is compiled and packaged into classlib.jar before the main core compilation starts. The build was failing because: - classlib.jar was expected to contain annotation classes - But the classlib sources in core/src/classlib/ were never compiled - This caused 'package org.jnode.annotation does not exist' errors Changes: - Add compile-classlib target that compiles classlib sources first - The compile target now depends on compile-classlib - classlib.jar is created from the compiled classlib classes --- core/build.xml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/core/build.xml b/core/build.xml index eecb754efe..02abcec026 100644 --- a/core/build.xml +++ b/core/build.xml @@ -30,6 +30,8 @@ + + @@ -132,8 +134,35 @@ + + + + + + + + + + + + + + + + + @@ -154,10 +183,7 @@ tofile="${my-gen.dir}/org/jnode/security/JNodeSecurityManagerSettings.java"> - - -