Antw: [Anthill] anthill with MKS?
Joe Leonard
Joe.Leonard at traventec.com
Fri Nov 12 04:41:24 CST 2004
Hi Peter,
Thanks for your feedback...
Yes, the command
"cmd /c cd /d
D:\Development\transtoolworking\workingDir && si co
-SD:\Development\transtoolworking\TransferToBS2k.pj -R -f --unlock
--cpid=:none --batch --user=leonard --password=ltsproject"
(copied from your output)
does appear to work to some extent. The sandbox does get refreshed, as I
found out to my cost, as it over-wrote some files I had previously checked
out! However, the email that is sent to me tells me the "checkout failed",
even though it does appear to have actually worked:
Retrieving project files: FAILED to build project. Message: ProfileAdapter
checkout failed: Checking out members...
d:\Development\transtoolworking\Docs\Minutes-06-03.doc: checked out revision
1.1
d:\Development\transtoolworking\Docs\proposal.doc: checked out revision 1.23
d:\Development\transtoolworking\Docs\TransferToBS2K.doxyfile: checked out
revision 1.5
etc...
However, "workingDir" above is not a sandbox directory. I just created that
myself. I didn't realise that the Work Dir must be the actual sandbox dir.
The actual sandbox directory is: "D:\Development\transtoolworking\" and the
corresponding PJ file is in the same directory:
D:\Development\transtoolworking\TransferToBS2k.pj.
But now, I have just tried as you suggested - make the sandbox directory the
working directory. But when I do this, it seems that the actual PJ file is
deleted (from the work dir) and is not restored at all. (All other files are
refreshed though, as far as I can tell).
How can future builds work, if the project file is deleted? Maybe I have my
project structured wrong? Perhaps the PJ file should always be in a
directory above the working sandbox directory to avoid this problem??
thanks a lot,
Joe.
-----Original Message-----
From: Peter Kofler [mailto:Peter.Kofler at herold.at]
Sent: Friday, November 12, 2004 8:57 AM
To: Joe.Leonard at traventec.com
Cc: anthill at caladin.urbancode.com
Subject: RE: Antw: [Anthill] anthill with MKS?
Hi,
your config looks right to me. Does the command
"cmd /c cd /d
D:\Development\transtoolworking\workingDir && si co
-SD:\Development\transtoolworking\TransferToBS2k.pj -R -f --unlock
--cpid=:none --batch --user=leonard --password=ltsproject"
(copied from your output)
work properly when given at the command line. Maybe you have to
tweak some SI parameters, like --cpid if you are using change
packages...
Also make sure you are inside the sandbox directory, means that
D:\Development\transtoolworking\workingDir must be a sandbox
directory and TransferToBS2k.pj the project file. Sandboxes have to
be registered to be that way... So the work directory is the sandbox
directory and the whole sandbox will be refreshed. Make also sure
there are no checked out files in that sandbox - will be deleted...
Regards,
Peter
>>> Joe Leonard <Joe.Leonard at traventec.com> 10.11.2004 18:07:29 >>>
When I attempt to execute a test-build, The anthill console appears to
attempt to checkout/resync all files in the sandbox. However, it seems
to
ignore the Work Directory I specify. The work directory remains empty.
What
should be copied to this work directory?
Is Anthill supposed to resync/check out all files each time you start
a
build?
I set repository.integrity.work.dir to
"D:\Development\transtoolworking\workingDir\"
I set repository.integrity.project.file to
"D:\Development\transtoolworking\TransferToBS2k.pj"
I leave repository.integrity.branch empty.
This is the output I get on the console: - it tells me the checkout
operation fails??
16:50:41:000 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Project: TransTool is being
released.
16:50:41:000 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Initializing repository
adapter...
16:50:41:000 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 0) Clean up working
directory
16:50:41:000 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Cleaning up
local
files:
16:50:41:078 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 1) Retrieve working copy
ofcode
from repository
16:50:41:109 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.util.Execute - [checkout] cmd /c cd /d
D:\Development\transtoolworking\workingDir && si co
-SD:\Development\transtoolworking\TransferToBS2k.pj -R -f --unlock
--cpid=:none --batch --user=leonard --password=ltsproject
16:53:22:453 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - ProfileAdapter checkout failed:
Checking out members...
d:\Development\transtoolworking\Docs\Minutes-06-03.doc: checked out
revision
1.1
etc...
************************************************************************
This e-mail and any files transmitted with it are confidential and may be
privileged and are intended solely for the individual named/ for the use of
the individual or entity to whom they are addressed.If you are not the
intended addressee, you should not disseminate, distribute or copy this
e-mail.Please notify the sender immediately if you have received this e-mail
by mistake and delete this e-mail from your system.If you are not the
intended recipient, you are notified that reviewing, disclosing, copying,
distributing or taking any action in reliance on the contents of this e-mail
is strictly prohibited.Please note that any views or opinions expressed in
this e-mail are solely those of the author and do not necessarily represent
those of Traventec Limited.E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, or arrive late or incomplete.Traventec Limited therefore does not
accept liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission.The recipient should
check this e-mail and any attachments for the presence of viruses.This
e-mail has been swept for computer viruses however Traventec Limited accepts
no liability for any damage caused by any virus transmitted by this e-mail.
More information about the Anthill
mailing list