Re: Mail Attachement Problem

2006-07-21 Thread Arminio Andrei
It works now! Thank you Antoine Cheers, Arminio A. Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: Hello Arminio, try adding in the mail tag a message nested element. address="[EMAIL PROTECTED]" /> delivery of oracle.ddl.jar also, copy mail.jar and activation.jar

Re: Ant on z/OS

2006-07-21 Thread jmaxwell
I have not had a problem running Ant 1.6.5 on Z/OS 1.4 with JDK 1.4.2. I also use the without issue. There is an issue with . It outputs fine to a file, but sends junk when sent to the screen. I do not send any options to the JVM. All my build scripts and properties files are in EBCDIC. My bui

Re: Re: Setting a property based on a command-line parameter

2006-07-21 Thread Dominique Devienne
The nested condition. is just a container for nested conditions. --DD On 7/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: is almost right, but it doesn't seem to have a means of testing the value of a property. Of course, I may be missing something. -- Charles Knell [EMAIL PROTECTED] -

RE: Re: Setting a property based on a command-line parameter

2006-07-21 Thread cknell
is almost right, but it doesn't seem to have a means of testing the value of a property. Of course, I may be missing something. -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Joe Moore <[EMAIL PROTECTED]> Sent: Fri, 21 Jul 2006 12:56:39 -0700 (PDT) To:

Re: Setting a property based on a command-line parameter

2006-07-21 Thread Joe Moore
Charles, Look at the Conditions task, Supported conditions in the Ant manual. This has a test to see if a property is set or not. The Tstamp task has an offset attribute that you can use to change the date either forward or backward. Hopefully that points you in the right direction. Joe Moo

RE: Setting a property based on a command-line parameter

2006-07-21 Thread cknell
I figured out I could do the date arithmetic in the task, so I' still looking for a way to set the value of the argument I'm sending to the SQL query. Is there some construct like setting the value of a variable in XSLT using the element? -- Charles Knell [EMAIL PROTECTED] - email -Ori

Setting a property based on a command-line parameter

2006-07-21 Thread cknell
I'm using Ant to orchestrate a processing pipeline that begins with a query to an Oracle database and ends with a file containing a report in HTML format. One of the reports I have to produce comes in two flavors; daily and weekly. These are distinguished by the lower end of the date range the S

Re: Mail Attachement Problem

2006-07-21 Thread Antoine Levy-Lambert
Hello Arminio, try adding in the mail tag a message nested element. delivery of oracle.ddl.jar also, copy mail.jar and activation.jar to $ANT_HOME/lib, these 2 jars when present make the mail task use an implementation of

Mail Attachement Problem

2006-07-21 Thread Arminio Andrei
Hi all, I try to send a mail with task that will have an .jar attachement. My code is something like this: - The problem is: the .jar file is included in message body. How can I have a real attachement not a big message body

RE: setting mail priority ?!

2006-07-21 Thread Burgess, Benjamin
javax.mail.internet.MimeMessage.addHeader("Importance", "High"); Ben -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 8:25 AM To: user@ant.apache.org Subject: setting mail priority ?! Hi, i would like to extend the mail task to support th

setting mail priority ?!

2006-07-21 Thread Rebhan, Gilbert
Hi, i would like to extend the mail task to support the setting of mail priority (the red flag in outlook) on windows platform. Any ideas ? Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: problem with

2006-07-21 Thread Master, Tariq \(Abbeywood\)
I have done this: Defined my Macro outside of a .This is because it is called from many targets. Within the macro's , I have a (with message!). Works a treat. -Original Message- From: Mayuresh Kshirsagar [mailto:[EMAIL PROTECTED] Sent: 21 July 2006 11:04 To: Ant Users List Subject:

RE: problem with

2006-07-21 Thread Mayuresh Kshirsagar
Basically this is a customized test suite that I am trying out. I tried to define a macro in a different target and then use it in another target. Regards, Mayuresh. -Original Message- From: Mayuresh Kshirsagar Sent: Friday, July 21, 2006 3:31 PM To: 'Ant Users List' Subject: RE: problem

RE: problem with

2006-07-21 Thread Mayuresh Kshirsagar
I see that only if fail is called from the scope of the atg, it fails the build. I have some more customized tasks, even if fail is called from them, it doesn't fail. Is this understanding correct? -Original Message- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Fri

Re: Directly extract tar.gz or bz2 package

2006-07-21 Thread James Fuller
Vincent wrote: Hi , But still needs to steps right? First step : unpack tar.gz to tar Second step : unpack contents of tar I am wondering if we can just one step to do this? Just like shell command tar xzf xxx.tar.gz just look at the command in the manual. --Jim Fuller best regards, Vin

Re: Directly extract tar.gz or bz2 package

2006-07-21 Thread Vincent
Hi , But still needs to steps right? First step : unpack tar.gz to tar Second step : unpack contents of tar I am wondering if we can just one step to do this? Just like shell command tar xzf xxx.tar.gz best regards, Vincent On 7/20/06, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: Y

Ant on z/OS

2006-07-21 Thread Anuradha Weeraman
Hi All, I'm having what appears to be some character set related issues when running Ant on z/OS under USS. I have tracked down the issue to the tag which doesn't seem to be able to pick up environment variables and spews ASCII text when the following IBM_JAVA_OPTIONS variable is defined: -Dfil