ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject RE: How to sync two folders and preserve empty subfolders, but de lete obsolete ones?
Date Tue, 18 Mar 2003 00:04:01 GMT
Now how to make it work? I created a jar file with the class, added

  <taskdef name="lsync" classname="com.lgc.buildmagic.LocalSynchronize">
   <classpath>
     <pathelement location="path/to/lsync.jar"/>
   </classpath>
  </taskdef>

... and ANT cannot use it. Is it possible to see what was the real reason
for not finding a custom task?

- Alexey.

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Monday, March 17, 2003 2:40 PM
To: 'Ant Users List'
Subject: RE: How to sync two folders and preserve empty subfolders, but de
lete obsolete ones?

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12632

-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
Sent: Monday, March 17, 2003 4:37 PM
To: 'Ant Users List'
Subject: RE: How to sync two folders and preserve empty subfolders, but de
lete obsolete ones?

How can I get it? Could you please give me its URL?

--
{ http://trelony.cjb.net/   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Monday, March 17, 2003 2:35 PM
To: 'Ant Users List'
Subject: RE: How to sync two folders and preserve empty subfolders, but de
lete obsolete ones?

Have you tried <lsync> I submitted to bugzilla? Sounds like what you need.
Much more intuitive than the <copy>/<delete>/<present> combo... --DD

-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
Sent: Monday, March 17, 2003 4:32 PM
To: 'Ant Users List (ant-user@jakarta.apache.org)'
Subject: How to sync two folders and preserve empty subfolders, but delete
obsolete ones?

<copy> with <delete> works fine except for empty directories. I am able to
delete all empty directories or preserve all of them regardless whether they
exist in original folder. How can I delete only folders that do not exist in
the original folder?

- Alexey.

--
{ http://trelony.cjb.net/   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message