Re: propertyregex question

2010-06-22 Thread Scot P. Floess
Try select="\1" On Tue, 22 Jun 2010, Andy2008 wrote: Here's my input abc/long/distance I want to get abc back. Here's my code but I got back the whole string (abc/long/distance) Do you have any ideas? Thanks -- Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home

propertyregex question

2010-06-22 Thread Andy2008
Here's my input abc/long/distance I want to get abc back. Here's my code but I got back the whole string (abc/long/distance) Do you have any ideas? Thanks -- View this message in context: http://old.nabble.com/propertyregex-question-tp28966275p28966275.html Sent from the Ant - Users mail

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Michael Ludwig
Matt Benson schrieb am 22.06.2010 um 11:06 (-0500): > > I'm probably missing something, but what's wrong with the following, > > which is provided by Ant out of the box: > > Provided by Java out of the box, if I'm not mistaken. :) Indeed, it is all of *Java's* System.getProperties() which is in

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Matt Benson
On Jun 22, 2010, at 11:03 AM, Michael Ludwig wrote: > Dean Schulze schrieb am 22.06.2010 um 08:25 (-0700): > >> >> >> > >> I need a cross-platform way to assign a user.name property in Ant. > >> Is there some way that I can read the username from the environment in >> a cross-platform way

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Vinayak
To put all together; I think env.USER will return username on mac systems as well.

Re: Need cross platform way of assigning users name to a property

2010-06-22 Thread Michael Ludwig
Dean Schulze schrieb am 22.06.2010 um 08:25 (-0700): > > > > I need a cross-platform way to assign a user.name property in Ant.  > Is there some way that I can read the username from the environment in > a cross-platform way given that it has to happen at the top of the > script? I'm probab

RE: Need cross platform way of assigning users name to a property

2010-06-22 Thread John W. Lewis
I had a similar problem: -Original Message- From: Dean Schulze [mailto:dean_w_schu...@yahoo.com] Sent: Tuesday, June 22,

Need cross platform way of assigning users name to a property

2010-06-22 Thread Dean Schulze
My build.xml starts with the following lines:     This imports a build.local.xml file that holds machine-specific properties for each developer.   The problem is that this does not work on UNIX because the username is in env.USER in unix.  I need a cross-platform way to assign a user.name prop

Re: build process doesn't stop when an ant task failed

2010-06-22 Thread David Weintraub
Try logging in as the Hudson user, going into the workspace where this build is done, and running the various commands manually. See if it Ant continues to build when an error occurs. Are you running the Ant build.xml directly from Hudson? Are you using any command line parameters for Ant? On Tue

AW: About

2010-06-22 Thread Jan.Materne
Havent heard from . Have a look at elements and search for an implementing class or for defining s or s. Jan >-Ursprüngliche Nachricht- >Von: youhaodeyi [mailto:youhaod...@gmail.com] >Gesendet: Montag, 21. Juni 2010 17:14 >An: user@ant.apache.org >Betreff: About > > >What is used fo

AW: build process doesn't stop when an ant task failed

2010-06-22 Thread Jan.Materne
Are you sure that Ant continues building? Usually Ant stops if a task gets an error ... Maybe a wrapper script does continue working ... Jan >-Ursprüngliche Nachricht- >Von: Zhu, Eddy-P65906 [mailto:eddy@gdc4s.com] >Gesendet: Dienstag, 1. Juni 2010 19:57 >An: user@ant.apache.org >

AW: fileset and java tasks?

2010-06-22 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Jakob Fix [mailto:jakob@gmail.com] >Gesendet: Freitag, 4. Juni 2010 23:16 >An: Ant Users List >Betreff: fileset and java tasks? > >Hi, I'd like to execute a java task on each file in a given directory, >but I can't see how to comb