Re: Anthill says: Failed to Build project. Error: 1

Eric Minick <[email protected]> Tue, 07 Nov 2006 14:12:17 -0700
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Sujit,

You can download the latest with sources from here:
http://www.anthillpro.com/html/products/anthillos/download.html

Does the build log say 'build successful' at the bottom? This looks like 
Ant is returning an error code of 1. I'd have to dig into the code a bit 
more to make sure that's correct though.

-- Eric


Sujit Pal wrote:

>I am getting the following error when I try to run the ant target from
>within Anthill (version 1.8.0.264).
>
>16:27:42:370 [Thread - AnthillBuildDaemon] ERROR
>com.urbancode.anthill.BuildManager  - Failed to Build project. Error: 1
>java.lang.Exception: Failed to Build project. Error: 1
>        at
>com.urbancode.anthill.BuildManager.buildProject(BuildManager.java:523)
>        at
>com.urbancode.anthill.BuildManager.runBuild(BuildManager.java:401)
>        at
>com.urbancode.anthill.BuildManager.build(BuildManager.java:185)
>        at
>com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>        at
>com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
>        at com.urbancode.anthill.DependencyGroup
>$Member.build(DependencyGroup.java:572)
>        at
>com.urbancode.anthill.DependencyGroup.run(DependencyGroup.java:384)
>        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
>Based on the logs, all the tests pass. All the tests also pass from the
>command line with the same target, so it looks like something within
>Anthill.
>
>I have used CruiseControl in the past, where this kind of error meant
>something to do with system resources, such as a hung appserver, or no
>disk space to write to. Fixing/Restarting the appserver usually took
>care of that. I tried that too, but no luck.
>
>Any pointers on where to look at would be really appreciated.
>
>Also, Anthill was installed by my predecessor and he did not pull in the
>source code. Is there some place where I can pull in the latest version
>of Anthill OS with source?
>
>TIA
>Sujit
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
>  
>