RE: Need help writing regular expression??

2005-06-22 Thread Bill Rich
You may have to play around with it to make sure the whitespaces are in the right places, especially the end of the line. I assumed that a name was on a single line terminated by whitespace. You are also assuming that a person can have only two parts to their name. If the last name can have Jr.,

AW: Padding Ant statements with extra for aesthetic reasons only

2005-06-22 Thread Jan.Materne
I dont understand you. The buildfile is simple xml and you could format it like you wnat. Inserted Ok - this is not "beatiful" but (should) be valid (not tested). Format your buildfile as you want and open it in a xml viewer (most browser can). If they are

Padding Ant statements with extra for aesthetic reasons only

2005-06-22 Thread S I
Hi I really don't like statements wrapping around and making my Ant scripts appear so unruly & unformatted. Of course, I tried to insert couple of return carriages/Enters into some of my statements (targets, task etc) and naturally the test failed to NO surprise. Is there any way like Java o

Re: Condition contains question

2005-06-22 Thread EJ Ciramella
Never mind, string and substring are reversed. . . On Jun 22, 2005, at 7:06 PM, EJ Ciramella wrote: I'm trying the following: casesensitive="false"/> But even when the file only contains "FAIL" this still goes through stating: testscp: [loadfile] loading /home/source/en

Condition contains question

2005-06-22 Thread EJ Ciramella
I'm trying the following: casesensitive="false"/> But even when the file only contains "FAIL" this still goes through stating: testscp: [loadfile] loading /home/source/engineering/main/grinderpass.csv into property grinder.results [loadfile] file size = 5 Setting proje

RE: Need help writing regular expression??

2005-06-22 Thread Ninju Bohra
Worked like a charm, thanx. --- "Hardacker, Andrew" <[EMAIL PROTECTED]> wrote: > Untested, but probably something like this: > >input="${full.name}" > regexp="(.).*\s(.*)" > replace="\1\2" > casesensitive="false"/> > > Andy Hardacker >

JAR Manifest - default vs. custom

2005-06-22 Thread Rosenbaum, Thomas
Hello all, I am wondering if anyone has any ideas on how to better solve this ANT issue ... My constraint is that I need a single build file (driven by a single, main project properties file) to process/package any number of different J2EE projects. In all aspects this is working quite well, E

RE: Need help writing regular expression??

2005-06-22 Thread Hardacker, Andrew
Untested, but probably something like this: Andy Hardacker -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 4:55 PM To: Ant Users Group Subject: Need help writing regular expression?? Hello all, Quick question... I need write a regular exp

Re: Need help writing regular expression??

2005-06-22 Thread Alexey N. Solofnenko
I would try to replace all spaces '\s' with empty values. - Alexey. Ninju Bohra wrote: Hello all, Quick question... I need write a regular expression to generate from a full name (i.e. ) Given the string: Ninju Bohra I want: NBohra What is the regular expression (if any) I would use?

Need help writing regular expression??

2005-06-22 Thread Ninju Bohra
Hello all, Quick question... I need write a regular expression to generate from a full name (i.e. ) Given the string: Ninju Bohra I want: NBohra What is the regular expression (if any) I would use? Thanx, Ninju

different classloader behavior

2005-06-22 Thread EJ Ciramella
I've written a custom SQLCondition and use it to monitor a particular field in a db. This condition needs the postgres.jar in the classpath, so, on my local machine (an iMac), the target looks like this: classname="org.archivas.condition.SQLCondition"

Re: Ant 1.6.3+ and JunitReport

2005-06-22 Thread Stephen Nesbitt
Stefan: Thanks much. One question - we are finding that placing Xalan 2 into ANT_LIB requires that we change the name from xalan.jar to ant-xalan.jar to ensure that it is placed on the classpath prior to ant-xalan1.jar. Is this correct? Thanks! On Tuesday 21 June 2005 23:40, Stefan Bodewig w

Re: fileset includes and excludes precedence

2005-06-22 Thread Bijo Alex Thomas
If you don't want anything under "src" directory to be copied, then it's exclude.list=**/src/** that you have to use and not exclude.list=**/src/* The later will only exclude files immediately under "src", but anything deeper under "src" will be not be excluded. Regarding include/exclude preceden

fileset includes and excludes precedence

2005-06-22 Thread Eric Wood
I have a copy task that uses a fileset with "includes" and "excludes" values set as properties. As it turns out, the include list is wildcarded to include all files under the dir, but the excludes is set to exculde all files under a "src" directory. include.list=**/* excludes=**/src/* This tas

Re: exec task failing

2005-06-22 Thread Bijo Alex Thomas
It seems that you are trying to execute the command '/usr/local/bin/php' with the argument 'httpd/htdocs/includes/tests/alltests.php' In that case it should be Attribute 'executable' does not buy any arguments. Regards, Bijo _ Bijo Alex Thomas DSRC, 6, Smith

RE: difference between runtarget and antcall?

2005-06-22 Thread hind.lwahhabi
Thank you for the detailed information.i think i am going to stick to the antcall task. From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Wed 6/22/2005 4:59 PM To: 'Ant Users List' Subject: RE: difference between runtarget and antcall? > From: Burgess,

RE: exec task failing

2005-06-22 Thread Bill Rich
Because of the space in the path (/php httpd/)? There has been much discussion on this forum about spaces in path names. HTH Bill -Original Message- From: blackwater dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 8:11 AM To: Ant Users List Subject: exec task failing I have

exec task failing

2005-06-22 Thread blackwater dev
I have this build file: And it fails with this error: checkout: BUILD FAILED file:/httpd/tcci/dev2/build.xml:5: Execute failed: java.io.IOException: No such file or directory I installed j2dsk1.4.2_08 yesterday and just did which java and it is looking for the java here: /usr/bin

RE: [[**SPAM**]] - RE: Performance difference between 1.6.1 and 1.6.4 (in eclipse) - Bayesian Filter detected spam

2005-06-22 Thread Pollähne . Ullrich
Hi Diminique, this was a good hint. ;-) Now I need to wonder why there are more import Tasks for 1.6.5 than for 1.6.2. I will post details tomorrow. Ullrich. > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 22, 2005 4:50 PM > To: 'Ant Use

Re: Calling a target from within a target and passing arguments...

2005-06-22 Thread Bijo Alex Thomas
Jan is right. Even has less performance overhead compared to as creates and initializes an altogether new project. Regards, Bijo _ Bijo Alex Thomas DSRC, 6, Smith Road, Chennai - 2 Mail: [EMAIL PROTECTED] Website: http://dsrc.com - Original Message - Fr

RE: difference between runtarget and antcall?

2005-06-22 Thread Dominique Devienne
> From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] > > Antcall creates a new project. Runtarget does not. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > 'lo gentle people! > does somebody know the difference between from antcontrib > and . Which means

RE: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-06-22 Thread Dominique Devienne
> From: Pollähne. Ullrich [mailto:[EMAIL PROTECTED] > no one experienced any performance degradations? > > I tested this stuff with plain distributions (from apache.org) and with > ANT 1.6.5. The numbers stay the same. > It does not matter if I use Java 1.4.2_08 or 1.5.0_03. Ullrich, please run y

RE: difference between runtarget and antcall?

2005-06-22 Thread Burgess, Benjamin
Antcall creates a new project. Runtarget does not. Ben Burgess TIAA-CREF -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 9:13 AM To: user@ant.apache.org Subject: difference between runtarget and antcall? 'lo gentle people! does somebo

difference between runtarget and antcall?

2005-06-22 Thread hind.lwahhabi
'lo gentle people! does somebody know the difference between from antcontrib and . Cheers, hind. This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately

How to pipe output to input?

2005-06-22 Thread Peter Nabbefeld
Hello, is it possible to create two java processes (with fork="true") and pipe the output of one process into the other? How? Can I focus a component? Or generate a mouse event? Kind regards Peter Nabbefeld - To unsubscri

RE: iterating through an xmlproperty file

2005-06-22 Thread hind.lwahhabi
Thanks Brian i am gonna give it a try and come back! From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Tue 6/21/2005 6:23 PM To: Ant Users List Subject: Re: iterating through an xmlproperty file XmlTask can iterate through this using the subtask http://www.

RE: Performance difference between 1.6.1 and 1.6.4 (in eclipse)

2005-06-22 Thread Pollähne . Ullrich
Hi, no one experienced any performance degradations? I tested this stuff with plain distributions (from apache.org) and with ANT 1.6.5. The numbers stay the same. It does not matter if I use Java 1.4.2_08 or 1.5.0_03. Ullrich. > > most of the time I use ANT from within eclipse. > With eclips