[Anthill] Problem with path to version file when using a module
name from CVS
Emyr Davies
Emyr.Davies at snellwilcox.com
Wed Apr 27 18:39:28 CDT 2005
Hi,
I'm a newbie to trying out Anthill-OS and I've managed to get a test
project CVS checkout and build number update working ok except for a
slight problem I seem to be having with using CVS modules.
If I setup a project using the repository path as the module name then
everything seems to work fine. However, if I set the module name
property "repository.cvs.module" of my project to the module
"MODULE_ANTHILL_TEST" which I have setup in the CVSROOT modules file
then I get problems.
The checkout works fine and all the expected files are checked out
properly to the working directory as expected, however I get an error
from Anthill with the path it seems to be using using to try and access
the version file "anthill.version".
It appears that Anthill is trying to access the version file as follows
...
C:\CompileServerFiles\anthill\work\MODULE_ANTHILL_TEST\anthill.version
But the CVS checkout of the module checked out the file to the following
directory (as expected) ...
C:\CompileServerFiles\anthill\work\anthill.version
The extra directory MODULE_ANTHILL_TEST doesn't exist !!
Why is Anthill-OS adding the module name when it's actually a module
rather than a repository path to the directory path for the version
file?
What am I doing wrong?
Regards
Emyr
Installed versions:-
==============
Anthill-OS ver = 1.8.0.264
Tomcat 5.5.4
Apache 2.0.52
Java 1.5.0_01
Running on Win-XP SP2
===================
Anthill version: 1.8.0.264 loaded.
Anthill root dir: C:\CompileServerFiles\anthill
23:51:28:031 [http-8080-Processor25] INFO com.urbancode.anthill.Anthill
- Starting Anthill daemons
23:51:36:218 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root:
#########
23:51:36:218 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:
MODULE_ANTHILL_TEST
23:51:36:218 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: null
23:51:36:218 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:
C:\CompileServerFiles\anthill\work
23:51:36:218 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project
directory: C:\CompileServerFiles\anthill\work\MODULE_ANTHILL_TEST
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Project: MediaX Drivers is being
released.
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Initializing repository adapter...
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root:
#########
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:
MODULE_ANTHILL_TEST
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: null
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:
C:\CompileServerFiles\anthill\work
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project
directory: C:\CompileServerFiles\anthill\work\MODULE_ANTHILL_TEST
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 0) Clean up working directory
23:51:36:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Cleaning up
local files:
23:51:36:281 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 1) Retrieve working copy of
code from repository
Pagelets v3.1.5 loaded.
Copyright 2000-2002 Urbancode. All rights reserved.
23:51:36:296 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Executing
Command: cmd /x/c cd /d C:\CompileServerFiles\anthill\work && cvs -d
############# checkout -A MODULE_ANTHILL_TEST
23:51:36:328 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.ProfileRepositoryAdapter -
Execute:Java13CommandLauncher: Executing 'cmd' with arguments:
#
#
###### Checkout of files list etc. removed for clarity ######
#
#
23:51:43:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 2) is project up to date?
23:51:43:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - step 3) Increment version:
23:51:43:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter - Branch from the
repository adapter:
23:51:43:234 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter - Incrementing
version file:
C:\CompileServerFiles\anthill\work\MODULE_ANTHILL_TEST\anthill.version
23:51:43:234 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - VersionFile parameter must point
to a file that exists
java.lang.IllegalArgumentException: VersionFile parameter must point to
a file that exists
at
com.urbancode.anthill.adapter.VersionModifier.<init>(VersionModifier.jav
a:47)
at
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.incrementVersion(U
rbanCodeVersionAdapter.java:119)
at com.urbancode.anthill.BuildManager.build(BuildManager.java:115)
at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:
231)
at com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
This email and any attachments is confidential, may be legally privileged and is intended for the use of the addressee only. If you are not the intended recipient, please note that any use, disclosure, printing or copying of this email is strictly prohibited and may be unlawful. If received in error, please delete this email and any attachments and confirm this to the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050428/7ee17106/attachment-0002.htm
More information about the Anthill
mailing list