RE: A way to create empty files

2008-08-12 Thread Matt Benson
- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2008 11:14 AM > To: Ant Users List > Subject: RE: A way to create empty files > > > Or, barring all these other suggestions, you could > just use Ant >= 1.7 and write:

Re: A way to create empty files

2008-08-12 Thread Evgeny
;> > --- Jim Showalter <[EMAIL PROTECTED]> >> wrote: >> > >> >> You could also write a java program to add the >> >> functionality and then add it in via taskdef. >> The >> >> downside is that your build file would not work >>

Re: A way to create empty files

2008-08-12 Thread Matt Benson
could also write a java program to add the > >> functionality and then add it in via taskdef. > The > >> downside is that your build file would not work > on > >> other platforms unless you included the class > file > >> that implements the task. > >

Re: A way to create empty files

2008-08-12 Thread Evgeny
other platforms unless you included the class file >> that implements the task. >> >> Jim >> >> >> -----Original Message- >> From: Evgeny [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, August 12, 2008 3:53 AM >> To: Ant Users List >> Subje

RE: A way to create empty files

2008-08-12 Thread Jim Showalter
-Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 11:14 AM To: Ant Users List Subject: RE: A way to create empty files Or, barring all these other suggestions, you could just use Ant >= 1.7 and write: Note that

RE: A way to create empty files

2008-08-12 Thread EJ Ciramella
I hear ya about following crazy dependency trees. If you don't want targets all over the place, put it in your INIT target. -Original Message- From: Evgeny [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 3:53 AM To: Ant Users List Subject: Re: A way to create empty

RE: A way to create empty files

2008-08-12 Thread Matt Benson
that implements the task. > > Jim > > > -Original Message- > From: Evgeny [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2008 3:53 AM > To: Ant Users List > Subject: Re: A way to create empty files > > > It's not that I am worried it wont

RE: A way to create empty files

2008-08-12 Thread Jim Showalter
PROTECTED] Sent: Tuesday, August 12, 2008 3:53 AM To: Ant Users List Subject: Re: A way to create empty files It's not that I am worried it wont work, just too many targets makes it all messy. And then even when I myself try to decipher what goes where, I need to follow a huge tree of log

Re: A way to create empty files

2008-08-12 Thread Kevin Jackson
Hi, > and just write one statement like dontchangetimestamponexistingfile=true"/> or something. > If you put an RFE in Bugzilla the ant devs may look at it as an addition. The semantics of unix touch though are that if the file exists, update the timestamp, so there may be resistance to change

Re: A way to create empty files

2008-08-12 Thread Evgeny
uld be what people are using to see > what targets exist in a particular build file). > > -Original Message- > From: Evgeny [mailto:[EMAIL PROTECTED] > Sent: Monday, August 11, 2008 9:29 AM > To: Ant Users List > Subject: Re: A way to create empty files > > So th

RE: A way to create empty files

2008-08-11 Thread EJ Ciramella
y, August 11, 2008 9:29 AM To: Ant Users List Subject: Re: A way to create empty files So there is no way to do this other than creating an additional target with an "if" attribute? On Mon, Aug 11, 2008 at 3:09 PM, Kevin Jackson <[EMAIL PROTECTED]> wrote: > I think you wan

Re: A way to create empty files

2008-08-11 Thread Evgeny
So there is no way to do this other than creating an additional target with an "if" attribute? On Mon, Aug 11, 2008 at 3:09 PM, Kevin Jackson <[EMAIL PROTECTED]> wrote: > I think you want to look at the Available task > > http://ant.apache.org/manual/CoreTasks/available.html > > Thanks, > Kev > >

Re: A way to create empty files

2008-08-11 Thread Kevin Jackson
I think you want to look at the Available task http://ant.apache.org/manual/CoreTasks/available.html Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A way to create empty files

2008-08-11 Thread Evgeny
Is there a way to create an empty file, but when a file exist not to touch it? I would like to use but sometimes the manifest does not exist, and if I just touch it each time ... it would re-create the jar each time, not something I want. Regards, Evgeny ---