[jboss-jira] [JBoss JIRA] Commented: (JBAS-3372) Replace Sun javamail (mail.jar) with classpathx-mail.jar v1.0
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Fri Jul 14 10:50:11 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3372?page=comments#action_12339598 ]
Dimitris Andreadis commented on JBAS-3372:
------------------------------------------
Sun has relicensed from SBCL to CDDL, so the switch may be avoided.
> Replace Sun javamail (mail.jar) with classpathx-mail.jar v1.0
> -------------------------------------------------------------
>
> Key: JBAS-3372
> URL: http://jira.jboss.com/jira/browse/JBAS-3372
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Other
> Reporter: Dimitris Andreadis
> Priority: Critical
> Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.CR1, JBossAS-3.2.8.SP2
>
>
> GNU JavaMail is a free implementation of the JavaMail API specification, version 1.3.
> We want to use it as a replacement for Sun's mail.jar
> The sources can be downloaded from here:
> http://www.gnu.org/software/classpathx/javamail/javamail.html
> Issues with replacement by classpathx-mail:
> jbossws must be patched to use gnu-handlers instead of sun-handlers
> +//import com.sun.mail.handlers.multipart_mixed;
> +import gnu.mail.handler.MultipartMixed;
> +//import com.sun.mail.handlers.text_html;
> +import gnu.mail.handler.TextHtml;
> +//import com.sun.mail.handlers.text_plain;
> +import gnu.mail.handler.TextPlain;
> testsuite/src/main/org/jboss/test/classloader/resource/ResourceTest.java
> must be patched, because it refers to javamail.default.address.map and javamail.default.providers while in classpathx-mail these are named javamail.address.map and javamail.providers in classpathx-mail This change isn't essential to javamail; those files (+javamail.jar) were chosen because they were supposed to be always there. The real purpose of ResouceTest.java is to check access to resouces, so any adequate resources could be the test objects. But the resource test is executed very often and in different contexts. Therefore the adjustment is important for testsuite.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list