Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove log output for CLI #3

Open
kurzum opened this issue May 8, 2014 · 1 comment
Open

remove log output for CLI #3

kurzum opened this issue May 8, 2014 · 1 comment
Assignees

Comments

@kurzum
Copy link
Member

kurzum commented May 8, 2014

the old component didn't have log messages if -o turtle was set:
https://github.com/NLP2RDF/software/blob/master/java-maven/implementation/validator/src/main/java/org/nlp2rdf/implementation/validator/ValidateCLI.java#L45

This is so you can do ./validate.jar > result.ttl
Maybe you can copy some stuff from here: https://github.com/NLP2RDF/software/blob/master/java-maven/core/jena/src/main/java/org/nlp2rdf/core/SPARQLValidator.java#L43

@kurzum
Copy link
Member Author

kurzum commented May 13, 2014

One small hint, I just put the log messages on stderr so you can do:

production

java -jar validator-2.0.1-SNAPSHOT-jar-with-dependencies.jar -i ../../../core/jena/src/test/resources/nif-correct-model.ttl > results.ttl

debugging

java -jar validator-2.0.1-SNAPSHOT-jar-with-dependencies.jar -i ../../../core/jena/src/test/resources/nif-correct-model.ttl 2>log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants