bee

bee.task

Compile

Compiles project source code, test code, and project-specific definition code. This task also handles copying associated resource files to the output directories.

source()void

Compiles main source files found in the source directory set (e.g., src/main/java) and copies associated resources (e.g., files in src/main/resources) to the main classes directory. This is the default command for the compile task.

test()void

Compiles test source files found in the test source directory set (e.g., src/test/java) and copies associated resources (e.g., files in src/test/resources) to the test classes directory. Requires the main sources to be compiled first.

project()void

Compiles project definition source files (e.g., src/project/java) and copies associated resources to the project classes directory. This is typically used for compiling the Bee Project class itself.

check()void

Performs a validation compile run on main and test sources without producing final output, primarily to check for compilation errors. Useful for quick syntax and type checking. Temporary output directory is used and cleaned up afterwards.