[Anthill] The latest fix for
varban
vvv at urbancode.com
Fri Nov 4 12:34:51 CST 2005
Hi Andy,
Does Anthill mark the build as failed? If not you might be using the
stock ant.bat that does not return the right exit code. AnthillPro comes
with fixed bat files and you can find them in
ANTHLLPRO_ROOT/contrib/apache-ant-1.6.x/bin.
Regards,
Varban
Schaefer, Andreas (c) wrote:
> Hi Geeks
>
>
>
> Since the fix for the Ant execution problem on Windows 2003 a failing build is never treaded as such meaning I do not get an email about the failure.
>
>
>
> That is the output of the build log indicating that the build failed:
>
>
>
> compile:
>
> [javac] Compiling 55 source files to C:\Java\anthill.1.8\work\OC\fbu\build\classes
>
> [javac] C:\Java\anthill.1.8\work\OC\fbu\src\com\gateway\fbu\bapi\BatchFBUUpdate.java:8: cannot find symbol
>
> [javac] symbol : class FBUBatchUpdateCriteria
>
> [javac] location: package com.gateway.fbu.api
>
> [javac] import com.gateway.fbu.api.FBUBatchUpdateCriteria;
>
> [javac] ^
>
> [javac] C:\Java\anthill.1.8\work\OC\fbu\src\com\gateway\fbu\bapi\BatchFBUUpdate.java:37: cannot find symbol
>
> [javac] symbol : class FBUBatchUpdateCriteria
>
> [javac] location: interface com.gateway.fbu.bapi.BatchFBUUpdate
>
> [javac] public void fireQuery( FBUBatchUpdateCriteria pCriteria );
>
> [javac] ^
>
> [javac] Note: C:\Java\anthill.1.8\work\OC\fbu\src\com\gateway\fbu\bapi\ejb\AdminBeanImpl.java uses unchecked or unsafe operations.
>
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> [javac] 2 errors
>
>
>
> BUILD FAILED
>
> C:\Java\anthill.1.8\work\OC\oc25app\build.xml:110: The following error occurred while executing this line:
>
> C:\Java\anthill.1.8\work\OC\fbu\build.xml:70: Compile failed; see the compiler error output for details.
>
>
>
> Total time: 27 seconds
>
>
>
>
>
>
>
>
>
>
>
> AND that is the log file:
>
>
>
> 2005-11-03 17:38:11,349 INFO [com.urbancode.anthill.BuildManager]
> Execute:Java13CommandLauncher: Executing 'cmd' with arguments:
>
> '/x/c'
>
> 'c:\Java\anthill.1.8\lib\ant1.6.5\bin\ant.bat'
>
> '-DdeployDir=c:\Java\anthill.1.8\publishDir\OC25'
>
> '-Dversion=68'
>
> '-Dkit=68'
>
> '-buildfile'
>
> 'c:\Java\anthill.1.8\work\OC\oc25app\build.xml'
>
> '-logfile'
>
> 'c:\Java\anthill.1.8\publishDir\OC25\buildLogs\OC25-68-build.log'
>
> 'dist'
>
>
>
> The ' characters around the executable and arguments are
>
> not part of the command.
>
>
>
> WorkingDir: none
>
>
>
> 2005-11-03 17:38:11,349 DEBUG [com.urbancode.anthill.BuildManager]
>
> Environment Variables:
>
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
>
> APPDATA=C:\Documents and Settings\eus110507\Application Data
>
> CLIENTNAME=NSPNSP48304
>
> ClusterLog=C:\WINDOWS\Cluster\cluster.log
>
> CommonProgramFiles=C:\Program Files\Common Files
>
> COMPUTERNAME=IRWOCDEV902
>
> ComSpec=C:\WINDOWS\system32\cmd.exe
>
> CVSNT_HOME=C:\Program Files\CVSNT\
>
> CYGWIN_HOME=C:\cygwin
>
> FP_NO_HOST_CHECK=NO
>
> JAVA_HOME=C:\Java\jdk1.5.0_04
>
> LOGONSERVER=\\IRWEDDC001
>
> NUMBER_OF_PROCESSORS=4
>
> OS=Windows_NT
>
> Path=C:\Java\jdk1.5.0_04\bin;C:\Java\apache-ant-1.6.5\bin;C:\Program
> Files\CVSNT\;D:\oracle\product\10.1.0\db_1\bin;D:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;D:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Intel\DMIX;
>
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>
> PERL5LIB=D:\oracle\product\10.1.0\db_1\perl\lib\5.6.1\MSWin32-x86;D:\oracle\product\10.1.0\db_1\perl\lib\5.6.1;D:\oracle\product\10.1.0\db_1\perl\5.6.1\lib\MSWin32-x86;D:\oracle\product\10.1.0\db_1\perl\site\5.6.1;D:\oracle\product\10.1.0\db_1\perl\site\5.6.1\lib;D:\oracle\product\10.1.0\db_1\sysman\admin\scripts
>
> PROCESSOR_ARCHITECTURE=x86
>
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 5, GenuineIntel
>
> PROCESSOR_LEVEL=15
>
> PROCESSOR_REVISION=0205
>
> ProgramFiles=C:\Program Files
>
> PROMPT=$P$G
>
> SESSIONNAME=RDP-Tcp#3
>
> SystemDrive=C:
>
> SystemRoot=C:\WINDOWS
>
> TEMP=C:\WINDOWS\TEMP
>
> TMP=C:\WINDOWS\TEMP
>
> USERDNSDOMAIN=ECOMDEV.GATEWAY.COM
>
> USERDOMAIN=ECOMDEV
>
> USERNAME=eus110507
>
> USERPROFILE=C:\Documents and Settings\eus110507
>
> windir=C:\WINDOWS
>
> WRAPPER_FILE_SEPARATOR=\
>
> WRAPPER_PATH_SEPARATOR=;
>
> ANT_HOME=c:\Java\anthill.1.8\lib\ant1.6.5
>
> 2005-11-03 17:38:11,646 INFO [STDOUT] Buildfile:
> c:\Java\anthill.1.8\work\OC\oc25app\build.xml
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.Anthill]
> Anthill.refreshScheduleMap scheduleFileName: default
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.Anthill]
> Anthill.refreshScheduleMap scheduleFileName: stoppedSchedule
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.AnthillSchedule]
> getNextBuildTime() name: default nextBuildCalMillis: 1131051600254
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.AnthillSchedule]
> getNextBuildTime() name: default millis since start: 9513000
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.AnthillSchedule]
> getNextBuildTime() name: default intervals since start: 3.0
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.AnthillSchedule]
> getNextBuildTime() name: default nextBuildTime: 1131062400254, Nov 3,
> 2005 6:00:00 PM
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.AnthillSchedule]
> getNextBuildTime() name: default currentTime: 1131061113254, Nov 3, 2005
> 5:38:33 PM
>
> 2005-11-03 17:38:33,254 DEBUG [com.urbancode.anthill.BuildDaemon]
> getProjectBeingBuilt() : com.urbancode.anthill.BuildDefinition at 102abdb
>
> 2005-11-03 17:38:39,723 INFO [com.urbancode.anthill.BuildManager] Step
> 6) Tag project (if set to success):
>
> 2005-11-03 17:38:39,723 INFO [com.urbancode.anthill.BuildManager] Step
> 7) Publish Project:
>
> 2005-11-03 17:38:39,723 DEBUG [com.urbancode.anthill.ProjectProperties]
> publishScriptPath =
>
> 2005-11-03 17:38:39,738 INFO
> [com.urbancode.anthill.adapter.CVSRepositoryAdapter] Get revisions since
> command: cmd /x/c
>
> cd /d c:\Java\anthill.1.8\work &&
>
> cvs -d :pserver:aschaefer at cvs.gateway.com:/local/cvs log -d">2005-11-02
> 22:00:00 GMT" -rHEAD -N OC
>
>
>
> 2005-11-03 17:38:45,613 DEBUG
> [com.urbancode.anthill.adapter.CVSRepositoryAdapter] ?
> OC/dist/persiststore.jar
>
>
>
> Any idea?
>
>
>
> Thanx - Andy
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
More information about the Anthill
mailing list