$B>.NS(B $B$5$s!"(B<br><br>Thanks for your reply..<br><br><span style="background-color: rgb(255, 255, 255);">@ConversionRule(&quot;&#39;lastupdated&#39;:@projectmgnt.util.CalcUtil@getCurrentDate(),&quot; +</span><br style="background-color: rgb(255, 255, 255);">

<span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &quot;&#39;basiccontractexcecutiondate&#39;:@projectmgnt.util.CalcUtil@convertDate(basiccontractexcecutiondate),&quot; +</span><br style="background-color: rgb(255, 255, 255);">

<span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &quot;&#39;registereddate&#39;:registereddate==null?@projectmgnt.util.CalcUtil@getCurrentDate():registereddate&quot;)</span><br style="background-color: rgb(255, 255, 255);">

<span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp; public void convert(AbstractCustomermasterPage src,Customermaster dest);</span><br><br><br>But i want the above lines to execute in djunit.The above line execute without error while running junit.<br>
<br>Is there any special settings needed for djunit?<br><br>Regards,<br>$B%H%^%9(B<br><br><br><div class="gmail_quote">2009/6/20 Koichi Kobayashi <span dir="ltr">&lt;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
Date: &nbsp; &nbsp;Fri, 19 Jun 2009 14:35:16 +0900<br>
From: &nbsp; &nbsp;thomas &lt;<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>&gt;<br>
To: &nbsp; &nbsp; &nbsp;<a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:17790] [Teeda$B!<(Bdjunit Error in dxo]$B$K$D$$$F(B<br>
<div class="im"><br>
&gt; if i change my conversion rule like this there is no problem<br>
<br>
</div>Please try the following<br>
<div class="im"><br>
@ConversionRule(<br>
 &nbsp;&quot;&#39;lastupdated&#39;:@projectmgnt.util.CalcUtil@getCurrentDate(),&quot; +<br>
</div> &nbsp;&quot;&#39;basiccontractexcecutiondate&#39;:@projectmgnt.util.CalcUtil@convertDate(&#39;2008/11/11&#39;),&quot; +<br>
<div class="im"> &nbsp;&quot;&#39;registereddate&#39;:registereddate==null?@projectmgnt.util.CalcUtil@getCurrentDate():registereddate&quot;)<br>
public void convert(AbstractCustomermasterPage src,Customermaster dest);<br>
<br>
</div>and<br>
<div class="im"><br>
@ConversionRule(<br>
 &nbsp;&quot;&#39;lastupdated&#39;:@projectmgnt.util.CalcUtil@getCurrentDate(),&quot; +<br>
 &nbsp;&quot;&#39;basiccontractexcecutiondate&#39;:@projectmgnt.util.CalcUtil@convertDate(basiccontractexcecutiondate)&quot;<br>
</div><div class="im">public void convert(AbstractCustomermasterPage src,Customermaster dest);<br>
<br>
</div>The first case changed an argument to the literal.<br>
The second case deleted the third rule.<br>
It is a point not to change two places at the same time.<br>
<br>
<br>
--<br>
&lt;component name=&quot;koichik&quot;&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;email&quot;&gt;&quot;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>&quot;&lt;/property&gt;<br>
&lt;/component&gt;<br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</blockquote></div><br>