Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15923 invoked from network); 20 Sep 2006 07:17:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2006 07:17:49 -0000 Received: (qmail 2293 invoked by uid 500); 20 Sep 2006 07:17:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 1520 invoked by uid 500); 20 Sep 2006 07:17:43 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 1509 invoked by uid 99); 20 Sep 2006 07:17:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Sep 2006 00:17:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([193.180.251.60:37235] helo=mailgw3.ericsson.se) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id C8/10-01762-01BE0154 for ; Wed, 20 Sep 2006 00:17:38 -0700 Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id E97534F0121 for ; Wed, 20 Sep 2006 09:17:32 +0200 (CEST) Received: from esealmw120.eemea.ericsson.se ([153.88.200.79]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Sep 2006 09:17:32 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: HTML tags inside ANT..? Date: Wed, 20 Sep 2006 09:17:31 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HTML tags inside ANT..? Thread-Index: Acbcc67q8j6rBrrgRrKoiCex8nmHlgABvUtAAAJUAzA= From: "David Corley \(AT/LMI\)" To: "Ant Users List" X-OriginalArrivalTime: 20 Sep 2006 07:17:32.0264 (UTC) FILETIME=[D6B55680:01C6DC84] X-Brightmail-Tracker: AAAAAA== X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I agree with Jan, I've a setup pretty close to what you're looking for in use at work. But to do this you'll need to add the javamail and jaf jars to the ant = bootloader classpath... Which you can do more or less as follows: ant -f build.xml -lib /directory/containing/javamail.jar/ -lib = /directory/containing/jaf.jar/ If you don't add the directories containing those two jars, Ant won't = be able to process MIME mail, and will send a UUE encoded message = instead, which will result in your mail showing the HTML source code = instead of the properly formatted content. You can grab javamail here: http://java.sun.com/products/javamail/downloads/index.html And you can grab JAF (JavaBeans Activation Framework) here: http://java.sun.com/products/javabeans/jaf/downloads/index.html Hope this helps, /Dave =09 -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]=20 Sent: 20 September 2006 08:08 To: user@ant.apache.org Subject: AW: HTML tags inside ANT..? I would use an external message-file, because html (message) inside xml = (buildfile) is very hard to maintain ...=20 Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: anandsrider.d@polaris.co.in [mailto:anandsrider.d@polaris.co.in] >Gesendet: Mittwoch, 20. September 2006 07:14 >An: user@ant.apache.org >Betreff: HTML tags inside ANT..? > > >Hi, > >Presently am using ant 1.5.4 version for building java application. I=20 >used to generate mails to Lotus Notes server upon either build success=20 >or failure. > >Presently the mail generated will have some texts and attached error=20 >log file. I want to use HTML tags inside ant and expexting the=20 >generated mail should > >looks like a HTML page. > >Any body have idea abt this, which will be helpful > >rgds, >anand > >This e-Mail may contain proprietary and confidential information and is = >sent for the intended recipient(s) only. >If by an addressing or transmission error this mail has been=20 >misdirected to you, you are requested to delete this mail immediately.=20 >You are also hereby notified that any use, any form of reproduction,=20 >dissemination, copying, disclosure, modification, distribution and/or=20 >publication of this e-mail message, contents or its attachment other=20 >than by its intended recipient/s is strictly prohibited. > >Visit us at http://www.polaris.co.in > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional=20 >commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional = commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org