<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Courier New \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Times New Roman \, serif \;";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EstiloDeEmail17
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:black;}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:Consolas;}
span.EstiloDeEmail20
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:712922351;
        mso-list-template-ids:1258725728;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=PT-BR link=blue vlink=purple>

<div class=Section1>

<div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>it’s perfect indeed.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Thanks shane!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:black'><o:p>&nbsp;</o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Ken Finnigan
[mailto:ken@kenfinnigan.me] <br>
<b>Enviada em:</b> quinta-feira, 3 de março de 2011 09:25<br>
<b>Para:</b> Shane Bryzak<br>
<b>Cc:</b> José Rodolfo Carrijo de Freitas; seam-dev@lists.jboss.org<br>
<b>Assunto:</b> Re: [seam-dev] SEAMINTL-27<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Genius Shane!<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>Was not aware of that annotation.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>José, I think that is the best approach, marking joda-time
classes with @Requires for DateTimeZone. Then developer just needs to override
optional dependency to activate it.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal>Ken<br>
<br>
Sent from my iPhone<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
On Mar 3, 2011, at 7:05, Shane Bryzak &lt;<a href="mailto:sbryzak@redhat.com">sbryzak@redhat.com</a>&gt;
wrote:<o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal>Solder also has a @Requires annotation which you might find
useful - it allows you to specify a class name, and if that class is found on
the classpath then that bean will be installed.<br>
<br>
On 03/03/11 22:00, José Rodolfo Carrijo de Freitas wrote: <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>Morning guys,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>I’m working at the issue <a
href="https://issues.jboss.org/browse/SEAMINTL-27">https://issues.jboss.org/browse/SEAMINTL-27</a>
and the problem here is caused by an optional dependency.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:blue;background:white'>&lt;</span><span lang=EN-US style='font-size:10.0pt'>dependency&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.4pt;text-indent:.6pt'><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:blue;
background:white'>&lt;</span><span lang=EN-US style='font-size:10.0pt'>groupId&gt;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black;
background:white'>joda-time</span><span lang=EN-US style='font-size:10.0pt'>&lt;/</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";background:white'>groupId<span
style='color:blue'>&gt;<br>
&lt;</span><span style='color:#A31515'>artifactId</span></span><span
lang=EN-US style='font-size:10.0pt'>&gt;</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black;background:white'>joda-time</span><span
lang=EN-US style='font-size:10.0pt'>&lt;/</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";background:white'>artifactId<span
style='color:blue'>&gt;</span></span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New ;","serif"'><br>
<span style='color:blue;background:white'>&lt;</span><span style='background:
white'>optional<span style='color:blue'>&gt;</span><span style='color:black'>true</span><span
style='color:blue'>&lt;/</span><span style='color:#A31515'>optional</span><span
style='color:blue'>&gt;</span></span></span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:blue;background:white'>&lt;/</span><span lang=EN-US style='font-size:
10.0pt'>dependency&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'>So, I was talking with ken, and there´re two suggested approaches:</span><o:p></o:p></p>

<ol style='margin-top:0cm' start=1 type=1>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><span lang=EN-US
     style='font-size:12.0pt;font-family:"Times New Roman , serif ;","serif"'>Mark
     the implementation classes that use joda-time with @Veto and require the
     developer to override that setting through XML Config if they want to use
     them</span><o:p></o:p></li>
 <li class=MsoNormal style='mso-list:l0 level1 lfo1'><span lang=EN-US
     style='font-size:12.0pt;font-family:"Times New Roman , serif ;","serif"'>Mark
     the set of JDK dateTime and joda-time classes as two Alternative options
     and require the developer to specify which one to use.</span><o:p></o:p></li>
</ol>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>What
option do you think is the better approach? Do you have any other idea?</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>Either
way we require the developer to say what he wants to use, This could be useful
in some situations, but I guess that most of times, people just want to use the
feature regarding what seam uses in its back.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'>What
do you think?</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>seam-dev mailing list<o:p></o:p></pre><pre><a
href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><o:p></o:p></pre><pre><a
href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a><o:p></o:p></pre>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

</div>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev">https://lists.jboss.org/mailman/listinfo/seam-dev</a><o:p></o:p></span></p>

</div>

</blockquote>

</div>

</div>

</body>

</html>