Re: Re:Project being built - forever !?
Marcio Marchini <
marcio@...>
2006-06-05 15:33:18 GMT
Sorry for the long delay.
If I try to run the cvs log command manually from "DOS", it works just
fine, no freezes.
Why does it hang when run from Anthill 1.8.1? Thanks,
marcio
Varban wrote:
> Hi Marcio,
>
> I have seen this happen before and the problem was somewhere on the cvs server
> because if I ran the command manually in a console, the cvs process never
> returned, it was just sitting there and waiting for something. Can you run
> the
> cvs -d :ext:marcio@...:/home/cvs log -d">2005-12-05
16:46:31
> GMT" -rHEAD -N
>
> command manually and see if the same thing happens?
>
> Varban
> On Friday 19 May 2006 18:40, Marcio Marchini wrote:
>> I tried it again with Anthill version 1.8.1.303 and Tomcat not as a
>> service, and in the console I see this:
>>
>>
>> 18:25:24:640 [Thread - AnthillBuildDaemon] INFO
>> com.urbancode.anthill.BuildMana
>> ger - Step 7) Publish Project:
>> 18:25:26:000 [Thread - AnthillBuildDaemon] INFO
>> com.urbancode.anthill.adapter.C
>> VSRepositoryAdapter - Get revisions since command: cmd /x/c
>> cd /d
>> C:\java\anthill-1.8.1.303\HelloWorldWorkDir\agile\CTIP\com.bedarra
>> .continuousbuild.example &&
>> cvs -d :ext:marcio@...:/home/cvs log -d">2005-12-05
>> 16:46:31 GMT" -
>> rHEAD -N
>>
>> cvs server: Logging .
>> cvs server: Logging context
>> cvs server: Logging context/WEB-INF
>> cvs server: Logging src
>> cvs server: Logging src/com
>> cvs server: Logging src/com/bedarra
>> cvs server: Logging src/com/bedarra/continuousbuild
>> cvs server: Logging src/com/bedarra/continuousbuild/example
>> cvs server: Logging src/com/bedarra/continuousbuild/example/tests
>> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/cactus
>> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/fitnesse
>> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/httpunit
>> cvs server: Logging
>> src/com/bedarra/continuousbuild/example/tests/httpunit/cactu
>> s
>> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/junit
>> cvs server: Logging src/jsp
>> cvs server: Logging web
>> cvs server: Logging web/WEB-INF
>> cvs server: Logging wiki
>> cvs server: Logging xsl
>>
>>
>>
>> And nothing else. It stays that way. My cvs.exe is this one:
>>
>> C:\Documents and Settings\marcio>cvs -v
>>
>> Concurrent Versions System (CVS) 1.11.2 (client)
>>
>> Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
>> Jeff Polk, and other authors
>>
>> CVS may be copied only under the terms of the GNU General Public License,
>> a copy of which can be found with the CVS distribution kit.
>>
>> Specify the --help option for further information about CVS
>>
>>
>> Any ideas? It seems to be frozen in cvs.exe ??
>>
>>
>> marcio
>>
>> Marcio Marchini wrote:
>>> Ok, the problem has come back to me. I am still running Anthill
>>> version 1.8.0.264
>>>
>>> - I do have the patched ant.bat as per this message:
>>>
>>> “this is a problem with the ant.bat file that comes with the Ant
>>> distributions. The batch script does not return the real exit code from
>>> the java process, instead it returns 0 which confuses Anthill as to the
>>> real outcome of the build. If you switch the ant.bat file in the ant
>>> distribution you are using with this one:
>>> http://www.urbancode.com/download/ant.bat
>>> Anthill will be able to detect the failures.”
>>>
>>>
>>>
>>>
>>> -I do have a patched CommonsExecute.jar as per this message (even though
>>> I run XP)
>>>
>>> If you are running Tomcat 5.5 under Win2003, the problem is with an
>>> outdated Anthill jar. The bug fixes will be released with Anthill 1.8.1.
>>> As a workaround for now, you can use the patched jar available here:
>>> http://www.urbancode.com/download/anthill_os/CommonsExecute.jar . It
>>> needs to go into Anthill’s lib folder and also into the
>>> anthill/WEB-INF/lib folder Tomcat explodes out from the war file
>>> (CATALINA_HOME/webapps/anthill/WEB-INF/lib).
>>>
>>>
>>> - I am running cvs and another project from the same repo builds fine
>>>
>>> - I looked at the Tomcat logs and I see nothing strange.
>>>
>>>
>>> I run Tomcat as a service. Even running it from a BAT I see nothing
>>> strange. I see "HelloWorld -- Being built" forever in the browser.
>>>
>>>
>>> What else can I try? Too dangerous to upgrade Anthill at this point,
>>> so let me know how to make it work with 1.8.0.264 under Java 1.5.0_05.
>>> Thanks,
>>>
>>> marcio
>>>
>>> _______________________________________________
>>> Anthill mailing list
>>> Anthill@...
>>> http://lists.urbancode.com/mailman/listinfo/anthill
>> _______________________________________________
>> Anthill mailing list
>> Anthill@...
>> http://lists.urbancode.com/mailman/listinfo/anthill