Browse Source

Fix incorrect trigger conditions

ref:b246f7681c9ffcd6c7c4f857c348873860c59165
svidyuk 2 years ago
parent
commit
c5a354f543
1 changed files with 3 additions and 2 deletions
  1. 3 2
      build/ymake.core.conf

+ 3 - 2
build/ymake.core.conf

@@ -3805,7 +3805,8 @@ LINK_UBERJAR_PROGRAM=$YMAKE_PYTHON ${input:"build/scripts/make_java_classpath_fi
 
 # tag:java-specific
 RUN_WITH_SOURCES=no
-TARED_CLASSPATH=yes # TODO jbuild creates tar with all classpath deps by default and some projects rely on this. In ymake build this tar file creation is not needed and should be disabled by default in future
+# TODO jbuild creates tar with all classpath deps by default and some projects rely on this. In ymake build this tar file creation is not needed and should be disabled by default in future    
+TARED_CLASSPATH=yes
 _JAR_SRCS_CALLED=no
 
 # tag:java-specific
@@ -3826,7 +3827,7 @@ module _JAR_RUNABLE: _COMPILABLE_JAR_BASE {
         _SOURCE_JARS_CPLIST=${nopath;rootrel;ext=.jar;pre=$BINDIR/$REALPRJNAME/;noext;suf=-sources.jar:MANAGED_PEERS_CLOSURE}
     }
 
-    when ($_JAR_SRCS_CALLED && $TARED_CLASSPATH) {
+    when ($TARED_CLASSPATH == "yes") {
         DO_TAR_CLASSPATH=$TAR_CLASSPATH
     }