You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tom Copeland <To...@Roku.com> on 2001/01/02 15:49:56 UTC

The AntStarTeamCheckout task runs a little faster if it's multith readed....

...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