[Bug 40] New: Impossible to run demo following the instructions on the demo page

http://bugzilla.qos.ch/show_bug.cgi?id=40 Summary: Impossible to run demo following the instructions on the demo page Product: logback-site Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: major Priority: P3 Component: Documentation AssignedTo: logback-dev@qos.ch ReportedBy: xavier.hanin@gmail.com I've followed the instructions on the demo page and have an error when running the following command: mvn package jetty:run See error below. It seems that it assumes we have already installed logback classic and logback access, but there is no such information on the demo page. Error: Missing: ---------- 1) ch.qos.logback:logback-access:jar:0.9-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=ch.qos.logback -DartifactId=logback-access \ -Dversion=0.9-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) ch.qos.logback:logback-demo:war:1.0 2) ch.qos.logback:logback-access:jar:0.9-SNAPSHOT 2) ch.qos.logback:logback-classic:jar:0.9-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=ch.qos.logback -DartifactId=logback-classic \ -Dversion=0.9-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) ch.qos.logback:logback-demo:war:1.0 2) ch.qos.logback:logback-classic:jar:0.9-SNAPSHOT ---------- 2 required artifacts are missing. for artifact: ch.qos.logback:logback-demo:war:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=40 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from noreply.sebastien@qos.ch 2007-02-05 11:19 ------- Hello Xavier, Thanks for your report, The version number should not be a -SNAPSHOT version, I've changed it to 0.9 and committed a correct pom.xml. However, while the logback jars are available from maven's central repository (repo1.maven.org/maven2), they are not available on at least one mirror (http://mirrors.dotsrc.org/maven2). If you still experience downloading problems, try to access directly the central repo instead of a mirror. I've run through the steps again with an empty local repository and it worked fine, so I'm setting this bug as fixed. Sébastien -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=40 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #2 from noreply.ceki@qos.ch 2007-02-05 11:53 ------- Hello Sebastien, I think Xavier's report shows that logback-demo requires the compilation of logback-* using Maven. The whole idea before the logback-demo project is to demonstrate logback without too much hassle for the user. Let's discuss this offline to see whether we can come up with something better. (As such, I am reopening the report). -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=40 ------- Comment #3 from xavier.hanin@gmail.com 2007-02-05 12:02 ------- It works fine now, without any hassle as soon as you have maven2 installed and a pretty good network connection (why is eclipse jdt core (3MB+) required ???). So as far as I'm concerned this bug can be considered fixed. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=40 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #4 from noreply.sebastien@qos.ch 2007-02-05 12:26 ------- Xavier, Nice to see that you've been able to run the demo successfully. I've seen your other bug report about Markers and configuration reload. I'll study all that a bit later today. Ceki, Based on our discussion today, I guess that I can re-fix the bug :) Sébastien -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch