I'm not sure if Seam relies on slf4j, but JBoss Logging does not. So if
Seam doesn't, that dependency is not needed.
On 08/16/2011 11:50 PM, Shane Bryzak wrote:
Hey guys,
In case you don't know how to do this already, to set up your app to use
jboss-logging in AS7 you need to add the following line to the
META-INF/MANIFEST.MF file in your deployment:
Dependencies: org.jboss.logging,org.jboss.logmanager
The easiest way is to automate this as part of your Maven build by
adding the following snippet to your pom.xml. Here's an example:
<build>
<finalName>seam-university</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<manifestEntries>
<Dependencies>org.slf4j.impl,org.jboss.logging,org.jboss.logmanager</Dependencies>
</manifestEntries>
</archive>
</configuration>
</plugin>
Stuart has also written a great article about class loading in AS7,
which you can find at
https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 - I
recommend that all Seam devs read it.
Thanks to Stuart for the above tip, and for the article. Module leads,
can you please update your examples if they use jboss-logging (most
examples, if not all will most likely use it indirectly through solder).
Shane
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev
--
James R. Perkins
JBoss by Red Hat