[Anthill] Projects not building in default schedule
Jonathan Holloway
jonathan.holloway at gmail.com
Thu Apr 21 11:43:47 CDT 2005
I've solved the problem here, it relates to the getRevisionsSince.sh
script under conf/profiles which has the following:
#!/bin/bash
echo "Executing: cd $1"
cd $1
echo "Executing: cvs -d $2 log $3\"$4 $5 $6\" $7 $8"
cvs -d $2 log $3"$4 $5 $6" $7 $8
If I comment this out I obviously don't get the revisons (hence the
original email). However if this is left as default (like the above)
then when the anthill build finishes for the project the following
exception is thrown:
17:26:29:690 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdap
ter - Get revisions since command:
sh /var/progs/anthill2/conf/profiles/Unix/unix_cvs/getRevisionsSince.sh
/var/progs/anthill2/work
/pcas-core /home/cvs -d >2005-02-23 12:43:24 GMT -rHEAD -N
cvs log: Logging .
cvs log: Logging config
cvs log: Logging dist
cvs log: in directory dist:
cvs [log aborted]: there is no version here; do 'cvs checkout' first
17:26:30:171 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - cvs log f
ailed. Exit code: 1
com.urbancode.anthill.adapter.RepositoryException: cvs log failed. Exit code: 1
at com.urbancode.anthill.adapter.CVSRepositoryAdapter.getRevisionsSince(CVSRepositoryAda
pter.java:232)
at com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:287)
at com.urbancode.anthill.BuildManager.build(BuildManager.java:215)
at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:217)
at com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:195)
at com.urbancode.anthill.AnthillProject.run(AnthillProject.java:187)
at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
I believe this relates to the fact that some files don't have
revisions under the work directory since they are not within cvs, they
are produced as part of the build, this means that when cvs tries to
get a revision for the file it fails.
I'm using version 1.8.0.264 of anthill, we upgraded frmo version 1.5.x
something where we didn't get the problem originally. This is causing
some issues at the mo, would be grateful is somebody could recommend a
fix or workaround.
Many thanks,
Jon Holloway.
On 4/21/05, Eric Minick <eric at urbancode.com> wrote:
> Jon,
>
> I'm hearing the same thing from another user off the list as well. To be
> honest, I'm having a hard time running this down. Did anything change on
> your system since this was working?
>
> Thanks,
>
> Eric
>
> Jonathan Holloway wrote:
>
> >Hi,
> >
> >I've got an issue at the moment where Anthill doesn't recognise that
> >there are changes in the projects that are part of the default build,
> >despite the fact that changes have been committed to some files in
> >that project in CVS.
> >So..
> >
> >1. Change made,
> >2. Change committed
> >3. Anthill default schedule builds
> >4. Anthill does not build project OR send out emails to indicat the
> >build has succeeded or failed.
> >
> >Can anybody tell me how to fix this?
> >
> >
> >Many thanks,
> >Jon.
> >_______________________________________________
> >Anthill mailing list
> >Anthill at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >
> >
> >
>
>
More information about the Anthill
mailing list