[Anthill] Project being built - forever !?

Marcio Marchini marcio at bedarra.com
Tue Nov 22 10:37:40 CST 2005


Hi,

	My project can be built explicitely from the cmd-line no problem 
(typing ant<enter> in the dir where build.xml is). I can also build it 
using the same cmd that Anthill OS is using:

cmd /x/c C:\java\apache-ant-1.6.5\bin\ant.bat 
-DdeployDir=C:\java\anthill-1.8.0.264\publishDir\HelloWorld 
-Dversion=1.22 -Dkit=1.22 -buildfile 
C:\java\anthill-1.8.0.264\work\ContinuousBuildExample\build.xml -logfile 
C:\java\anthill-1.8.0.264\publishDir\HelloWorld\buildLogs\HelloWorld-1.22-build.log


	It takes 31 seconds.

	However, when I force a build from the AnthillOS web GUI, Anthill shows 
that the project is being built... being built... and stays that way 
forever!!

	Any ideas? The Tomcat log is at the end.

marcio
-----------
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Post file edit 
on file: VERSION.TXT
11:20:13:145 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Executing 
Command: cmd /x/c cd /d 
C:\java\anthill-1.8.0.264\work\ContinuousBuildExample && 
\\develdata01\sourcesafe\Foo3\win32\ss cp $/ContinuousBuildExample 
-Ybuilds &&  \\develdata01\sourcesafe\Foo3\win32\ss checkin VERSION.TXT 
-Ybuilds -Cnull -I-Y 
-GLC:\java\anthill-1.8.0.264\work\ContinuousBuildExample
11:20:13:145 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - 
Execute:Java13CommandLauncher: Executing 'cmd' with arguments:
'/x/c'
'cd /d C:\java\anthill-1.8.0.264\work\ContinuousBuildExample && 
\\develdata01\sourcesafe\Foo3\win32\ss cp $/ContinuousBuildExample 
-Ybuilds &&  \\develdata01\sourcesafe\Foo3\win32\ss checkin VERSION.TXT 
-Ybuilds -Cnull -I-Y 
-GLC:\java\anthill-1.8.0.264\work\ContinuousBuildExample '

The ' characters around the executable and arguments are
not part of the command.

WorkingDir: none
Environment Variables: none
11:20:13:145 [Thread - AnthillBuildDaemon] DEBUG 
org.apache.commons.execute.ProcessThreadRegistry  - Adding a process for 
thread: Thread - AnthillBuildDaemon
Current project is $/ContinuousBuildExample
VERSION.txt
11:20:13:614 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.BuildManager  - New version: 1.23
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.ProjectProperties  - HelloWorld properties saved
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.AnthillSchedule  - AnthillSchedule.add(): 
com.urbancode.anthill.AnthillProject at 7f4ec
11:20:13:614 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.BuildManager  - Step 4) Tag project (if set to all):
11:20:13:614 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.BuildManager  - Step 5) Build Project:
11:20:13:614 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.BuildManager  - Build Project:
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.AnthillConfig  - AntHome: C:\java\apache-ant-1.6.5
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - WorkDirName 
after: C:\java\anthill-1.8.0.264\work
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - workDirName in 
calculateWorkDirName: C:\java\anthill-1.8.0.264\work
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - 
calculateLocalProjectDirName(moduleKey)
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - Module: 
ContinuousBuildExample
11:20:13:614 [Thread - AnthillBuildDaemon] DEBUG 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - 
localProjectDirName: C:\java\anthill-1.8.0.264\work\ContinuousBuildExample
11:20:13:614 [Thread - AnthillBuildDaemon] INFO 
com.urbancode.anthill.BuildManager  - Build Command: cmd /x/c 
C:\java\apache-ant-1.6.5\bin\ant.bat 
-DdeployDir=C:\java\anthill-1.8.0.264\publishDir\HelloWorld 
-Dversion=1.23 -Dkit=1.23 -buildfile 
C:\java\anthill-1.8.0.264\work\ContinuousBuildExample\build.xml -logfile 
C:\java\anthill-1.8.0.264\publishDir\HelloWorld\buildLogs\HelloWorld-1.23-build.log
11:20:13:630 [Thread - AnthillBuildDaemon] DEBUG 
org.apache.commons.execute.ProcessThreadRegistry  - Adding a process for 
thread: Thread - AnthillBuildDaemon
11:20:41:709 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:20:41:709 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:20:41:709 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600709, 22-Nov-2005 3:00:00 PM
11:20:41:709 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676441709, 22-Nov-2005 11:20:41 AM
11:20:41:709 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:21:11:756 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:21:11:756 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:21:11:772 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600756, 22-Nov-2005 3:00:00 PM
11:21:11:772 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676471772, 22-Nov-2005 11:21:11 AM
11:21:11:772 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:21:41:835 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:21:41:835 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:21:41:835 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600835, 22-Nov-2005 3:00:00 PM
11:21:41:835 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676501835, 22-Nov-2005 11:21:41 AM
11:21:41:835 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:22:11:882 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:22:11:882 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:22:11:898 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600898, 22-Nov-2005 3:00:00 PM
11:22:11:898 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676531898, 22-Nov-2005 11:22:11 AM
11:22:11:898 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:22:41:961 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:22:41:961 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:22:41:961 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600961, 22-Nov-2005 3:00:00 PM
11:22:41:961 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676561961, 22-Nov-2005 11:22:41 AM
11:22:41:961 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:23:12:008 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:23:12:008 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:23:12:023 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600023, 22-Nov-2005 3:00:00 PM
11:23:12:023 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676592023, 22-Nov-2005 11:23:12 AM
11:23:12:023 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:23:42:086 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:23:42:086 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:23:42:086 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600086, 22-Nov-2005 3:00:00 PM
11:23:42:086 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676622086, 22-Nov-2005 11:23:42 AM
11:23:42:086 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:24:12:149 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:24:12:149 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:24:12:164 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600164, 22-Nov-2005 3:00:00 PM
11:24:12:164 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676652164, 22-Nov-2005 11:24:12 AM
11:24:12:164 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:24:42:227 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:24:42:227 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:24:42:227 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600227, 22-Nov-2005 3:00:00 PM
11:24:42:227 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676682227, 22-Nov-2005 11:24:42 AM
11:24:42:227 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:25:12:274 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:25:12:274 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:25:12:290 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600290, 22-Nov-2005 3:00:00 PM
11:25:12:290 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676712290, 22-Nov-2005 11:25:12 AM
11:25:12:290 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:25:42:352 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:25:42:352 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:25:42:352 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600352, 22-Nov-2005 3:00:00 PM
11:25:42:352 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676742352, 22-Nov-2005 11:25:42 AM
11:25:42:352 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:26:12:400 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:26:12:400 [http-8080-Processor25] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:26:12:400 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600400, 22-Nov-2005 3:00:00 PM
11:26:12:400 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676772400, 22-Nov-2005 11:26:12 AM
11:26:12:400 [http-8080-Processor25] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
11:26:42:478 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: default
11:26:42:478 [http-8080-Processor24] DEBUG com.urbancode.anthill.Anthill 
  - Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
11:26:42:478 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default nextBuildTime: 1132689600478, 22-Nov-2005 3:00:00 PM
11:26:42:478 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.AnthillSchedule  - getNextBuildTime() name: 
default currentTime: 1132676802478, 22-Nov-2005 11:26:42 AM
11:26:42:478 [http-8080-Processor24] DEBUG 
com.urbancode.anthill.BuildDaemon  - getProjectBeingBuilt() : 
com.urbancode.anthill.BuildDefinition at 3c0007
...

	




More information about the Anthill mailing list