This Java project implements a Younicos programming task.
- Java 7 or higher
- Maven 3
$> mvn package
$> java -jar target/Younicos-<...>-jar-with-dependencies.jar -h
$> java -jar target/Younicos-<...>-jar-with-dependencies.jar -m 6 -f src/test/resources/Profile1.xml
$> java -jar target/Younicos-<...>-jar-with-dependencies.jar -m 6 -f src/test/resources/Profile2.xml
- Reconsider exception handling
- Use logging output instead of
System.out
orSystem.err
with customizable level, file and/or STDERR - Better error messages when validation of power profile fails: give reason and position in file
- Validate again
.xsd
schema (either from URL or as additional option of command line) - Integration tests