In ant scripts and MS build files you can set properties at the top how do I do this in the CruiseControl file ccnet.config?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this with cb:define. For example:
<cb:define myProjectName=”Foo”/>
Then to use the defined property:
<project name=”$(myProjectName)” queue=”Bar”>
</project>
More information about cb:define can be found here:
http://confluence.public.thoughtworks.org/display/CCNET/Configuration+Preprocessor