Commit 61261669 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

Set logback versions to 1.2.10

parent b76c27cf
Pipeline #400287 passed with stage
in 17 seconds
......@@ -146,5 +146,5 @@ The alignment server is then available through HTTP with: http://localhost:8089/
For debugging, using logback, do:
~~~~
$ java -cp lib/slf4j/logback-core-1.2.3.jar:lib/slf4j/logback-classic-1.2.3.jar:lib/alignsvc.jar -Dlogback.configurationFile=logback.xml fr.inrialpes.exmo.align.service.AlignmentService -Dwndict=../WordNet-3.1/dict -H
$ java -cp lib/slf4j/logback-core-1.2.10.jar:lib/slf4j/logback-classic-1.2.10.jar:lib/alignsvc.jar -Dlogback.configurationFile=logback.xml fr.inrialpes.exmo.align.service.AlignmentService -Dwndict=../WordNet-3.1/dict -H
~~~~
......@@ -10,8 +10,8 @@
<include name="**/*.jar"/>
<!-- several useless (and may be harmful) things at the moment -->
<exclude name="seals/seals-omt-client.jar" />
<!--exclude name="slf4j/logback-core-1.2.3.jar" />
<exclude name="slf4j/logback-classic-1.2.3.jar" /-->
<!--exclude name="slf4j/logback-core-1.2.10.jar" />
<exclude name="slf4j/logback-classic-1.2.10.jar" /-->
</fileset>
</path>
......
......@@ -120,7 +120,7 @@ resulting output
When adding some logger implementation in the classpath,
e.g., <a href="http://logback.qos.ch/">logback</a>, it will return:
<div class="terminal">
$ java -cp lib/slf4j/logback-core-1.0.9.jar:lib/slf4j/logback-classic-1.0.9.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.EvalAlign -i fr.inrialpes.exmo.align.impl.eval.SemPRecEvaluator file:test/output/bibref2.rdf file:test/output/bibref.rdf
$ java -cp lib/slf4j/logback-core-1.2.10.jar:lib/slf4j/logback-classic-1.2.10.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.EvalAlign -i fr.inrialpes.exmo.align.impl.eval.SemPRecEvaluator file:test/output/bibref2.rdf file:test/output/bibref.rdf
13:24:09.191 [main] INFO f.i.e.a.impl.eval.SemPRecEvaluator - Created one SemPREvaluator
13:24:09.601 [main] DEBUG f.i.e.a.impl.eval.SemPRecEvaluator - Computing entailment (semantics: null)
13:24:09.606 [main] DEBUG f.i.e.a.impl.eval.SemPRecEvaluator - http://ebiquity.umbc.edu/v2.1/ontology/publication.owl#publication ----> file:///Java/alignapi/examples/rdf/edu.umbc.ebiquity.publication.owl
......@@ -141,7 +141,7 @@ resulting output
and when configuring the implementation for using a different format, it
will do:
<div class="terminal">
$ java -cp lib/slf4j/logback-core-1.0.9.jar:lib/slf4j/logback-classic-1.0.9.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.EvalAlign -Dlogback.configurationFile=logback.xml -i fr.inrialpes.exmo.align.impl.eval.SemPRecEvaluator file:test/output/bibref2.rdf file:test/output/bibref.rdf
$ java -cp lib/slf4j/logback-core-1.2.10.jar:lib/slf4j/logback-classic-1.2.10.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.EvalAlign -Dlogback.configurationFile=logback.xml -i fr.inrialpes.exmo.align.impl.eval.SemPRecEvaluator file:test/output/bibref2.rdf file:test/output/bibref.rdf
13:32:19.711 [main] INFO f.i.e.a.impl.eval.SemPRecEvaluator - Created one SemPREvaluator
13:32:21.232 [main] WARN f.i.e.a.impl.eval.SemPRecEvaluator - Cannot be translated.
13:32:21.400 [main] WARN f.i.e.a.impl.eval.SemPRecEvaluator - Cannot be translated.
......
......@@ -60,13 +60,14 @@ philosophy of logging.
<p>
As an example, one may
use <a href="https://logback.qos.ch/">logback</a>. For that purpose,
the files logback-core-VERS.jar and logback-classic-VERS.jar have to
the files logback-core-${VERS}.jar and logback-classic-${VERS}.jar have to
be added to the classpath.
</p>
<p>
The result of the first command-line will be:
<div class="terminal">
$ java -cp lib/slf4j/logback-core-1.0.9.jar:lib/slf4j/logback-classic-1.0.9.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:examples/rdf/newsample.rdf -o /tmp/toto.rdf
$ VERS=1.2.10
$ java -cp lib/slf4j/logback-core-${VERS}.jar:lib/slf4j/logback-classic-${VERS}.jar:lib/procalign.jar fr.inrialpes.exmo.align.cli.ParserPrinter file:examples/rdf/newsample.rdf -o /tmp/toto.rdf
17:10:37.578 [main] DEBUG f.i.exmo.align.parser.XMLParser - startElement XMLParser : RDF
17:10:37.581 [main] DEBUG f.i.exmo.align.parser.XMLParser - content XMLParser :
......@@ -97,7 +98,7 @@ instance, if one puts this minimal configuration file logback.xml:
in the current directory, then the result of the command line is:
<div class="terminal">
$ java -cp lib/slf4j/logback-core-1.0.9.jar:lib/slf4j/logback-classic-1.0.9.jar:lib/procalign.jar:lib/procalign.jar:. fr.inrialpes.exmo.align.cli.ParserPrinter file:examples/rdf/newsample.rdf -o /tmp/toto.rdf
$ java -cp lib/slf4j/logback-core-${VERS}.jar:lib/slf4j/logback-classic-${VERS}.jar:lib/procalign.jar:lib/procalign.jar:. fr.inrialpes.exmo.align.cli.ParserPrinter file:examples/rdf/newsample.rdf -o /tmp/toto.rdf
</div>
Note the "." added at the end of the class path for telling where to
find the logback.xml file.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment