Fijate si te sirve esto > -----Original Message----- > From: Duffey, Kevin [SMTP:[EMAIL PROTECTED]] > Sent: Saturday, January 26, 2002 2:59 AM > To: 'Ant Users List' > Subject: Any way to avoid copying to keep dir structure intact? > > Hi all, > > I am jarring up many dirs and files into a single jar. The dirs are spread > around in different areas. Right now I have to copy all files from each > dir > into the dir structure below a common dir. Then I jar up that DIR. The > process of copying lots of files just to keep the dir structure intact is > slow, so I was wondering if there is a way to "pull" these files from > their > dir into the jar file as is. For example: > > c:/images/*.gif > c:/project/source/*.java > c:/dir/bin/*.class > > I want the jar dir structure to look like: > > /images/*.gif > /source/*.java > /bin/*.class > > Right now, I have to copy the three dirs into a commong root like > /jar-dir, > then jar via the fileset tag using dir="/jar-dir". I thought I saw this > before using some fancy work with filesets to pull the dir from whatever > root, keeping it intact.. > > thanks. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
