History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CC-145
Type: New Feature New Feature
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Unassigned
Reporter: Anonymous
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
CruiseControl

Multiple CruiseControl project config files

Created: 25/Jan/05 06:16 AM   Updated: 20/Dec/05 03:10 PM
Component/s: Core Application
Affects Version/s: 2.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File patch.txt (31 kb)

Issue Links:
Relationship
 
This issue Relates to:
CC-266 [PATCH] include element Major Open


 Description  « Hide
This patch add a new element under Configuration: projectfiles.

<projectfiles> has basedir as an attribute if you want to use
<include> and <exclude> like in ant. You can also specify individual
files by adding <project file="put file name here">.

What you can achieve now is the same what can be achieved using
external entities, but I think this is just more clear.

Here's what a config file could look like:

<?xml version="1.0" ?>

<cruisecontrol>
   <system>
       <configuration>
            <projectfiles basedir=".">
                 <include name="**/cruisecontrol.xml" />
                 <exclude name="junk/cruisecontrol.xml" />
            </projectfiles>
       </configuration>
  </system>
  <...>
</cruisecontrol>

This snippet would include projects defined in cruisecontrol.xml files
in all subdirectories of the current directory. The files in the
subdirectories have the same format as the current config file, but
the <configuration> elements are not read.

Keep in mind that you still can define your projects in a single xml
file like it is done today.

 All   Comments   Work Log   Change History      Sort Order:
Jeffrey Fredrick [21/Aug/05 12:32 PM]
I agree, the idea of having the config file in multiple pieces is related to CC-145.

Paul Julius [20/Dec/05 03:10 PM]
This issue is going to be tackled by CC-266.