<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
ekkehard schrieb:
<blockquote cite="mid:48FB1B62.80909@gentz-software.de" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
Ceki Gulcu schrieb:
  <blockquote cite="mid:48F60F96.5040307@qos.ch" type="cite">
    <pre wrap="">ekkehard wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">perhaps the problem is that my BundleMarkerConverter class was not found -
all runs under OSGI
    </pre>
    </blockquote>
    <pre wrap=""><!---->
Yes, that is probably the cause of the problem. I have committed changes for 
better error reporting. Could you build logback from the trunk?

It should be as easy as:

  svn co <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://svn.qos.ch/repos/logback/trunk/">http://svn.qos.ch/repos/logback/trunk/</a> target_directory
  cd target_diurectory
  mvn install

  </pre>
  </blockquote>
I tried it but got an error:<br>
  <br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD ERROR<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Failed to resolve artifact.<br>
  <br>
Missing:<br>
----------<br>
1) org.slf4j:slf4j-api:jar:1.5.4-SNAPSHOT<br>
  <br>
&nbsp; Try downloading the file manually from the project website.<br>
  <br>
&nbsp; Then, install it using the command: <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mvn install:install-file -DgroupId=org.slf4j
-DartifactId=slf4j-api \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Dversion=1.5.4-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file<br>
  <br>
&nbsp; Path to dependency: <br>
&nbsp; &nbsp;&nbsp;&nbsp; 1) ch.qos.logback:logback-classic:jar:0.9.10-SNAPSHOT<br>
&nbsp; &nbsp;&nbsp;&nbsp; 2) org.slf4j:slf4j-api:jar:1.5.4-SNAPSHOT<br>
  <br>
----------<br>
1 required artifact is missing.<br>
  <br>
for artifact: <br>
&nbsp; ch.qos.logback:logback-classic:jar:0.9.10-SNAPSHOT<br>
  <br>
from the specified remote repositories:<br>
&nbsp; central (<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://repo1.maven.org/maven2">http://repo1.maven.org/maven2</a>)<br>
  <br>
----------------------------------------------------------------------------------------------------<br>
  <br>
doesnt matter - I found the solution for OSGI:<br>
  <br>
I had to add a package-import-dependency to<br>
logback-classic bundle:<br>
  <br>
import-package: org.ekkehard.logback.util<br>
  <br>
now my org.ekkehard.logback.util.BundleMarkerConverter was found and
works well :-)<br>
  <br>
</blockquote>
BTW: it works using import-package, but then PDE detects a cycle,<br>
the better way is to use org.ekkehard.logback.util - bundle as a
fragment bundle of logback-classic<br>
(I'll report about this in my next blog entry)<br>
<br>
ekke<br>
<blockquote cite="mid:48FB1B62.80909@gentz-software.de" type="cite">BTW:
I started with logback-test.xml and <br>
&lt;configuration debug="true"&gt;<br>
would be great if you could print also if conversionRules were well or
wrong<br>
  <br>
thx<br>
  <br>
ekke<br>
  <br>
  <div class="moz-signature">-- <br>
  <p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
 face="Verdana, sans-serif"> <font size="4">ekkehard gentz<br>
  </font> <font size="3"> software-architect<br>
erp-consultant<br>
  </font> <font size="2">max-josefs-platz 30, D-83022 rosenheim,
germany<br>
homeoffice (1+1 VoIP): +49 8031 2068 325<br>
mobile (iPhone): +49 151 19424929<br>
  <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="mailto:ekkehard@gentz-software.de">mailto:ekkehard@gentz-software.de</a><br>
homepage: <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.gentz-software.de">http://www.gentz-software.de</a><br>
opensource: <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://ekkehard.org">http://ekkehard.org</a><br>
blog (en): <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
blog (de): <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://ekkes-ecke.org">http://ekkes-ecke.org</a><br>
skype: ekke.gentz<br>
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490<br>
  </font> </font> </p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Logback-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a>
<a class="moz-txt-link-freetext" href="http://qos.ch/mailman/listinfo/logback-user">http://qos.ch/mailman/listinfo/logback-user</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
 face="Verdana, sans-serif"> <font size="4">ekkehard gentz<br>
</font> <font size="3"> software-architect<br>
erp-consultant<br>
</font> <font size="2">max-josefs-platz 30, D-83022 rosenheim, germany<br>
homeoffice (1+1 VoIP): +49 8031 2068 325<br>
mobile (iPhone): +49 151 19424929<br>
<a class="moz-txt-link-freetext" href="mailto:ekkehard@gentz-software.de">mailto:ekkehard@gentz-software.de</a><br>
homepage: <a class="moz-txt-link-freetext" href="http://www.gentz-software.de">http://www.gentz-software.de</a><br>
opensource: <a class="moz-txt-link-freetext" href="http://ekkehard.org">http://ekkehard.org</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
blog (de): <a class="moz-txt-link-freetext" href="http://ekkes-ecke.org">http://ekkes-ecke.org</a><br>
skype: ekke.gentz<br>
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>