[seam-issues] [JBoss JIRA] (SEAMMAIL-37) Preventing FreeMarker and Velocity from being installed

Cody Lerum (JIRA) jira-events at lists.jboss.org
Mon Jul 30 13:12:06 EDT 2012


     [ https://issues.jboss.org/browse/SEAMMAIL-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cody Lerum closed SEAMMAIL-37.
------------------------------

      Assignee: Cody Lerum
    Resolution: Won't Fix

    
> Preventing FreeMarker and Velocity from being installed
> -------------------------------------------------------
>
>                 Key: SEAMMAIL-37
>                 URL: https://issues.jboss.org/browse/SEAMMAIL-37
>             Project: Seam Mail
>          Issue Type: Bug
>          Components: templating
>    Affects Versions: 3.1.1.Final
>            Reporter: Thomas Güldner
>            Assignee: Cody Lerum
>
> I've packaged SeamMail into an ear. Loaging my ejb-jar and SeamMail rises some exceptions like 
> {code}
> Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: Error .oading class org.jboss.seam.mail.templating.freemarker.FreeMarkerTemplate
> {code}
> These exceptions are only info. The deployment doesn't fail but the messages are not good.
> Is there a way to prevent FreemarkerTemplate to be installed? I've tryed to exclude the class using _weld:exluce_ in my beans.xml but doesn't work. 
> It would be fine if the template beans use something like the @Requires annotation or another way to look in the classpath before installing the bean.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the seam-issues mailing list