ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: How to use the flatten copier
Date Fri, 11 Mar 2005 15:51:34 GMT
OOh.. maybe I can just use the flatten attribute of the <copy> task...

Ninju Bohra <ninju_bohra@yahoo.com> wrote:Hey Guys,

How do I use the 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 I thought there would be a faster ANT way of doing..

any help...


Ninju


---------------------------------
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.

		
---------------------------------
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message