[Anthill] Anthill doesn't build
Mirza Abbas Raza
abbasrazam at yahoo.com
Mon Feb 28 11:57:05 CST 2005
Hi,
I took a first stab at anthill and seems to have hit
the starter blues. Here is what I am doing.
1. Installed Anthill OS and created a project.
2. My anthill.registry looks like this.
com.urbancode.lib.butler.adapter.log4j.class =
com.urbancode.lib.butler.adapters.Log4jAdapter
com.urbancode.lib.butler.adapter.log4j.configurator =
PropertyConfigurator
com.urbancode.lib.butler.adapter.log4j.propertyFile =
log4j.configuration
# default anthill url
anthill.server = http://localhost:8080/anthill/
anthill.lock.version.file = on
anthill.ant.home = D:\Program_Files\Jakarta\Ant\1.5.3
anthill.repository.adapter =
com.urbancode.anthill.adapter.CVSRepositoryAdapter
anthill.mail.host = mymailserverip
anthill.mail.from = myemailaddress
anthill.version.adapter =
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
anthill.work.dir =myproject
anthill.projects.dir = projects
anthill.publish.dir.default = publishDir
anthill.dependency.target = core
anthill.dependency.artifact.property =
anthill.background.color = white
anthill.title.text = Anthill Build Management Server
3. My project's .anthill file looks like this.
anthill.schedule = default
anthill.lastBuildFailDate = 02/25/2005 11:49:09
anthill.lastBuildSucceeded = false
anthill.registry.format.version = 1.1
anthill.version.file =
anthill.version.adapter =
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
anthill.publish.run_policy = success.only
anthill.publish.url =
anthill.publish.script =
anthill.publish.dir =
anthill.build.script = src/build.xml
anthill.build.tag = success
anthill.build.ant.params.value = core
anthill.java.extra.options =
anthill.repository.adapter =
com.urbancode.anthill.adapter.CVSRepositoryAdapter
anthill.repository.cvs.branch =
anthill.repository.cvs.root =
:pserver:myname at mycvsserver.com:/usr/local/cvs
anthill.repository.cvs.module = mymodule
anthill.repository.cvs.work.dir = myworkdir
anthill.repository.cvs.anthill.user = myname
anthill.mail.policy = always
anthill.users.Abbas = myname at mysite.com
4. I kick off the build manually. On the Build Project
screen, I enter some random number for 'Build as
version'.
5. Now, anthill gets a fresh copy of the code. I see
the logs being spitted out on the dos shell.
6. After getting the source code, anthill prints the
following on the dos shell.
09:46:04:109 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger - step 2) is project up to date?
09:46:04:140 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.C
VSRepositoryAdapter - Get revisions since command:
cmd /x/c
cd /d D:\Program_Files\anthill\mywork &&
cvs -d :pserver:myname at mycvsserver:/usr/local/cvs log
-d">2005-02-25 19:
49:09 GMT" -rHEAD -N mymodule
7. After item 6, anthill does cvs logging for the
whole module.
8. After cvs logging, anthill prints the following and
quits.
09:47:18:875 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger - Build NOT required
09:47:18:875 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildMana
ger - Build NOT required.
Am I missing anything? Why doesn't anthill build? I
checked the user manual, faq and other docs, but they
didn't seem to have helped me.
Please note that I have changed the names of hosts,
ports, server names for obvious reasons.
Appreciate any help.
Thanks.
More information about the Anthill
mailing list