Re: Enabling assert

2006-09-20 Thread Gilbert Rebhan
Hi, i assume you're already using antcontrib [1], as vanilla ant has no task and after that Regards, Gilbert [1]http://ant-contrib.sourceforge.net/ Bala Paranj wrote: > How do I enable the assert in my build script? I am getting the error message > "assert is a > keyword, and may not

Re: Enabling assert

2006-09-20 Thread Dominique Devienne
How do I enable the assert in my build script? I am getting the error message "assert is a keyword, and may not be used as an identifier" when I compile the file with assert statement. TIA. This is a Javac error message, not an Ant one. The sources you compile either use JDK 1.4+ asserts, and

Enabling assert

2006-09-20 Thread Bala Paranj
How do I enable the assert in my build script? I am getting the error message "assert is a keyword, and may not be used as an identifier" when I compile the file with assert statement. TIA. - To unsubscribe, e-mail: [EMAIL PROTE

RE: any suggestions how to work with nunit?

2006-09-20 Thread Mark Modrall
Hi Stefan... On the broken xml issues, those seem to be strictly bugs with nunit-console (in my opinion); bugs would have to be filed with them. Nunit-console provides these switches that are supposed to control the output generation and I just don't see the sense in having /xmlConsole or

Re: Customizable handling of unset properties

2006-09-20 Thread Marcus Lindblom
Ok. Someone had provided a patch in issue 40093, which adresses this, so I'll just wait for that one to be merged into ant proper then. The PropertyHelper class is indeed rather confusing. Thanks, /Marcus Peter Reilly wrote: Replacement of propertyhelper is broken in current ant: see: http://

RE: HTML tags inside ANT..?

2006-09-20 Thread anandsrider . d
Jan/David Thanx for all ur support. Will try any one way and get back to u on tht. David... I understood ur code.As u told, Really a bugging thing to handle tht way -- anand

Re: Customizable handling of unset properties

2006-09-20 Thread Peter Reilly
Replacement of propertyhelper is broken in current ant: see: http://issues.apache.org/bugzilla/show_bug.cgi?id=40093 and http://issues.apache.org/bugzilla/show_bug.cgi?id=25998 However some people have done it see: http://www.efanomars.net/pf/ My feeling that the replacement of propertyhelper was

Re: one more noob question : Eclipse & Tomcat Ant tasks

2006-09-20 Thread Pierre Goupil
2006/9/20, Steve Loughran <[EMAIL PROTECTED]>: have you considered just using the command? Tomcat now supports deploy-by-copy, so copying something into the target dir is all you need. Yes, that just works fine, but I find it a bit frustrating not to manage to have the dedicated tasks wor

Re: Customizable handling of unset properties

2006-09-20 Thread Marcus Lindblom
Marcus Lindblom wrote: Dominique Devienne wrote: I am sure other Ant committers will feel differently. I do not see a big urge to implement this. On the other side, why not ? [snip} Righto. I'll see what I can come up with then. :) I got response on the bugzilla issue, that there is a Proper

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
I really should, shouldn't I! It was something that until you said it had slipped through my mind. Thanks for reminding me! /Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 September 2006 10:39 To: user@ant.apache.org Subject: AW: HTML tags in

AW: HTML tags inside ANT..?

2006-09-20 Thread Jan.Materne
Have you tried using a filtersfile? Jan >-Ursprüngliche Nachricht- >Von: David Corley (AT/LMI) [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 20. September 2006 10:17 >An: [EMAIL PROTECTED]; Ant Users List >Betreff: RE: HTML tags inside ANT..? > >Whoops. The last mail was empty. Sorry a

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
Whoops. The last mail was empty. Sorry about that. As for composing the HTML inside Ant, I've done that too, but be warned it ain't pretty! What I did was have a standard html file that I used as a mail template. Within that html file, I had several filter keys (such as @date@, @

Passing command line jmvargs to a forked JVM

2006-09-20 Thread hjgjhg ijykj
Hi, I'm using a task which creates a forked JVM to do its job. Is it possible to specify command line java args (i.e -Dproperty=value) which will be passed on to the forked JVM? In other words, when ant creates a new JVM, does it also initialize its environment properties? Thanks for your help,

RE: HTML tags inside ANT..?

2006-09-20 Thread anandsrider . d
Jan/David, Thanx for ur supportive suggestions. Real scenario here is Once the build is thru' am checking for Build Success/Failure in a shell script . Depending on tht the shell script call seperate mail tasks inside same build.xml for Success/Failure.Presently I want to include some HTM

RE: only basename no filepath ?!

2006-09-20 Thread Rebhan, Gilbert
Hi, Matt /* Gilbert, are you basically saying you need all the files from a certain directory that are NOT already in the path you've constructed? */ yes. thanks ! :-) your suggestion works for me =

RE: HTML tags inside ANT..?

2006-09-20 Thread David Corley \(AT/LMI\)
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/containi