Day: February 10, 2023

Development Cycle – Develop Scala application using SBT in IntelliJ

Create a scala program Right click on scala -> new -> scala class Choose scala object and give the object name and hit enter Copy the code which we have seen earlier Pass the arguments as mentioned in the video Run the program Example import scala.io.Source object OrderRevenue { def main(args: Array[String]) = { val …

Development Cycle – Develop Scala application using SBT in IntelliJ Read More »

Development Cycle – Compile changes and run jar with arguments

As part of this topic, we will explore another way of compiling and running the jar file with arguments through SBT We can make the changes to the code Recompile the jar file Run the jar file How to pass the arguments to the program Example import scala.io.Source object OrderRevenue { def main(args: Array[String]) = …

Development Cycle – Compile changes and run jar with arguments Read More »