You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/23 10:41:10 UTC

[jira] Closed: (MPCRUISECONTROL-7) Add support for

Message:

   The following issue has been closed.

   Resolver: David Eric Pugh
       Date: Fri, 23 Jul 2004 4:39 AM

I went ahead and implemented this for you.  Can you verify the fix?  I'll then move to cutting 1.5.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCRUISECONTROL-7

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCRUISECONTROL-7
    Summary: Add support for <buildstatus>
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-cruisecontrol-plugin
   Fix Fors:
             1.5
   Versions:
             1.4

   Assignee: 
   Reporter: Paul Spencer

    Created: Tue, 6 Jul 2004 10:23 AM
    Updated: Fri, 23 Jul 2004 4:39 AM
Environment: maven 1.0-rc4, maven-cruisecontrol-plugin-1.3, CruiseControl 2.1.6

Description:
CruiseControl will build a project if another project successfully builds.  This is controlled by the <buildstatus> tag in cruisecontrol.xml.  This functionality allows a project to be build when one of it's depend jars is built, even though the project has not changed.

Suggested implementation:
1) Add the property "maven.cruisecontrol.triggerProjects".  This property contains a list of cruisecontrol projects that will trigger the current project to build.  

2) In cruisecontrol.jsl, generate a <buildstatus> tag for each item in the property list.  

   <buildstatus logdir="${maven.cruisecontrol.logs.dir}/${item}">

Example:
  maven.cruisecontrol.triggerProjects=proj_a, proj_b

  output file cruisecontrol.xml:
  <cruisecontrol>
  ...
    <project name="proj_c">
    ...
      <modificationset>
        <buildstatus logdir="c:\cc\cc-logs\proj_a">
        <buildstatus logdir="c:\cc\cc-logs\proj_b">
        ..
      </modificationset>
      ..
      <log dir="c:\cc\cc-logs\proj_c">
      ..
    </project>
  <cruisecontrol>






---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org