On 8/18/05, Burgess, Benjamin <[EMAIL PROTECTED]> wrote:
> 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).
This doesn't make a difference, but that I allready knew.
What does make a difference is wether I use the default view or a branch view.
If I use the default view my ant script checks out the same files as
the stcmd invocation does.
Using a branch view however leads to my ant script checking out less
files than the stcmd invocation, and I am completely at a loss as to
why...
To give you a more concrete example: Here is part of the build.xml
<stcheckout URL="${st.URL}"
username="${st.user}"
password="${st.password}"
rootstarteamfolder="${subsystem}"
rootlocalfolder="checkout/${subsystem}"
label="${component.revision}"
deleteuncontrolled="false"
userepositorytimestamp="true"
forced="true"
/>
and output of ant -debug:
subsystem=3PI
component.revision=C_3PIlibs_13.0-00
st.URL=sbemc180:5558/LIVE_Portal/S_LivePortal_14.3
Apache Ant version 1.6.5 compiled on June 2 2005
...
Setting project property: component.folder ->
config/xmla-domain/applications/dxmla/WEB-INF/lib
Setting project property: component.revision -> C_3PIlibs_13.0-00
[stcheckout] StarTeam version: StarTeam SDK 5.4, Build 142
...
[stcheckout] checking label C_3PIlibs_13.0-00
[stcheckout] using label C_3PIlibs_13.0-00
[stcheckout] Connected to StarTeam view
sbemc180:5558/LIVE_Portal/S_LivePortal_14.3
[stcheckout] Ignoring createworkingdirs while using a revision label.
Folders will be created only as
needed.
[stcheckout] Recursive Checkout from: LIVE_Portal/3PI/
[stcheckout] Checking out to: /home/tgdvakr1/work/CI/checkout/3PI
[stcheckout] Using revision label C_3PIlibs_13.0-00
[stcheckout] Items will be checked out with no change in lock status.
[stcheckout] Items will be checked out with repository timestamps.
[stcheckout] Items will be checked out regardless of repository status
[stcheckout] Items will be checked out using the local machine's EOL
convention
[stcheckout] Directories will be created only where needed to check out files.
[stcheckout] successful disconnect from StarTeam Server sbemc180
As one can see no files get checked out...
But the following command:
stcmd -p "user:[EMAIL PROTECTED]:5558/LIVE_Portal/S_LivePortal_14.3/3PI" -is \
-fp "/home/tgdvakr1/work/CI/checkout/3PI" -vl "C_3PIlibs_13.0-00" -o
does check out files...
Why?
Krist
--
[EMAIL PROTECTED]
Solothurn, Switzerland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]