Re: Help build output getting cross talk

Ian Danforth <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi there!
 Thanks for the response. Turns out I'm running into this bug:

http://jira.public.thoughtworks.org/browse/CC-739

<http://jira.public.thoughtworks.org/browse/CC-739>CC doesn't handle
multiple ant builds running simultaneously very well. If you've run into
this and have a workaround I'd love to hear it!

Ian

P.S. I did get a couple ideas from your example though!

On Tue, Sep 1, 2009 at 5:21 AM, John Burrows <[email protected]> wrote:

> Ian,
>
> What is your log plugin set to in your config.xml?
>
> Example from mine:
> <cruisecontrol>
>        <!-- Commonly used directories -->
>        <property name="CC_ANTHOME" value="${env.ANT_HOME}"/>
>        <property name="CC_HOME" value="${env.CC_HOME}"/>
>        <property name="CC_SCMHOME" value="${env._COMMON}/Bat"/>
>        <property name="CC_SVNHOME" value="${env.SVN_HOME}"/>
>        <property name="CC_WORKDIR" value="${env.STARTDIR}"/>
>        <property name="CC_ARTIFACTSDIR"
> value="${CC_WORKDIR}\Artifacts\${project.name}"/>
>        <property name="CC_CHECKOUTDIR"
> value="${CC_WORKDIR}\Checkout\${project.name}"/>
>        <property name="CC_LOGSDIR"
> value="${CC_WORKDIR}\Logs\${project.name}"/>
>
>        <!-- Defaults for email -->
>        <property name="CC_BUILDMASTER.email"
> value="${env.COMPUTERNAME}@s1.com <env.COMPUTERNAME%[email protected]>"/>
>        <property name="CC_BUILDMASTER.name"  value="${env.COMPUTERNAME}
> CruiseControl"/>
>        <property name="CC_BUILDMASTER.return.email"
> value="[email protected]"/>
>        <property name="CC_BUILDMASTER.mailhost"  value="x.x.x.com"/>
>
>        <!-- Preconfigure our plugins -->
>        <plugin name="log"
>                dir="${CC_LOGSDIR}">
>        </plugin>
>        ...
>
> Using the ${project.name} variable in the definition of ${CC_LOGSDIR},
> my logs location for each project is different since in my project
> configuration I have:
>
> <project>
>        ...
>                <log dir="${CC_LOGSDIR}">
>                        <merge
> dir="${CC_CHECKOUTDIR}/${CC_SUBPROJECT}/junit-reports"
> pattern="TEST-*.xml"/>
>                </log>
>        ...
> </project>
>
> Make sure your logs location is unique for each project.
>
> Hope this helps.
>
> John Burrows
> SCM/Release Engineering
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> Sent: Tuesday, September 01, 2009 8:05 AM
> To: [email protected]
> Subject: Cruisecontrol-user Digest, Vol 41, Issue 1
>
> Send Cruisecontrol-user mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cruisecontrol-user digest..."
>
>
> Today's Topics:
>
>   1. Help build output getting cross talk (Ian Danforth)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Aug 2009 18:19:07 -0700
> From: Ian Danforth <[email protected]>
> Subject: [Cruisecontrol-user] Help build output getting cross talk
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> ?This is my first post to the list so excuse any faux-pas. I've got
> two projects running under CC with <threads='2'>. When they are
> running at the same time the "build output" tab is showing results
> from the wrong project. As an example
>
> -----------------------
> Build Output
>
> Buildfile: projects/pbwiki/build.xml
> ccAntProgress -- checkout
>     [exec] At revision 11514.
> ccAntProgress -- FunctionalTestsFF
>
> ------------------------
>
> This snippet which appears at the top of the Build Output page is
> displaying the wrong build.xml path. I've double checked by config.xml
> and everything looks right.
>
> It appears as if both projects are writing to the same file, with each
> new project overwriting that file when it starts.
>
> If anyone has suggestions for further investigation or if you've
> encountered this issue yourself I'd love to know.
>
> Thanks in advance,
>
> Ian
>
>
>
> ------------------------------
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>
> ------------------------------
>
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
> End of Cruisecontrol-user Digest, Vol 41, Issue 1
> *************************************************
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
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.