ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Copeland <...@Roku.com>
Subject The AntStarTeamCheckout task runs a little faster if it's multith readed....
Date Tue, 02 Jan 2001 14:49:56 GMT
...since our build process involves checking out files from 9 different
StarTeam folders (all of which are within the same project & view).  So I
rewrote the task so that it starts a new thread for each of the folders.
You can do a task definition like this:

<AntStarTeamCheckOut 
	projectName="Product" 
	folderName="code\core,code\ext,code\kernel,code\util" 
	viewname="Source" 
	username="ant" 
	password="ant" 
	recursion="true" 
	serverName="your.server.name" 
	targetFolder="src" 
	serverport="9999"/>

and the checkout from code\core, code\ext, etc will all be started in
separate threads.  Let me know if you want this code and I'll post it to the
list or just send the task to you individually. 

Incidentally, I posted this to ant-user, not ant-dev, because it wasn't a
diff to the core Ant code - just a userspace thing.  Hope that was the right
thing to do...

	Yours,

Tom
tom@roku.com

	

Mime
View raw message