Re: Ant declares the build failed, Anthill sends email saying the build passed ??!!

Marcio Marchini <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
	Here's the logs. Did I miss anything? If Ant failed, why did Anthill 
think the build passed?

	Thanks,

marcio


Anthill version 1.8.0.264

Retrieving project files: OK
Incrementing version: OK
Build: OK
Project Site: http://localhost:8080/anthill/projects/HelloWorld/

Build Log: 
http://localhost:8080/anthill/projects/HelloWorld/buildLogs/HelloWorld-1.28-build.log
Tag: OK

Publish: NOT REQUIRED
Got Revisions: OK

[...]
compile:
     [javac] Compiling 5 source files to 
C:\java\anthill-1.8.0.264\HelloWorldWorkDir\agile\CTIP\com.bedarra.continuousbuild.example\build\temp\classes
     [javac] 
C:\java\anthill-1.8.0.264\HelloWorldWorkDir\agile\CTIP\com.bedarra.continuousbuild.example\src\com\bedarra\continuousbuild\example\HelloWorldServlet.java:17: 
cannot find symbol
     [javac] symbol  : class zzString
     [javac] location: class 
com.bedarra.continuousbuild.example.HelloWorldServlet
     [javac] 	public static zzString HELLO = "Hello World"; //Not final 
so that Findbugs can complain
     [javac]                       ^
     [javac] 1 error

[...]

BUILD FAILED
C:\java\anthill-1.8.0.264\HelloWorldWorkDir\agile\CTIP\com.bedarra.continuousbuild.example\build.xml:98: 
Compile failed; see the compiler error output for details.

Total time: 5 seconds




Marcio Marchini wrote:
> Hi,
> 
>     A developer commited a test case without commiting the code it 
> needs. Anthill did its job, started the build, and Ant's task named 
> "compile" detected the code did not even compile, and said the build 
> failed. Perfect. However, Anthill sent email saying the build passed. 
> Attached to this email message it sent, it included the log where Ant 
> says the build failed because javac failed.
> 
> 
>     Did I miss anything??
> 
>     If Ant says a build failed, shouldn't Anthill detect so as well?
> 
>     Thanks,
> 
> marcio
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.