dcapwell commented on PR #4734:
URL: https://github.com/apache/cassandra/pull/4734#issuecomment-4253811987

   going to push review branch in a second; here are example usage of the 
scripts
   
   ```
   $ ai-build
   BUILD FAILED
   ==================================================
   
   Output from failed target 'None':
   ----------------------------------------
   Buildfile: /Users/dcapwell/src/github/apache/cassandra/trunk/build.xml
   BUILD FAILED
   /Users/dcapwell/src/github/apache/cassandra/trunk/build.xml:223: Unsupported 
JDK version used: 25
   Total time: 0 seconds
   $ setjdk 21
   $ ai-build
   BUILD SUCCESSFUL
   $ vim src/java/org/apache/cassandra/config/Config.java # make it not compile
   $ ai-build
   BUILD FAILED
   Failed target: _build_java
   ==================================================
   
   Output from failed target '_build_java':
   ----------------------------------------
   _build_java:
        [echo] Compiling for Java 21...
       [javac] Compiling 3194 source files to 
/Users/dcapwell/src/github/apache/cassandra/trunk/build/classes/main
       [javac] Note: Annotation processing is enabled because one or more 
processors were found
       [javac]   on the class path. A future release of javac may disable 
annotation processing
       [javac]   unless at least one processor is specified by name 
(-processor), or a search
       [javac]   path is specified (--processor-path, --processor-module-path), 
or annotation
       [javac]   processing is enabled explicitly (-proc:only, -proc:full).
       [javac]   Use -Xlint:-options to suppress this message.
       [javac]   Use -proc:none to disable annotation processing.
       [javac] 
/Users/dcapwell/src/github/apache/cassandra/trunk/src/java/org/apache/cassandra/config/Config.java:18:
 error: ';' expected
       [javac] package org.apache.cassandra.config
       [javac]                                    ^
       [javac] 1 error
   BUILD FAILED
   /Users/dcapwell/src/github/apache/cassandra/trunk/build.xml:693: The 
following error occurred while executing this line:
   /Users/dcapwell/src/github/apache/cassandra/trunk/build.xml:678: Compile 
failed; see the compiler error output for details.
   Total time: 10 seconds
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to