Re: XSLT task fail rerouting

2008-04-16 Thread Steve Loughran
Madunic, Marijan (RBI-US) wrote: I've been looking at the attributes available to the XSLT task on do not see an attribute to define what to do if the xslt task fails. A bit of background first. Myself and a colleague are parsing 10s of thousands of XML files and every now and then an ill fo

XSLT task fail rerouting

2008-04-16 Thread Madunic, Marijan (RBI-US)
I've been looking at the attributes available to the XSLT task on do not see an attribute to define what to do if the xslt task fails. A bit of background first. Myself and a colleague are parsing 10s of thousands of XML files and every now and then an ill formed XML doc comes along. When this

Re: Is recursive property evaluation supported?

2008-04-16 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > On Mon, Apr 14, 2008 at 6:11 PM, Shawn Castrianni > <[EMAIL PROTECTED]> wrote: > > So I was surprised my recursive property > evaluation didn't work. > > It's not. But there's a patch for it in BugZilla, > and you may be able > to add it to yo

Re: taskdef not receiving the classpath properly?

2008-04-16 Thread Kathryn Rivard
On Wed, Apr 16, 2008 at 7:19 AM, Steve Loughran <[EMAIL PROTECTED]> wrote: > It was probably the RPM version getting in ahead of anything else...we > changed the scripts in Ant1.7 so your own installation gets in there first. Whatever you changed, it didn't work 100% for my system. To get Ant1.

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
On 16/04/2008, Steve Loughran <[EMAIL PROTECTED]> wrote: > > I've given up with the xslt task now; > > Need it to handle a different parser (xercesImpl) for xIncludes > > and Apache resolver.jar for catalogs - I don't think > > the xslt task can hack that? > > > > -you should be using xercesImpl

Re: arg and jvmarg

2008-04-16 Thread Steve Loughran
Dave Pawson wrote: On 16/04/2008, Steve Loughran <[EMAIL PROTECTED]> wrote: Saxon XSLT processor. -o filename is the parameter. I'd always thought of it as one param. Name (-o) value (filename) Ant seems to view it differently. Its two separate parameters when you break up the command line b

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
On 16/04/2008, Steve Loughran <[EMAIL PROTECTED]> wrote: > > Saxon XSLT processor. > > -o filename is the parameter. I'd always thought of it as one param. > > Name (-o) > > value (filename) > > Ant seems to view it differently. > > > > Its two separate parameters when you break up the command li

Re: arg and jvmarg

2008-04-16 Thread Steve Loughran
Dave Pawson wrote: On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > I seem to have found just the opposite? > line="-o filename" works fine, but as was pointed out, > if I want to use value I have to use two arg elements? Your example has 2 arguments: '-o' and 'filename'. I recommen

Re: Issue with time zone in ANT

2008-04-16 Thread Steve Loughran
ms harsha wrote: Hi, I am adding some entry in the properties file regarding the date and time. When i execute this above line in my laptop its showing 04/14/2008:11:31:21 IST But in my desktop it shows 04/14/2008:11:31:21 GMT+5:30 I want both machine to print IST what i need to do pleas

Re: taskdef not receiving the classpath properly?

2008-04-16 Thread Steve Loughran
Kathryn Rivard wrote: Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7 that makes you use the rpm version) fixed the problem -- no taskdef classpath, no CLASSPATH environment variable necessary, it works exactly how I want it to. It was probably the RPM version gettin

Re: Can zip task to create a zip archive with password?

2008-04-16 Thread Steve Loughran
CheeYang Chau wrote: Hi, I have read everything about zip task but find no way to create password protected zip archive. Is there possible to do so with zip task? 1. no, not yet. You are as usual free to add this feature, the tests and the documentation. I fear this would be hard to test, a

Re: Can zip task to create a zip archive with password?

2008-04-16 Thread Mike Stewart
Not that I could find as zip doesn't have a command line argument for passwords (unless you buy the enterprise version) but you can download Alzip from http://www.altools.com/Downloads/ALZip.aspx and use a command like which has a command line which accepts a password with the -p switch.

Can zip task to create a zip archive with password?

2008-04-16 Thread CheeYang Chau
Hi, I have read everything about zip task but find no way to create password protected zip archive. Is there possible to do so with zip task? -- Best regards, Chau Chee Yang E Stream Software Sdn Bhd URL: www.sql.com.my SQL Financial Accounting

Re: NullPointerException with ant Javac() api

2008-04-16 Thread Paolo
Thank you very much! that did the trick! And thanks for the link! Paolo On Wed, 16 Apr 2008 07:24:36 +0200 <[EMAIL PROTECTED]> wrote: > Your task doesnt have a reference to your project, therefore > task.getProject() returns null > > Try setting the project reference > task.setProject(