umutsahin commented on code in PR #5587:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5587#discussion_r1402319557


##########
drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/AppPaths.java:
##########
@@ -35,21 +35,26 @@ public enum BuildTool {
         GRADLE;
 
         public static AppPaths.BuildTool findBuildTool() {
-            return System.getProperty("org.gradle.appname") == null ? MAVEN : 
GRADLE;
+            String cmd = System.getProperty("sun.java.command");

Review Comment:
   OK, reverted to original, I noticed during running gradle from IDE 
(IntelliJ) it was not set but I can set it manually from IDE as workaround, 
open a ticket on IntelliJ



-- 
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