RE: question

2003-02-26 Thread Dominique Devienne
It's called backward compatibility, which is also very important, perhaps more so than consistency, at least for the Ant project. --DD >From Project.java: /** * Adds a reference to the project. * * @param name The name of the reference. *Must not be null. * @pa

RE: question

2003-02-26 Thread Steve Cohen
So I could initially define it empty and then define it otherwise as needed. So it works the opposite as properties. With properties, you define it as needed (or not) first, and then if you need a default value, attempt to redefine. If already defined, the redefine does not take place. But wi

RE: question

2003-02-26 Thread Dominique Devienne
The re-definition takes place, with a warning on the console. --DD -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:57 PM To: Ant Users List Subject: RE: question I had been hoping to write a buildfile, not a task. The buildfile would

RE: question

2003-02-26 Thread Steve Cohen
I had been hoping to write a buildfile, not a task. The buildfile would contain a generic target, callable from a number of other buildfiles, but it should not blow up just because a refid is not defined there. I want it to do nothing if the reference has not been defined. I don't want to have t

Re: question

2003-02-26 Thread Erik Hatcher
Sorry... I guess I'm confused. I thought originally you were writing a custom task and wanted it to be flexible about whether a datatype existed or not. But, yes, the is in 1.6, not 1.5. Erik On Wednesday, February 26, 2003, at 12:56 PM, Steve Cohen wrote: Ah, so you're talking about writ

RE: Removing whitespace in the code

2003-02-26 Thread Alexey Solofnenko
I think you can copy files and use "-pi.bak" option to execute "in-place" update with ".bak" backup prefix. The command can be executed using task. - Alexey. -- { http://trelony.cjb.net/ } Alexey N. Solofnenko Pleasant Hill, CA (GMT-8 usually) -Original Message- From: Lee, Michael.M [

RE: Removing whitespace in the code

2003-02-26 Thread Lee, Michael.M
how about doing this command for the all files and sub directories? and put the output in a separate folder? is it possible? -Original Message- From: Alexey Solofnenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 11:41 AM To: 'Ant Users List' Subject: RE: Removing whites

RE: question

2003-02-26 Thread Dominique Devienne
Just checked, and it's only on the HEAD (so to become official in Ant 1.6). --DD -Original Message- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 12:07 PM To: Ant Users List Subject: RE: question Was IsReference.java newly added to the tree? I don't fin

RE: question

2003-02-26 Thread Steve Cohen
Was IsReference.java newly added to the tree? I don't find it in the distribution I am working with ( a cvs update from the 1.5 branch as of about 2 weeks ago). If it's been added, where on the source tree is it? -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Wedn