ok I got your point I was first thinking of the pre-preocessor, but that is only ran once to interprete the config. This needs an update to the code : some sort of search and replace with pre-defined functions.
Open a jira issue for it please. with kind regards Ruben Willems On Fri, Jul 30, 2010 at 1:38 PM, OBones <[email protected]> wrote: > Hi, > > I would need this in the following scenario: > > The project has a parameter to specify the name of the tag to create > in SVN should the build succeed. > That name can be chosen by the user asking for the build, but it must > have a default value. That default value, in our current semi > automated setup, follows the format that I talked about earlier. > Hence my request to see if I could have said default value in the > parameter so that most users won't have to change it when asking for > the build. > > Regards > Olivier > > On 30 juil, 13:15, Ruben Willems <[email protected]> wrote: > > Hi > > > > why would you need this in ccnet.config? > > --> I mean, that's where build scripts are for : nant, msbuild, .... > > > > can't you delegate this logic to such a script? > > > > with kind regards > > Ruben Willems > > > > On Fri, Jul 30, 2010 at 9:59 AM, OBones <[email protected]> wrote: > > > Hello, > > > > > Would it be possible to have a text parameter whose default value > > > would be something like this: > > > > > $(SomePreprocessorConstant)_YYYYMMDD > > > > > where YYYYMMDD is the format of the date of the day. So for instance, > > > if SomePreprocessorConstant value is "Test", then today's default > > > value would be: > > > > > Test_20100730 > > > > > If that is possible, how do I do it? > > > > > Regards > > > Olivier >
