
| Key: |
CC-145
|
| Type: |
New Feature
|
| Status: |
Closed
|
| Resolution: |
Duplicate
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Anonymous
|
| Votes: |
1
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
patch.txt (31 kb)
|
|
Issue Links:
|
Relationship
|
|
|
|
This issue Relates to:
|
|
CC-266
[PATCH] include element
|
|
|
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
|
CC-145.