Hi,
I would like to use vpl-junit-0.8.jar with Kotlin classes as the latest VPL version included support for Kotlin.
When I evaluate the unit tests, I get the following error:
java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
--|>
<|--
at: FractionKt.invert(Fraction.kt)
which means that the Kotlin STD Lib is missing, although I included it in class path:
search for Kotlin standard library and include it in class path
kotlin_std_lib=/opt/kotlin/lib/kotlin-stdlib.jar
if [ -f $kotlin_std_lib ] ; then
CLASSPATH=$CLASSPATH:$kotlin_std_lib
fi
and
cat common_script.sh > vpl_execution
echo "export CLASSPATH=$CLASSPATH" >> vpl_execution
echo "timeout $vpl_junit_timeout java -jar $vpl_junit_version $@" >> vpl_execution
chmod +x vpl_execution
I attached all files.
Any hint on that very welcome.
Downloads.zip
Hi,
I would like to use vpl-junit-0.8.jar with Kotlin classes as the latest VPL version included support for Kotlin.
When I evaluate the unit tests, I get the following error:
which means that the Kotlin STD Lib is missing, although I included it in class path:
search for Kotlin standard library and include it in class path
kotlin_std_lib=/opt/kotlin/lib/kotlin-stdlib.jar
if [ -f $kotlin_std_lib ] ; then
CLASSPATH=$CLASSPATH:$kotlin_std_lib
fi
and
cat common_script.sh > vpl_execution$vpl_junit_version $ @" >> vpl_execution
echo "export CLASSPATH=$CLASSPATH" >> vpl_execution
echo "timeout $vpl_junit_timeout java -jar
chmod +x vpl_execution
I attached all files.
Any hint on that very welcome.
Downloads.zip