You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by "Vianen, Jeroen van" <je...@satama.com> on 2004/08/16 09:20:59 UTC

Two more minor fixes for mailer2

Hi,

Below are two more small fixes for mailer2:

The example does not require jstl.jar and standard.jar:

Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-taglibs-sandbox/mailer2/build.xml,v
retrieving revision 1.2
diff -u -b -r1.2 build.xml
--- build.xml	14 Aug 2004 12:24:34 -0000	1.2
+++ build.xml	16 Aug 2004 07:10:31 -0000
@@ -22,8 +22,10 @@
   <property name="checkRequirements.pre" value="checkRequirements.pre"/>
 
   <target name="examples.pre">
+    <!--
     <copy todir="${build.examples}/WEB-INF/lib" file="${standard.jar}"/>
     <copy todir="${build.examples}/WEB-INF/lib" file="${jstl.jar}"/>
+    -->
     <copy todir="${build.examples}/WEB-INF/lib" file="${activation.jar}"/>
     <copy todir="${build.examples}/WEB-INF/lib" file="${mail.jar}"/>
     <copy todir="${build.examples}/WEB-INF/lib" file="${bcmail.jar}"/>



ReplyToTag did not work:

Index: src/org/apache/taglibs/mailer2/ReplyToTag.java
===================================================================
RCS file:
/home/cvspublic/jakarta-taglibs-sandbox/mailer2/src/org/apache/taglibs/maile
r2/ReplyToTag.java,v
retrieving revision 1.2
diff -u -b -r1.2 ReplyToTag.java
--- src/org/apache/taglibs/mailer2/ReplyToTag.java	14 Aug 2004 12:24:36
-0000	1.2
+++ src/org/apache/taglibs/mailer2/ReplyToTag.java	16 Aug 2004 07:10:34
-0000
@@ -105,7 +105,7 @@
             }
 
             try {
-                mailTag.addReplyTo(new InternetAddress(address, name));
+                mailTag.addReplyTo(new InternetAddress(localAddress,
localName));
             } catch (UnsupportedEncodingException ex) {
                 /* Ignore */
             }


Regards,


Jeroen

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Re: Two more minor fixes for mailer2

Posted by Felipe Leme <ja...@felipeal.net>.
Hi Jeroen,

I could not apply these patches - could you please provide then as a zip
in your site?

-- Felipe


On Mon, 2004-08-16 at 04:20, Vianen, Jeroen van wrote:
> Hi,
> 
> Below are two more small fixes for mailer2:



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org