From 1694e6f665948370715f9dc1b2c24de0037dd546 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 19 Mar 2025 01:29:56 -0700 Subject: [PATCH] Update compile options to new syntax --- examples/java/bld/src/bld/java/com/example/ExampleBuild.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/java/bld/src/bld/java/com/example/ExampleBuild.java b/examples/java/bld/src/bld/java/com/example/ExampleBuild.java index c8f7611..9d34700 100644 --- a/examples/java/bld/src/bld/java/com/example/ExampleBuild.java +++ b/examples/java/bld/src/bld/java/com/example/ExampleBuild.java @@ -2,6 +2,7 @@ package com.example; import rife.bld.BuildCommand; import rife.bld.Project; +import rife.bld.operations.JavacOptions.Processing; import java.io.File; import java.util.List; @@ -42,7 +43,7 @@ public class ExampleBuild extends Project { public void compile() throws Exception { var generated = new File(buildDirectory(), "generated"); var ignore = generated.mkdir(); - compileOperation().compileOptions().addAll(List.of("-proc:full", "-s", generated.getAbsolutePath())); + compileOperation().compileOptions().process(Processing.FULL).sourceOutput(generated); super.compile(); }