The "-vl" means that this is a version label, not a view label. It is handled differently in the checkout task's code. Try replacing the first 4 attributes of the task with this instead: URL="myserver:5558/myproject/myview" just to see if it makes a difference (which it shouldn't). Also, post your -debug log when running the ant task. It could be a StarTeam SDK problem (SDK\bin or SDK\lib not being on the PATH etc).
Also, on a side note, you might be interested in this enhancement to the StarTeam checkout task - http://issues.apache.org/bugzilla/show_bug.cgi?id=35852 Ben -----Original Message----- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 8:01 AM To: Ant Users List Subject: starteam and ant: problem with stcheckout Anybody using starteam? I have a problem: When I checkout files using this command: stcmd co -p user:[EMAIL PROTECTED]:5558/myproject/myview/mydir -is -vl "mylabel" -o -eol on -fp checkout/mydir a number of files get checked out. When I use the following command in a build.xml file: <stcheckout servername="myserver" serverport="5558" projectname="myproject" viewname="myview" username="user" password="password" rootlocalfolder="checkout/mydir" rootstarteamfolder="mydir" label="mylabel" deleteuncontrolled="false" userepositorytimestamp="true" createworkingdirs="false" forced="true" /> No files are checked out... If I remove the viewname, I do get my files, but this will ofcourse not be the ones I want when I try to checkout a label that only exists in a particular view. Why is this? Krist -- [EMAIL PROTECTED] Solothurn, Switzerland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
