ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject How to use the flatten copier
Date Fri, 11 Mar 2005 15:50:13 GMT
Hey Guys,
 
How do I use the <copy> task to accomplish the follow batch stuff:
 
  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Javax_Activation\activation.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Javax_EJB\javax_ejb.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Javax_JAXP\parser.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Javax_JMS\jms.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Javax_Mail\mail.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\OpenJMS\commons-logging.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\OpenJMS\exolabcore.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\OpenJMS\openjms-client.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Oracle_JDBC\ojdbc14.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\Oreilly\oreilly.jar %WebRoot%\WEB-INF\lib

  xcopy /y /r %ProjectRoot%\ThirdParty\lib\JDK1.2\TOPLink\toplink.jar %WebRoot%\WEB-INF\lib


 
Basically, I need to copy all the files (*.jar) from a series sub-directories to one flat
directory
and rather than create a set of <fileset> I thought there would be a faster ANT way
of doing..
 
any help...
 
 
Ninju

		
---------------------------------
Do you Yahoo!?
 Yahoo! Sports -  Sign up for Fantasy Baseball.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message