Loading repository data…
Loading repository data…
AlvaroDavi5 / repository
Primeiro trabalho de Programação III. Turma de Eng. da Computação, 4º período. Programação Orientada a Objetos aplicada ao sistema eleitoral brasileiro.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
by Álvaro Davi S. Alves - 2020101874
and Elder Storck - 2020101826
First assignment for the discipline Programação III (Object-Oriented Programming).
To run this project, you need to have the JDK version 11 or higher installed.
After installing the JDK, you can run the project by typing the following command in the terminal:
#to compile the project
javac -d ./build ./src/Main.java;
# to run the project
cd ./build;
java src.Main ../input/data/candidatos.csv ../input/data/partidos.csv 15/11/2020;
cd ..;
# to create a jar file
cd ./build;
jar cfm vereadores.jar MANIFEST.mf src/classes src/Election.class src/Main.class;
cd ..;
# to run the jar file
java -jar ./build/vereadores.jar ./input/data/candidatos.csv ./input/data/partidos.csv 15/11/2020;
vereadores.jar with the compiled classes and a MANIFEST.mf file
The MANIFEST file will define the main class
The main method of the Main class must receive the following parameters:
-candidates_file: the path to the candidates file
-parties_file: the path to the parties file
-election_date: the election date
The execution command is:
java -jar vereadores.jar <candidates_file> <parties_file> <election_date>
build.xml file