ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <BBurg...@tiaa-cref.org>
Subject RE: starteam and ant: problem with stcheckout
Date Thu, 18 Aug 2005 13:33:18 GMT
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:krist.vanbesien@gmail.com] 
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:password@myserver: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


-- 
krist.vanbesien@gmail.com
Solothurn, Switzerland

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



**************************************************************
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message