ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Phonsa <>
Subject Ant Copy Task
Date Thu, 14 Aug 2003 21:30:40 GMT
Hi Folks

I am copying files from Project1 to Project2. Some of those files are
modified in Project2 and then copied back to Project1. When I copy the files
back Project1 should now reflect the state of Project2 exactly.

Would the ant copy task copy back only those files that were changed in
Project 2 ?

And the tricky situation is, suppose I had files A,B,C in Project1 and were
copies to Project2. In Project2 I deleted the file C but added a new file D.
Now when I copy back, Ant would copy the new file D to Project1 and other
files that were modified but I need the file C that was deleted in Project2
to be deleted in Project1 also after the processing back in completed.

Project1 should be exactly the same as Project2 after the reverse copying.

Please guide.


-----Original Message-----
From: Jack Woehr [] 
Sent: Thursday, August 14, 2003 11:51 AM
To: Ant Users List
Subject: Re: Problem with new ant task

Aloizio Pereira da Silva wrote:

> > You have misspelled "diretorioSaida" either in your custom task source
> > or bel$
> > diretorioSaida= "C:\\aloizio\\"
> No, I have not.
> Below is my java task code:
> public class gerar_relatorio extends Task{
>   private String  diretorioSaida = "";

Then it appears you misspelled the attribute in your build.xml file, to
judge from the error message:

> > > file:M:/Aloizio/JAVADOC/NewAntTask/build.xml:24: The <gerar_relatorio>
> > > task doesn't support the "diretoriosaida" attribute.


Jack J. Woehr            # "[F]ar in the empty sky a solitary esophagus
slept #  upon motionless wing; everywhere brooded
stillness, #  serenity, and the peace of God." - Mark Twain

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message