Create a dir. named with the current system date

2006-10-16 Thread Marcelo de Moraes Serpa
Hi List, I'm developing a backup routing with ant, and I need to create the backup folder based on the current date. The question is: * How could I possibly retrieve the system current date and use it to make a new directory? Thanks in advance, Marcelo.

Re: Create a dir. named with the current system date

2006-10-16 Thread Marcelo de Moraes Serpa
Ok, sorry! I should have read the documentation before... Thanks for the info ;) Marcelo. On 10/16/06, Joel Klein <[EMAIL PROTECTED]> wrote: Marcelo de Moraes Serpa wrote: > The question is: > * How could I possibly retrieve the system current date and use it to > make a >

Set enviroment variable with ant

2006-10-16 Thread Marcelo de Moraes Serpa
I need to set the PGPASSWORD enviroment variable in a ant project, however I don't know how could I do it... should I use the exec task?

Re: Set enviroment variable with ant

2006-10-16 Thread Marcelo de Moraes Serpa
ll the and invocations started by an ant build, you need to set this env var before starting ant, for instance in a wrapper script. Regards, Antoine Original-Nachricht Datum: Mon, 16 Oct 2006 18:05:48 -0200 Von: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> An: &qu