deepakkapoor23 commented on issue #3565: URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3565#issuecomment-2223156939
@gitgabrio looking at [KogitoAssetsProcessor](https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/quarkus/extensions/kogito-quarkus-extension-common/kogito-quarkus-common-deployment/src/main/java/org/kie/kogito/quarkus/common/deployment/KogitoAssetsProcessor.java#L231) Its definitely something to do with output paths. I tried setting the system property org.gradle.appname=gradleapp which made no difference. I then tried setting kogito.generate.rest=true in application.prperties, which forces it to generate some classes but they end up in the wrong directory. It still doesnt generate other required classes for events over http like it does with Maven. If I have no java source present in the project, it does not generate any files at all. I had to place a dummy java annotation file to see what it generates and this is how it looks, the target folder below seems to be wrong (as if it was running Maven). For Gradle, these files should be under build/classes/java/quarkus-generated-sources instead of build/classes/java/main/target/generated-sources  No logging in KogitoAssetsProcessor makes it difficult to see whats going on and there is no way for me to debug. Also, the one test for this class seems insufficient when its only asserting on root paths and not actually generating any sources to see if they end up at right path. -- 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]
