[Anthill] Missing build logs
Varban
vvv at urbancode.com
Wed Feb 22 10:49:04 CST 2006
I think the answer is yes.
Anthill will take the project root directory from the repository adapter (in
this case wherever the svn adapter points to as the working directory) and
then execute any scripts in that directory. This way your build scripts
location is relative to the project root (source root might be a more
appropriate term) and thus independent from the environment Anthill is
running in.
Regards,
Varban
On Wednesday 22 February 2006 11:33, Andy Levy wrote:
> Varban,
>
> Answers inline
>
> On 2/22/06, Varban <vvv at urbancode.com> wrote:
> > Hi Andy,
> >
> > first question is was there anything in the build logs before?
>
> When I configure these projects to build in a directory immediately
> below c:\anthill, I get logs.
>
> > Also have you changed any logging settings for the Anthill instance and
> > for the Tomcat instance?
>
> I haven't touched any log settings that I'm aware of.
>
> > Are you sure that when the logs are empty there actually was a build or
> > for some reason the build aborted (error of some sort) and that is why
> > there is no output?
>
> I wasn't 100% sure. But you started me doubting myself, so I looked
> closer at the tomcat logs and saw that I was duplicating directories.
>
> In my "problem" project, my SVN working directory was
> \appname\environment. I changed it to appname\environment. I then
> changed ant.build.script from \environment\build.xml to just build.xml
> - and it built successfully, with logs. I'm guessing, then, that the
> "project root directory" referred to in the note above
> ant.build.script is the working directory specified for the SVN
> adapter. Is that right?
>
> I'll update my other projects accordingly and see how that works.
>
> > Regards,
> > Varban
> >
> > On Wednesday 22 February 2006 08:37, Andy Levy wrote:
> > > I'm managing the build of several instances of the same application
> > > via Anthill (it's a web app, and we run both our testing environments
> > > off the same Tomcat instance). It seems that in my quest to keep my
> > > anthill working directory clean and well-structured, I've lost the
> > > ability to capture the output of my Ant script.
> > >
> > > I want to keep all my build directories in a single subdirectory of
> > > anthill. So my tree looks like this:
> > >
> > > C:\anthill
> > > ---builds
> > > ------dev
> > > ------beta
> > >
> > > I then point repository.subversion.work.dir to builds\dev for one
> > > instance, and at builds\beta for the other. I point
> > > anthill.build.script at dev\build.xml and beta\build.xml,
> > > respectively.
> > >
> > > When I build my projects, the -rev.log files are appropriately
> > > populated with the Subversion log history since the previous build.
> > > However, the -build.log files are empty. 0 bytes. I haven't been
> > > able to try sending email from my desktop Anthill installation due to
> > > configuration of our SMTP host.
> > >
> > > Is this a limitation of Anthill, or have I missed something in the
> > > configuration?
> > > _______________________________________________
> > > 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
>
> --
> Andy
> http://home.rochester.rr.com/alevy/
> ---
> Never tell people how to do things. Tell them what to do and they will
> surprise you with their ingenuity.
> -George S. Patton
More information about the Anthill
mailing list