[Anthill] Unable to build versioned build
Mike Forsberg
mike.forsberg at realvue.com
Mon Sep 27 13:48:01 CDT 2004
Thank you very much,
I was hoping that a versioned build, would build a special version of
the project. Thus the following would occur.
- Pull the latest from the head of a tree or branch.
- Perform the build.
- Not increment the version file's build number.
- Tag the checked out source as the version number built.
Thus, I would be able to make last night's build an alpha build for
QA. Is this possible without messing up the version file's build number?
Thanks,
Mike
Robert E Dobbins wrote:
> Versioned Builds are used to build code that is already tagged in the
> repository. Versioned Builds do not tag anything in the repository.
>
> "11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter -
> RepositoryException in checkout. message: ProfileAdapter checkout
> failed: cvs [checkout aborted]: no such tag ABBOT_UTILITIES_0_6_0_ALPHA_2"
>
> Thanks,
>
> Robert E. Dobbins
> IBM Global Services
> Systems Management Integration Professional
> Web Hosting
> redobbin at us.ibm.com
>
>
>
> Mike Forsberg <mike.forsberg at realvue.com>
>
>
> *Mike Forsberg <mike.forsberg at realvue.com>*
> Sent by: anthill-bounces at caladin.urbancode.com
>
> 09/27/2004 01:06 PM
> Please respond to
> Anthill user list
>
>
>
> To
>
> Anthill user list <anthill at caladin.urbancode.com>
>
> cc
>
>
> Subject
>
> Re: [Anthill] Unable to build versioned build
>
>
>
>
> Sorry,
>
> I figured out that I can grab the log file from the tomcat directory.
> It is attached.
>
>
>
> Mike Forsberg wrote:
>
> > The normal build does work fine. Yes, currently I'm having to build
> > alpha drops by manually incrementing the "Build as Version" field back
> > and forth.
> >
> > There is more logging to work with however, I have to type it by hand as
> > I can't figure out how to copy it out of the windows tomcat console
> > monitor.
> >
> > Thanks for the quick reply,
> >
> > Mike
> >
> > Eric Minick wrote:
> >
> >> Mike,
> >>
> >> I take it that the normal build works fine? That exception is just
> >> saying that the call to Ant failed. Is there any more logging to work
> >> with?
> >>
> >> Regards,
> >>
> >> Eric
> >>
> >> Mike Forsberg wrote:
> >>
> >>> When I have a project with a build and publish xml, I'm unable to
> >>> build a versioned build.
> >>>
> >>> The exception states that the error is:
> >>> java.lang.Exception:Failed to build project. Error 1
> >>> at
> >>> com.urbancode.anthill.BuildManager.buildProject(BuildManager.java:497)
> >>> ...
> >>>
> >>> Is anyone aware of this, or is there a fix?
> >>>
> >>> Mike Forsberg
> >>> _______________________________________________
> >>> Anthill mailing list
> >>> Anthill at lists.urbancode.com
> >>> http://lists.urbancode.com/mailman/listinfo/anthill
> >>>
> >>>
> >> _______________________________________________
> >> Anthill mailing list
> >> Anthill at lists.urbancode.com
> >> http://lists.urbancode.com/mailman/listinfo/anthill
> >>
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill
> >
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root:
> :pserver:BuildUser at cvs.realvue.com:/data/cvs
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:
> abbotUtilities
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: null
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:
> C:\Java\anthill\anthill-1.7.0.162\work
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project
> directory: C:\Java\anthill\anthill-1.7.0.162\work\abbotUtilities
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Project: AbbotUtilities is being
> released.
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Initializing repository adapter...
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root:
> :pserver:BuildUser at cvs.realvue.com:/data/cvs
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:
> abbotUtilities
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: null
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:
> C:\Java\anthill\anthill-1.7.0.162\work
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project
> directory: C:\Java\anthill\anthill-1.7.0.162\work\abbotUtilities
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - step 0) Clean up working directory
>
> 11:59:17:499 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Cleaning up
> local files:
>
> 11:59:17:609 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - step 1) Retrieve working copy of
> code from repository
>
> 11:59:17:609 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.ProfileRepositoryAdapter - Retrieving
> project version ABBOT_UTILITIES_0_6_0_ALPHA_2
>
> Pagelets v3.1.5 loaded.
> Copyright 2000-2002 Urbancode. All rights reserved.
>
> 11:59:17:640 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.util.Execute - [checkout] cmd /x/c cd /d
> C:\Java\anthill\anthill-1.7.0.162\work && cvs -d
> :pserver:BuildUser at cvs.realvue.com:/data/cvs checkout -A -r
> ABBOT_UTILITIES_0_6_0_ALPHA_2 abbotUtilities
>
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter -
> RepositoryException in checkout. message: ProfileAdapter checkout
> failed: cvs [checkout aborted]: no such tag ABBOT_UTILITIES_0_6_0_ALPHA_2
>
>
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - step 2) is project up to date?
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Set version:
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Bypassing update of the version
> file becuase this is a versioned build.
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - New version:
> ABBOT_UTILITIES_0_6_0_ALPHA_2
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Step 4) Tag project (if set to all):
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Step 5) Build Project:
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Build Project:
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - repository root:
> :pserver:BuildUser at cvs.realvue.com:/data/cvs
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Module:
> abbotUtilities
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Branch: null
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Work directory:
> C:\Java\anthill\anthill-1.7.0.162\work
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.adapter.CVSRepositoryAdapter - Local project
> directory: C:\Java\anthill\anthill-1.7.0.162\work\abbotUtilities
>
> 11:59:18:077 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Build Command:
> C:\Java\j2sdk1.4.1_07\bin\java -classpath
> C:\Java\j2sdk1.4.1_07\lib\tools.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-antlr.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-apache-bsf.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-apache-resolver.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-commons-logging.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-commons-net.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-icontract.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jai.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-bcel.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-log4j.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-oro.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-regexp.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-javamail.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jdepend.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jmf.jar;C:\Java\anthill\anthill-1.7.0.1
62\lib\ant1.6.1\ant-jsch.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-junit.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-launcher.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-netrexx.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-nodeps.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-starteam.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-stylebook.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-swing.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-trax.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-vaj.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-weblogic.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xalan1.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xalan2.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xslp.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\clover.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant
1.6.1\junit.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\RealVueAntTasks.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\xercesImpl.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\xml-apis.jar;
> org.apache.tools.ant.Main
> -DdeployDir=C:\Java\anthill\anthill-1.7.0.162\publishDir\AbbotUtilities
> -Dversion=ABBOT_UTILITIES_0_6_0_ALPHA_2
> -Dkit=ABBOT_UTILITIES_0_6_0_ALPHA_2 -buildfile
> C:\Java\anthill\anthill-1.7.0.162\work\abbotUtilities\build.xml -logfile
> C:\Java\anthill\anthill-1.7.0.162\publishDir\AbbotUtilities\buildLogs\AbbotUtilities-ABBOT_UTILITIES_0_6_0_ALPHA_2-build.log
> test
>
> 11:59:18:093 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.util.Execute - [ANT Build]
> C:\Java\j2sdk1.4.1_07\bin\java -classpath
> C:\Java\j2sdk1.4.1_07\lib\tools.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-antlr.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-apache-bsf.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-apache-resolver.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-commons-logging.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-commons-net.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-icontract.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jai.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-bcel.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-log4j.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-oro.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jakarta-regexp.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-javamail.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jdepend.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-jmf.jar;C:\Java\anthill\anthill-1.7.0.1
62\lib\ant1.6.1\ant-jsch.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-junit.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-launcher.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-netrexx.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-nodeps.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-starteam.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-stylebook.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-swing.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-trax.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-vaj.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-weblogic.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xalan1.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xalan2.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant-xslp.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\ant.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\clover.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant
1.6.1\junit.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\RealVueAntTasks.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\xercesImpl.jar;C:\Java\anthill\anthill-1.7.0.162\lib\ant1.6.1\xml-apis.jar;
> org.apache.tools.ant.Main
> -DdeployDir=C:\Java\anthill\anthill-1.7.0.162\publishDir\AbbotUtilities
> -Dversion=ABBOT_UTILITIES_0_6_0_ALPHA_2
> -Dkit=ABBOT_UTILITIES_0_6_0_ALPHA_2 -buildfile
> C:\Java\anthill\anthill-1.7.0.162\work\abbotUtilities\build.xml -logfile
> C:\Java\anthill\anthill-1.7.0.162\publishDir\AbbotUtilities\buildLogs\AbbotUtilities-ABBOT_UTILITIES_0_6_0_ALPHA_2-build.log
> test
>
>
> 11:59:18:359 [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:497)
>
> at com.urbancode.anthill.BuildManager.runBuild(BuildManager.java:403)
>
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:187)
>
> at
> com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>
> at com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
>
> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
> 11:59:18:359 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Step 6) Tag project (if set to
> success):
>
> 11:59:18:359 [Thread - AnthillBuildDaemon] INFO
> com.urbancode.anthill.BuildManager - Revision logs not created for
> versioned builds
>
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
More information about the Anthill
mailing list