Choose one of the methods defined below to build and execute the application.
The following assumptions are made:
- Java 1.8+ is available and configured.
- Maven 3.x+ is available and configured.
- The txnlog.dat file is available in the build folder.
Place the java project in the desired build folder and ensure that the txnlog.dat input file is present at the same level as the src folder. Move to the build folder.
mvn clean
mvn package
java -jar target\protosolution-0.0.1-SNAPSHOT-jar-with-dependencies.jar txnlog.dat
The following assumptions are made:
- Java 1.8+ is available and configured.
- The txnlog.dat file is available in the build folder.
Place the java project in the desired build folder and ensure that the txnlog.dat input file is present at the same level as the src folder.
Move to the build folder.
dir /s /B *.java > sources
mkdir target
javac -d target @sources
cd target
java com.proto.solution.Proto ..\txnlog.dat
Place the java project in the desired build folder and ensure that the txnlog.dat input file is present at the same level as the src folder.
Move to the build folder.
dir /s /B *.java > sources
mkdir target
javac -d target @sources
jar cmf src\main\resources\META-INF\MANIFEST.MF Proto.jar -C ./TARGET/ .
java -jar Proto.jar txnlog.dat